joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4072b0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x49fbb8]
xor eax, ebp
mov dword [ebp - 4], eax
movsx eax, word [ebp + 8]
push eax
push 0x47c8ac
lea ecx, [ebp - 0x10]
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push str.c:dmtpom.txt
push 0xa
lea edx, [ebp - 0x1c]
push edx
push 0x47c8c0
lea eax, [ebp - 0x10]
push eax
push 0x47c8c8
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push str.xyxy
lea ecx, [ebp - 0x1c]
push ecx
call sub.MSVCR100.dll_strcmp
add esp, 8
test eax, eax
je 0x407321
movsx edx, byte [ebp - 0x1c]
xor eax, eax
cmp edx, 0x31
sete al
mov word [ebp - 0x20], ax
mov ax, word [ebp - 0x20]
jmp 0x40732d
movsx ecx, word [ebp + 8]
xor eax, eax
cmp ecx, 0x6a
setne al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004752c2
mov esp, ebp
pop ebp
ret

Function at 0x4082b0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov eax, dword [0x49fbb8]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov al, byte [0x49ffe6]
mov byte [ebp - 0x10], al
xor ecx, ecx
mov dword [ebp - 0xf], ecx
mov dword [ebp - 0xb], ecx
mov word [ebp - 7], cx
push 0xa
lea edx, [ebp - 0x10]
push edx
push str.NetLogout
push str.SoftwareAtlas_DMTIniLock
push 0x80000002
call dword [sym.imp.atl320.dll_ReadFromReg_C]
add esp, 0x14
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x408318
movsx eax, byte [ebp - 0x10]
cmp eax, 0x4e
je 0x408318
movsx ecx, byte [ebp - 0x10]
cmp ecx, 0x6e
je 0x408318
mov dword [ebp - 0x48], 1
jmp 0x40831f
mov dword [ebp - 0x48], 0
mov edx, dword [ebp - 0x48]
mov dword [ebp - 0x14], edx
cmp dword [ebp - 0x14], 0
jne 0x40832d
jmp 0x4083a1
push str.whk_SingleInstanceFileName
push 4
push 0
push 4
push 0
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x40835e
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x40835e
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x18], eax
mov ecx, 8
mov esi, str.atlhlnt32_SingleInstanceFileName
lea edi, [ebp - 0x40]
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
lea ecx, [ebp - 0x40]
push ecx
push 0
push 4
call dword [sym.imp.KERNEL32.dll_OpenFileMappingA]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x408391
mov edx, dword [ebp - 0x1c]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x4083a1
push 0
push str.atlhlnt32.exe___hlidej_
call dword [sym.imp.KERNEL32.dll_WinExec]
mov dword [ebp - 0x44], eax
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004752c2
mov esp, ebp
pop ebp
ret

Function at 0x40e493
Capabilities:
Authenticate hmac
Encode data using base64
Encrypt data using speck
Resolve function by parsing pe exports

Disassembly:
mov bh, bh
push ebp
push esi
pop esi
mov ebp, esp
mov eax, dword [ebp + 0xc]
cmp si, si
test ax, ax
jb 0x449f82
shr dl, 0x40
shr cx, 0x40
jbe 0x413168
ja 0x40e4bb
push edi
xor ah, bh
mov ecx, dword [ebp + 8]
and ebp, ebp
and eax, 0xffff
jb 0x449f89
mov edx, eax
int3
xor al, 0xb
Function at 0x41796e
Capabilities:
Authenticate hmac
Encode data using base64
Encrypt data using speck
Resolve function by parsing pe exports

Disassembly:
mov dword [eax], 0x54
mov bp, bp
mov eax, dword [ebp - 0xc]
jmp 0x41f9ca
lea esp, [esp + 4]
mov byte [esi + 0xba], bl
shr cl, 0x40
mov byte [esi + 0xbb], dl
xchg ebp, edx
shr ebx, 0x40
xchg edx, ebp
mov word [esi + 0xbc], di
mov cx, cx
call fcn.004326af
mov cl, byte [ebp + 0xc]
mov di, di
shl ch, 0x20
xchg bl, ch
mov bx, bx
xchg ch, bl
mov dx, word [ebp + 0x10]
jne 0x438bf5
je 0x4179b6
mov cl, 0xe8
jg 0x4179c6
je 0x438bf5
test byte [ecx], bh
adc al, byte [edx]
add byte [esp + esi*8], dh
xor al, 0xf4
pushal
rol byte [ebx], 0
inc eax
add byte [eax], al
sub byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [ecx], ah
cmp byte [eax + eax], 0
add byte [ecx], al
popal
add byte [eax + 0x2c], al
add byte [ecx], ah
add byte [eax], al
push cs
add byte [eax], al
add byte [esi + 0x6a0042fb], al
test byte [edx], 0x3c
add byte [eax], al
add dl, ah
enter 0x41, 0xffffffffffffffc6
cmp byte [eax + eax - 0x28], al
pop edi
mov eax, dword [ebp - 0x1c]
jmp 0x417a00
push eax
mov dword [ebp + esi - 0x198], eax
call fcn.00424179
mov eax, dword [ebp - 0x1c]
lea ecx, [ebp - 0x38]
push 0x1c
push 0
js 0x40f8cf
jns 0x417a24
nop
cpuid
ret
jns 0x40f8cf
sbb byte [ecx + 0x66], 0x89
xchg esi, eax
mov esp, 0xf000000
test dword [edx - 0x70], edi
add eax, dword [eax]
mov dword [ebp + esi - 0x28c], 4
mov dword [ebp + esi - 0x288], ecx
push eax
mov dword [ebp + esi - 0x278], eax
push 0x41af1f
ret
push eax
mov eax, eax
jne 0x449a18

Function at 0x419070
Capabilities:
Encode data using base64
Resolve function by parsing pe exports

Disassembly:
push ebp
or dword [ebx + 0x26ff0476], 0x850f9856
xchg ebx, eax
or al, byte [ebx]
add byte [ebx + eax - 0x72], dh
cmpsd dword [esi], dword es:[edi]
mov cl, byte [edi]
test byte [eax - 0x7dfffcf6], cl
cli
add esi, 0
jno 0x4177c1
xchg ebp, esi
pop esp
xchg ebx, eax
pop ds
dec eax
jno 0x44ce02
fiadd dword [ecx]
lea esp, [esp + 4]
add dx, 0
cmp al, 2
jne 0x4177b6
xchg ebp, edx
shr ecx, 0x40
xchg edx, ebp
je 0x419035
ret 0xdf65
shl bh, 0x20
mov ebp, ebp
mov ax, dx
clc
add edx, 0
add ecx, 0x47
shr ax, 0xe
shr ah, 0x40
xchg edx, ebx
xchg ebx, edx
shl edx, 2
or eax, edx
jb 0x440413
stc
jb 0x419068
popal
int3
jb 0x441f56
sub byte [edx - 0x73], 0x64
and al, 4
mov dword [ebp - 4], eax
jge 0x443006
shl dx, 0x20
jl 0x419089
cmp esp, dword [eax + ecx*4 - 0x16e91b72]
inc ebp
jg 0x41908e
jmp fcn.00430fd3
add byte [esi], ch
aaa
aaa
call fcn.00442fe7
invalid
ret
push ds
call 0x10318d7f
lea ecx, [0x7c000000]
add al, 0xa0
add byte [ecx + 0x68], dl
lea esi, [esi + 8]
jmp dword [esi]
push 0x42ccac
ret
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
js 0x43c243
mov ah, ah
jns 0x44301a
cpuid
ret
jns 0x43c243
invalid
test al, al
jb 0x413196
jne 0x4412d8
je 0x44ce14
jae 0x44ce22
add edi, 0
and ecx, 0xffff
jb 0x41319e
js 0x44ce87
cld
jmp dword [esi - 0x77]
mov si, si
xchg edi, ebp
xchg ebp, edi
mov eax, ecx
push 0x4412cf
ret
pop esi
or byte [esi - 0x77], ah
leave
mov al, byte [ebp + eax]
mov di, di
mov ebx, dword [ebp + ebx]
lea esi, [esi + 0xc]
adc byte [ebx], al
jmp dword [esi]
Function at 0x41a8f7
Capabilities:
Authenticate hmac
Encode data using base64
Encrypt data using speck
Resolve function by parsing pe exports

Disassembly:
lea esp, [esp + 4]
cmp ecx, eax
mov byte [ebp - 8], 0
mov dword [ebp + 0xc], eax
ja 0x43fdc1
jbe 0x41a912
imul ebx, dword [ebp + 0x31a118c7], 0x54a9860f
add al, byte [eax]
jbe 0x43fdc1
xor eax, 0x83d32
add byte [eax], al
shl ah, 0x20
mov esp, ebp
call 0x417ac4
invalid
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
je 0x418626
jne 0x43fdd4
in eax, dx
push 0xffffffffffffffbe
sub dword [edi], esp
lea ecx, [ebp - 4]
shr ax, 0x40
jmp 0x43fddc
push ecx
jno 0x434149
jo 0x43fdec
pushfd
out 0xbe, eax
xor dword [ebx], 0xffffffb5
jo 0x434149
fidiv dword [ebx + 0x6c087f81]
push 0x840f6873
sar dword [ebp + edi*8 - 1], 1
jne 0x43fe07
or al, 0xf6
popfd
in al, dx
mov dword [edi + 0x30], 0xfffffff7
mov dh, dh
pop edi
mov cl, cl
pop esi
pop ebx
ja 0x434e36
jbe 0x43fe20
pop eax
fnstenv [ebp + 0xf]
xchg byte [eax], dl
push eax
invalid
jbe 0x434e36
xor al, 0x52
ljmp 0

Function at 0x41c3df
Capabilities:
Authenticate hmac
Encode data using base64
Encrypt data using speck
Resolve function by parsing pe exports

Disassembly:
lea esp, [esp + 4]
push edi
shl bx, 0x20
mov eax, dword [esi]
push eax
call fcn.0043379e
jno 0x43b420
jo 0x41c3fe
nop
cpuid
ret
jo 0x43b420
xor byte [esi - 0x73], 0x76
or dh, dh
sub al, 0x3b
Function at 0x421130
Capabilities:
Resolve function by parsing pe exports

Disassembly:
lea esp, [esp + 4]
mov al, byte [ecx + 0xba]
cmp al, 1
jne 0x42118b

Function at 0x422360
Capabilities:
Resolve function by parsing pe exports

Disassembly:
add esp, 4
cmp eax, ebx
shl bx, 0x20
jne 0x441363
je 0x422379
sti
add al, 0x11
jb 0x4223b3
jmp dword [esi + 9]
invalid

Function at 0x4229ba
Capabilities:
Authenticate hmac
Encode data using base64
Encrypt data using speck
Resolve function by parsing pe exports

Disassembly:
pop dword [esp - 4]
call fcn.0044a044
xchg bh, cl
xchg cl, bh
mov cl, byte [ebp + 0xc]
xchg ch, bl
xchg bl, ch
xchg dh, bl
xchg bl, al
push eax
mov ax, dx
nop
pop eax
xchg di, ax
xchg di, ax
mov cx, cx
xchg al, bl
xchg bl, dh
mov dx, word [ebp + 0x10]
call fcn.0044b4c9

Function at 0x42548c
Capabilities:
Authenticate hmac
Encode data using base64
Encrypt data using speck
Resolve function by parsing pe exports

Disassembly:
invalid
jne 0x443a4a
shr edx, 0x40
je 0x42549a
jle 0x42543c
or byte [edi], cl
test byte [edx - 0x38fffe1b], ch
cmpsd dword [esi], dword es:[edi]
xchg ebx, eax
in al, dx
inc ebx
add byte [0x28000000], cl
add byte [eax], al
add byte [edx - 0xffbc8a], ah
inc dword [eax]
add byte [eax], ch
add byte [eax], al
add al, ah
leave
inc ebx
add byte [ecx], dh
insd dword es:[edi], dx
inc esp
add ah, bh
fld qword [eax + eax + 3]
add byte [eax], al
add byte [eax + eax], ah
add byte [eax], al
fisttp qword [esi + 0x300042]
add byte [eax], al
xor byte [eax], al
add byte [eax], al
fmul st(4), st(0)
inc esp
add dh, ah
push esp
inc edx
add byte [edi], cl
mov byte [0xccdcc3fb], al
inc esp
add byte [ecx - 0x25ffbd11], ah
std
je 0x443a4a
invalid
push ebp
mov ebp, esp
mov edi, edi
push ecx
shr si, 0x40
Function at 0x4290c5
Capabilities:
Authenticate hmac
Resolve function by parsing pe exports

Disassembly:
mov byte [esi + 0xba], bl
mov ah, ah
push 0x428425
ret
mov edx, dword [esi + 4]
pop dword [esp - 4]
mov ecx, dword [esi]
push 0
push ecx
ja 0x437ea8
jbe 0x4290d8
invalid
jbe 0x437ea8
fidivr dword [esi + 0x66]
sbb dword [ebx], eax
jmp dword [esi]
xchg dl, al
xchg al, dl
mov di, word [edi + 8]
jmp fcn.0042da4f
inc eax
mov eax, dword [ebp + 0x38]
jno 0x41fe23
xchg cx, dx
xchg dx, cx
jo 0x437e8f
cmp dword [edi], ecx
or byte [esi - 0x7d000181], 0x1a
push esi
jo 0x41fe23
sbb byte [edx], 0x56
mov bx, bx
push 1
shr cx, 0x40
jmp 0x41ded5
shl si, 0x20
call fcn.004217b0
ja 0x42da18
jbe 0x437ebe
jae 0x437e7b
cmpsb byte [esi], byte es:[edi]
and dh, ah
jbe 0x42da18
add eax, 0x20e4c074
jno 0x4470cd
jo 0x44cc13
daa
ror byte [edi], 0x80
mov ah, 0xa4
invalid
jo 0x4470cd
fdiv st(0)
jmp 0x44cc1c
push esi
jmp 0x44cc1f
push eax
push ebx
call fcn.0046a460
jmp 0x44cc28
push esi
shr al, 0x40
mov edi, eax
call fcn.00434be6
mov ecx, dword [ebp + 0x1c]
jmp 0x44cc38
push ecx
call fcn.00434be6
cmp cx, cx
add esp, 0x18
push edx
pop edx
test edi, edi
jb 0x43a96f
je 0x41a2d9
jne 0x44cc5f
sbb dword [eax - 0x66], ecx
invalid
jne 0x44ef40
je 0x44cc6d
pmaddwd mm1, qword [eax + 0xf9f5c76]
test ch, cl
and al, byte [eax]
add byte [0xfff3157], dh
je 0x44ef40
xor eax, 0xfff3157
add byte [eax - 0x2e], 0xfc
dec dword [edx + 0xbc88]
add byte [edx - 0x7fdbc7ac], cl
jmp 0xed2fb5a1
jmp 0x44ef41

Function at 0x42a604
Capabilities:
Authenticate hmac
Encode data using base64
Encrypt data using speck
Resolve function by parsing pe exports

Disassembly:
test eax, ebp
insd dword es:[edi], dx
add dword [eax], eax
je 0x42a5fc
sub dword [ebp - 0x7bf00aba], esi
fsubr qword [ebp + 1]
add byte [0x24448f25], al
invalid
inc esp
invalid
je 0x4413de
add eax, 0x24448f25
pop dword [esp - 4]
cld
js 0x4433c7
jns 0x42a612
test eax, 0xaf890f49
lea eax, [ecx]
add dl, bl
xchg ebp, eax
jns 0x42a687
jns 0x4433c7
ficom dword [ebp + 0x446b79]
test dword [eax], eax
add byte [eax], al
sub byte [eax], al
add byte [eax], al
loopne 0x42a5f1
inc esp
add byte [ebp + 0x28000000], al
add byte [eax], al
add al, ah
leave
inc ebx
add byte [edx], ah
jge 0x42a66e
add byte [eax - 0x40], ah
inc ebx
add byte [eax], al
inc edx
add byte [eax], al
sub byte [eax], al
add byte [eax], al
add byte [edx], al
add byte [eax], al
add byte [ecx], ah
sub byte [eax + eax], 0
add byte [eax], al
and dword [eax], eax
add byte [edx], dl
add byte [eax], al
push cs
push ebx
inc ecx
add byte [edx - 0xa], ch
inc edx
add byte [eax], bh
add byte [eax], al
add byte [ebp + 0x5b], dl
inc esp
add ch, dh
mov ah, 0x90
cmp al, 0x43
add byte [eax], al
add byte [eax], al
add byte [eax + eax], ch
add byte [eax], al
jmp 0x242eaf5
inc esp
add byte [edx], al
add byte [eax], al
add byte [eax + eax], ah
add byte [eax], al
leave
outsb dx, byte [esi]
inc esp
add cl, bl
inc ecx
add byte [ebx - 0x1d], ch
inc ebx
add byte [esi - 0x70ffbd5a], cl
cmp al, 0xfc
xchg edi, eax
push ebp
add byte [edi + 0x5597fc3c], cl
invalid
push ebp
mov ebp, esp
sub esp, 0xc
Function at 0x43cd2e
Capabilities:
Encode data using xor

Disassembly:
ret
mov ecx, dword [ebp + 0xc]
push esi
push 0
push 6
mov ah, ah
mov esi, esi
push ecx
push 0x42a953
ret
call fcn.00422aa8
mov eax, dword [edi + 0x40]
push 0x426a61
ret
lea esp, [esp + 4]
xchg cl, bl
xchg bl, cl
push esi
jno 0x43881f
jo 0x43cd43
cpuid
nop
ret
jo 0x43881f
fisubr dword [edx]
mov edx, dword [esi]
add edx, 0x74
push ecx
push edx
push eax
call fcn.0045bab0
add esp, 0x14
test ax, ax
jb 0x41eee8
lea edx, [edx]
je 0x42a93d
jne 0x43cd77
cmp al, 0x24
mov eax, dword [ebx]
jmp 0x43cd7a
push eax
call fcn.00434be6
add ecx, 0
add esp, 4
mov ax, 0x20
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
xchg bx, si
xchg si, bx
js 0x42a93a
jns 0x43cdab
cld
xor ecx, dword [ebx - 0x7b]
scasd eax, dword es:[edi]
mov word [edi], cs
mov dword [ecx - 0x38000125], ecx
stosb byte es:[edi], al
jns 0x42a93a
invalid

Function at 0x445a0f
Capabilities:
Get file size

Disassembly:
mov eax, eax
push ebp
shr edi, 0x40
mov ebp, esp
mov ecx, dword [ebp + 8]
lea eax, [ebp + 8]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
xchg ecx, eax
xchg ecx, eax
mov ecx, dword [ebp + 8]
test eax, 0xb30c5415
test ecx, ecx
jb 0x43015d
je 0x445a4d
jne 0x445a42
mov cs, word [esp + ebx + 0xd]
or eax, 0xffffffff
jb 0x430176
pop ebp
ret

Function at 0x44b5b0
Capabilities:
Packed with generic packer

Disassembly:
clc
and eax, 0xffff
jb 0x42dbb9
shl di, 0x20
jne 0x426945
je 0x414df2
push 0x10
push esi
call fcn.0044d6be
add esp, 8
sub eax, 0
jno 0x429164
sub bh, dl
push eax
pop edx
iretd
jno 0x414dd8
xor eax, 0x61800fe2
cmp eax, dword [edx]
add byte [ecx + 3], dh
push str.HLW32Proc
push 0
xchg bh, ch
xchg ch, bh
push str.API_1LNM.DLL
push 0
call dword [0x490558]
shl si, 0x20
push eax
call dword [0x490554]
push ebx
mov dword [ebp + 8], eax
call edi
mov eax, dword [ebp + 8]
test eax, eax
jb 0x429f9a
jne 0x426951
shr bp, 0x40
je 0x43820c
nop
cpuid
ret
ja 0x42914b
jbe 0x438216
mov ebp, 0x2f860ffd
ud0
jbe 0x42914b
fmul dword [esi]
mov dword [esi + 0xbc], edi
pop dword [esp - 4]
push 0x49055c
je 0x44b5df
jne 0x44b5c4
div dword [eax]
xor ebp, dword [eax + 0x66]
add eax, 0xf6890049
push 0x490566
mov esi, esi
push 0
shr edi, 0x40
push 0x490572
mov cx, cx
jmp 0x4381df
ja 0x4381c7
jbe 0x44b5ea
xor bh, byte [edx - 0x51]
jbe 0x4381c7
and eax, 0xc4d8b2b
add ebx, 4
cmp bx, bx
add edi, 4
dec ecx
mov dword [ebp + 0x10], ebx
mov dword [ebp + 0x14], edi
mov dword [ebp + 0xc], ecx
jne 0x43a262
invalid
je 0x44b61c
fldenv [ecx - 0x1d]
dec ebx
je 0x44b612
mov ecx, dword [ebp + 8]
mov dx, word [eax + 0x2c]
mov word [ecx], dx
push 0x42c29b
ret
Function at 0x44b6b7
Capabilities:
Authenticate hmac
Encode data using base64
Encode data using xor
Encrypt data using speck
Resolve function by parsing pe exports

Disassembly:
mov esi, dword [ebp + 8]
mov al, byte [ebx + 6]
lea ecx, [ecx]
push edi
mov ecx, dword [esi + 0x14]
mov edi, dword [ebx]
mov byte [ebp - 4], al
xor eax, eax
jb 0x40fdf8
call fcn.0041a8f7
xor al, 0xb8
lea esp, [esp + 4]
mov ebx, dword [ebp + 0xc]
push esi
jne 0x43a131
je 0x44b6cc
nop
cpuid
ret 0x840f
je 0x43a131
xor ch, 0xf
test dword [edx], esi
xchg ebx, eax
std
dec dword [eax + 0x280474d2]
fisttp qword [ebx + 0x24]

Function at 0x451000
Capabilities:
Allocate thread local storage
Get thread local storage value
Set thread local storage value

Disassembly:
mov eax, dword [0x490bb0]
test eax, eax
je 0x45101e
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [0x4f3f34], eax
mov dword [0x490bb0], 0
mov eax, dword [0x4f3f34]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, eax
test esi, esi
jne 0x45108f
push 8
call fcn.00451e50
mov esi, eax
add esp, 4
test esi, esi
je 0x45108b
push 0x5000
call fcn.00451e50
add esp, 4
test eax, eax
mov dword [esi + 4], eax
push esi
jne 0x451062
call fcn.00451e70
add esp, 4
xor eax, eax
pop esi
ret
mov ecx, dword [0x4f3f34]
push ecx
mov dword [esi], 0x5000
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
jne 0x45108f
mov edx, dword [esi + 4]
push edx
call fcn.00451e70
push esi
call fcn.00451e70
add esp, 8
xor eax, eax
pop esi
ret
mov eax, esi
pop esi
ret
Function at 0x456be0
Capabilities:
Hash data using sha1

Disassembly:
push esi
mov esi, dword [esp + 8]
push 0x5c
push 0
push esi
call fcn.0046b6c0
add esp, 0xc
mov dword [esi], 0x67452301
mov dword [esi + 4], 0xefcdab89
mov dword [esi + 8], 0x98badcfe
mov dword [esi + 0xc], 0x10325476
mov dword [esi + 0x10], 0xc3d2e1f0
mov dword [esi + 0x18], 0
mov dword [esi + 0x14], 0
pop esi
ret

Function at 0x456c70
Capabilities:
Encode data using xor

Disassembly:
push edi
mov edi, eax
mov eax, dword [0x490d60]
and eax, 0xff00
cmp eax, 0x5000
je 0x456cbd
shr edi, 2
xor edx, edx
test edi, edi
jle 0x456cbd
push ebx
mov edi, edi
mov ecx, dword [esi + edx*4]
mov eax, ecx
shl ecx, 0x10
shr eax, 0x10
or eax, ecx
mov ecx, eax
shr ecx, 8
mov ebx, eax
shl ebx, 8
xor ecx, ebx
and ecx, 0xff00ff
shl eax, 8
xor ecx, eax
mov dword [esi + edx*4], ecx
inc edx
cmp edx, edi
jl 0x456c90
pop ebx
pop edi
ret
Function at 0x45a7f0
Capabilities:
Enumerate pe sections

Disassembly:
push ebx
mov ebx, dword [esp + 0xc]
cmp dword [ebx], 0
push ebp
push edi
je 0x45a80c
pop edi
mov dword [esp + 0xc], 0xdd
mov eax, dword [esp + 0xc]
pop ebp
pop ebx
ret
mov eax, dword [esp + 0x10]
movzx edx, byte [eax + 2]
xor ecx, ecx
mov ch, byte [eax]
push esi
mov cl, byte [eax + 1]
shl ecx, 8
or ecx, edx
movzx edx, byte [eax + 3]
shl ecx, 8
or ecx, edx
cmp ecx, 0x54534421
jne 0x45a853
movzx esi, byte [eax + 6]
xor edx, edx
mov dh, byte [eax + 4]
mov ecx, 1
mov dl, byte [eax + 5]
shl edx, 8
or edx, esi
movzx esi, byte [eax + 7]
shl edx, 8
or edx, esi
jmp 0x45a873
mov edx, dword [eax]
xor ecx, ecx
cmp edx, 0x54534421
je 0x45a870
pop esi
pop edi
mov dword [esp + 0xc], 0xd8
mov eax, dword [esp + 0xc]
pop ebp
pop ebx
ret
mov edx, dword [eax + 4]
cmp edx, 2
je 0x45a889
pop esi
pop edi
mov dword [esp + 0xc], 0xdf
mov eax, dword [esp + 0xc]
pop ebp
pop ebx
ret
cmp ecx, 1
jne 0x45a8aa
movzx edx, byte [eax + 0x16]
xor ecx, ecx
mov ch, byte [eax + 0x14]
mov cl, byte [eax + 0x15]
shl ecx, 8
or ecx, edx
movzx edx, byte [eax + 0x17]
shl ecx, 8
or ecx, edx
jmp 0x45a8ad
mov ecx, dword [eax + 0x14]
add ecx, 0x20
push ecx
push eax
call fcn.0046d640
mov esi, eax
add esp, 8
test esi, esi
je 0x45a955
push ebx
push esi
call fcn.0046d1e0
mov edi, eax
push esi
mov dword [esp + 0x20], edi
call fcn.0046d5e0
add esp, 0xc
test edi, edi
jne 0x45a95d
mov eax, dword [ebx]
mov ecx, dword [eax + 8]
xor ebp, ebp
test ecx, ecx
jbe 0x45a95d
xor ebx, ebx
jmp 0x45a8f0
mov esi, dword [eax + 0x14]
mov ecx, dword [esi + ebx]
mov edx, dword [eax + 0x18]
add esi, ebx
lea eax, [edx + ecx*8]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
push ecx
push edx
call fcn.0046d580
mov edi, eax
add esp, 8
test edi, edi
je 0x45a946
push edi
call fcn.0045a560
push edi
mov dword [esi + 0xc], eax
call fcn.0046d450
mov eax, dword [esi + 0xc]
add esp, 8
test eax, eax
mov eax, dword [esp + 0x18]
je 0x45a966
mov eax, dword [eax]
mov ecx, dword [eax + 8]
inc ebp
add ebx, 0x10
cmp ebp, ecx
jb 0x45a8f0
mov eax, dword [esp + 0x14]
pop esi
pop edi
pop ebp
pop ebx
ret
mov ecx, dword [esp + 0x18]
mov edx, dword [ecx]
push edx
call fcn.0046c970
add esp, 4
mov dword [esp + 0x14], 0xc
mov eax, dword [esp + 0x14]
pop esi
pop edi
pop ebp
pop ebx
ret
mov ecx, dword [eax]
push ecx
call fcn.0046c970
add esp, 4
pop esi
pop edi
mov dword [esp + 0xc], 0x7d0
mov eax, dword [esp + 0xc]
pop ebp
pop ebx
ret
Function at 0x45b580
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov eax, dword [esp + 8]
push ebp
xor ebp, ebp
test eax, eax
jle 0x45b60f
mov eax, dword [esp + 0x10]
push ebx
push esi
push edi
xor ecx, ecx
xor esi, esi
xor edi, edi
lea esp, [esp]
inc ecx
and ecx, 0x800000ff
jns 0x45b5b1
dec ecx
or ecx, 0xffffff00
inc ecx
movzx ecx, cl
movzx edx, byte [ecx + eax]
add edx, esi
and edx, 0x800000ff
jns 0x45b5ca
dec edx
or edx, 0xffffff00
inc edx
movzx esi, dl
mov bl, byte [esi + eax]
mov dl, byte [ecx + eax]
mov byte [ecx + eax], bl
mov byte [esi + eax], dl
movzx edx, byte [ecx + eax]
movzx ebx, byte [esi + eax]
add edx, ebx
and edx, 0x800000ff
jns 0x45b5f3
dec edx
or edx, 0xffffff00
inc edx
movzx edx, dl
mov bl, byte [edx + eax]
mov edx, dword [esp + 0x14]
xor byte [edi + edx], bl
mov edx, dword [esp + 0x18]
inc ebp
movsx edi, bp
cmp edi, edx
jl 0x45b5a0
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x45b620
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x1c]
xor eax, eax
mov ecx, edi
lea esp, [esp]
mov byte [ecx], al
inc eax
inc ecx
cmp ax, 0x100
jl 0x45b630
xor dl, dl
xor ecx, ecx
mov esi, edi
mov ebp, 0x100
mov eax, dword [esp + 0x14]
movzx ebx, byte [esi]
movzx edx, dl
movzx eax, byte [edx + eax]
sub eax, ebx
add eax, ecx
and eax, 0x800000ff
jns 0x45b665
dec eax
or eax, 0xffffff00
inc eax
movzx ecx, al
mov al, byte [esi]
mov bl, byte [ecx + edi]
mov byte [esi], bl
mov byte [ecx + edi], al
lea eax, [edx + 1]
cdq
idiv dword [esp + 0x18]
inc esi
dec ebp
jne 0x45b645
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x45bf80
Capabilities:
Encode data using xor

Disassembly:
push edi
mov edi, dword [esp + 0xc]
xor eax, eax
test edi, edi
jbe 0x45bfd8
push ebx
push esi
mov esi, dword [esp + 0x10]
movzx edx, byte [esi]
mov ecx, eax
and ecx, 0xf
movzx ecx, word [ecx*4 + 0x490db0]
shr ax, 4
mov ebx, edx
and ebx, 0xf
xor cx, word [ebx*4 + 0x490db0]
shr edx, 4
xor ecx, eax
mov eax, ecx
and eax, 0xf
movzx eax, word [eax*4 + 0x490db0]
xor ax, word [edx*4 + 0x490db0]
shr cx, 4
xor eax, ecx
inc esi
dec edi
jne 0x45bf91
pop esi
pop ebx
pop edi
ret

Function at 0x45e700
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
or eax, 0xffffffff
xor ecx, ecx
test esi, esi
jbe 0x45e72f
push ebx
lea ebx, [ebx]
xor edx, edx
mov dl, byte [ecx + edi]
xor edx, eax
and edx, 0xff
mov ebx, dword [edx*4 + 0x492dd0]
shr eax, 8
xor eax, ebx
inc ecx
cmp ecx, esi
jb 0x45e710
pop ebx
not eax
ret

Function at 0x45ed30
Capabilities:
Encode data using xor

Disassembly:
push ebx
xor eax, eax
push esi
xor ebx, ebx
mov esi, dword [esp + 0xc]
mov ecx, 4
mov al, byte [esi + 2]
mov bl, byte [eax + str._.C]
mov eax, dword [esp + 0x10]
cmp eax, ecx
jle 0x45ed68
mov edx, ebx
inc ecx
and edx, 0xff
inc ebx
mov dl, byte [edx + str._.C]
xor byte [esi + ecx - 1], dl
cmp ecx, eax
jl 0x45ed50
pop esi
pop ebx
ret

Function at 0x45f030
Capabilities:
Encode data using xor

Disassembly:
mov ax, word [esp + 8]
push ebx
and ax, 0x8000
push esi
mov dx, word [esp + 0x10]
mov ecx, dword [esp + 0xc]
cmp ax, 1
sbb eax, eax
add dx, dx
inc eax
or ax, dx
mov word [esp + 0x10], ax
xor byte [esp + 0x11], al
mov ax, word [esp + 0x10]
and ax, 1
mov dx, word [esp + 0x10]
cmp ax, 1
mov eax, 0
adc eax, 0xffffffff
and ax, 0x8000
shr dx, 1
or ax, dx
mov word [esp + 0x10], ax
and ax, 1
mov dx, word [esp + 0x10]
cmp ax, 1
mov eax, 0
adc eax, 0xffffffff
mov esi, 0x55
and ax, 0x8000
shr dx, 1
or ax, dx
mov word [esp + 0x10], ax
mov eax, 0x58
mov dl, byte [esp + 0x10]
mov bl, byte [esp + 0x10]
and dl, 0x80
add bl, bl
shr dl, 7
add ecx, 2
or dl, bl
mov byte [esp + 0x10], dl
mov dl, byte [esp + 0x11]
and dl, 1
mov bl, byte [esp + 0x11]
shl dl, 7
shr bl, 1
or dl, bl
mov byte [esp + 0x11], dl
mov bl, byte [esp + 0x10]
xor byte [esp + 0x11], bl
mov dx, word [esp + 0x10]
not dx
mov word [esp + 0x10], dx
xor word [ecx - 2], dx
add word [esp + 0x10], si
dec eax
jne 0x45f0b3
pop esi
pop ebx
ret