joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4670b0
Capabilities:
Parse credit card information

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
mov edi, dword [ebp + 8]
xor ebx, ebx
mov dl, byte [edi]
test dl, dl
je 0x467135
push esi
mov esi, dword [ebp + 0xc]
mov al, dl
cmp al, 0x20
je 0x4670f9
cmp al, 0x5c
je 0x4670f9
cmp al, 0x2a
je 0x4670f9
cmp al, 0x3f
je 0x4670f9
cmp al, 0x25
je 0x4670f9
lea ecx, [eax - 0x20]
cmp cl, 0x5e
ja 0x4670f9
cmp al, 0x2e
jne 0x4670ea
test ebx, ebx
je 0x4670f9
cmp al, 0x2e
movzx edx, dl
movzx ecx, al
cmovne edx, ecx
mov byte [esi], dl
jmp 0x46711e
mov byte [esi], 0x25
movzx eax, byte [edi]
shr eax, 4
movzx eax, byte [eax + str.0123456789ABCDEFUnable_to_create_registry_key_nHKEY_CURRENT_USER_s]
mov byte [esi + 1], al
add esi, 2
movzx eax, byte [edi]
and eax, 0xf
movzx eax, byte [eax + str.0123456789ABCDEFUnable_to_create_registry_key_nHKEY_CURRENT_USER_s]
mov byte [esi], al
mov dl, byte [edi + 1]
inc edi
inc esi
mov ebx, 1
mov al, dl
test dl, dl
jne 0x4670c6
mov byte [esi], dl
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [ebp + 0xc]
pop edi
mov byte [eax], bl
pop ebx
pop ebp
ret

Function at 0x4672d0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x408
mov eax, dword [0x4e4814]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push 1
call fcn.00466a20
mov esi, eax
add esp, 4
cmp esi, 0xffffffff
je 0x46735b
push edi
mov edi, dword [sym.imp.KERNEL32.dll_ReadFile]
lea eax, [ebp - 0x408]
push 0
push eax
push 0x400
lea eax, [ebp - 0x404]
push eax
push esi
call edi
test eax, eax
je 0x467353
nop dword [eax]
mov eax, dword [ebp - 0x408]
test eax, eax
je 0x467353
push eax
lea eax, [ebp - 0x404]
push eax
call ebx
add esp, 8
lea eax, [ebp - 0x408]
push 0
push eax
push 0x400
lea eax, [ebp - 0x404]
push eax
push esi
call edi
test eax, eax
jne 0x467320
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.0046acbd
mov esp, ebp
pop ebp
ret

Function at 0x4674e0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
mov edi, dword [ebp + 8]
test edi, edi
je 0x46755d
lea eax, [ebp - 4]
push eax
push 0
lea eax, [ebp + 8]
push eax
push 0
push dword [ebp + 0xc]
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x46755d
cmp dword [ebp + 8], 1
jne 0x46755d
mov eax, dword [ebp - 4]
push esi
inc eax
push 1
push eax
call fcn.0040e450
add esp, 8
mov esi, eax
lea eax, [ebp - 4]
push eax
push esi
lea eax, [ebp + 8]
push eax
push 0
push dword [ebp + 0xc]
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x46754c
cmp dword [ebp + 8], 1
jne 0x46754c
mov eax, dword [ebp - 4]
mov byte [esi + eax], 0
mov eax, esi
pop esi
pop edi
mov esp, ebp
pop ebp
ret
push esi
call fcn.0040e430
add esp, 4
xor eax, eax
pop esi
pop edi
mov esp, ebp
pop ebp
ret
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x467570
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
mov eax, dword [0x4e4814]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x10c]
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
push 0x105
push eax
push 0
push esi
call edi
test eax, eax
jne 0x467603
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop word [eax + eax]
lea eax, [ebp - 0x110]
push eax
lea eax, [ebp - 0x10c]
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x4675df
push dword [ebp - 0x110]
call fcn.00467570
add esp, 4
push dword [ebp - 0x110]
call ebx
lea eax, [ebp - 0x10c]
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
push 0x105
lea eax, [ebp - 0x10c]
push eax
push 0
push esi
call edi
test eax, eax
je 0x4675b0
pop ebx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0046acbd
mov esp, ebp
pop ebp
ret

Function at 0x467640
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
mov edi, dword [ebp + 8]
mov ecx, edi
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x467650
sub ecx, edx
mov edx, dword [ebp + 0x10]
lea esi, [edx + 1]
nop
mov al, byte [edx]
inc edx
test al, al
jne 0x467660
sub edx, esi
lea eax, [ecx + 5]
add eax, edx
push 1
lea eax, [eax + eax*2]
push eax
call fcn.0040e450
push dword [ebp + 0x10]
mov esi, eax
push dword [ebp + 0xc]
push edi
push esi
call fcn.00467030
add esp, 0x18
lea eax, [ebp - 4]
push eax
push str.SoftwareSimonTathamPuTTYSshHostKeys
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
jne 0x4676d5
mov edx, dword [ebp + 0x14]
mov ecx, edx
lea edi, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4676b0
sub ecx, edi
lea eax, [ecx + 1]
push eax
push edx
push 1
push 0
push esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push esi
call fcn.0040e430
add esp, 4
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x467970
Capabilities:
Check if file exists
Delete file

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jne 0x4679bc
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x4679af
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x4679af
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.004620c0
push eax
push dword [ebp + 8]
push str.Unable_to_delete__s:__s
call fcn.0045d4e0
add esp, 0x10
mov eax, dword [ebp + 0x10]
mov dword [eax], 0xffffffff
xor eax, eax
pop ebp
ret
xor eax, eax
mov edx, 0x80
push 0
cmp ecx, 2
cmove eax, edx
push eax
xor eax, eax
cmp ecx, 2
setne al
xor edx, edx
add eax, 2
cmp ecx, 2
push eax
push 0
mov eax, 3
cmove eax, edx
mov edx, 0x40000000
push eax
mov eax, 0x80000000
cmove eax, edx
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ecx, dword [ebp + 0x10]
mov edx, eax
xor eax, eax
cmp edx, 0xffffffff
setne al
mov dword [ecx], edx
pop ebp
ret
Function at 0x467d60
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push 2
call fcn.00466a20
mov esi, eax
add esp, 4
cmp esi, 0xffffffff
je 0x467d90
push 0
lea eax, [ebp - 4]
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x4a0892
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004a0479

Function at 0x4a089d
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004a0603

Function at 0x4aa84b
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004aa71f

Function at 0x4ad159
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004acb1b

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x412867
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004126e6

Function at 0x416c5f
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004165cd

Function at 0x416c6a
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00416808

Function at 0x407f80
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x6000]
push edi
or ebp, 0xffffffff
jmp 0x407fa2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x407fa9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x407f98
mov eax, 1
add ebx, ebx
jne 0x407fbb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x407fb0
jne 0x407fcc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407fb0
xor ecx, ecx
sub eax, 3
jb 0x407fe0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x408052
mov ebp, eax
add ebx, ebx
jne 0x407feb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x407ff8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x40801c
inc ecx
add ebx, ebx
jne 0x408008
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x407ffd
jne 0x408019
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407ffd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x40803c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x40802d
jmp 0x407f9e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x40803c
add edi, ecx
jmp 0x407f9e
pop esi
mov edi, esi
mov ecx, 0x8f
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x40805a
cmp byte [edi], 0
jne 0x40805a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x40805f
lea edi, [esi + 0x5000]
mov eax, dword [edi]
or eax, eax
je 0x4080d7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x8d64]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x8ddc]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x40808c
mov ecx, edi
jns 0x4080bb
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x8de4]
or eax, eax
je 0x4080d1
mov dword [ebx], eax
add ebx, 4
jmp 0x4080a9
call dword [esi + 0x8de0]
mov ebp, dword [esi + 0x8de8]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x217]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x40810b
sub esp, 0xffffff80
jmp 0x402130
Function at 0x405c10
Capabilities:
Get hostname
Initialize winsock library
Resolve dns

Disassembly:
sub esp, 0x278
push ebx
push ebp
push esi
mov ebp, ecx
push edi
mov ecx, 0x1f
xor eax, eax
lea edi, [esp + 0x79]
mov byte [esp + 0x78], 0
mov byte [esp + 0x14], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x18
xor eax, eax
lea edi, [esp + 0x15]
mov dword [esp + 0x10], ebp
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0xf8]
push eax
push 0x102
call dword [sym.imp.WS2_32.dll_WSAStartup]
lea ecx, [esp + 0x78]
push 0x80
push ecx
call dword [sym.imp.WS2_32.dll_gethostname]
test eax, eax
jne 0x405cd5
lea edx, [esp + 0x78]
push edx
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov ebx, eax
test ebx, ebx
je 0x405cd5
xor ebp, ebp
mov eax, dword [ebx + 0xc]
mov eax, dword [eax + ebp]
test eax, eax
je 0x405cd1
mov ecx, dword [eax]
push ecx
call dword [sym.imp.WS2_32.dll_inet_ntoa]
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x14]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x14]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
test ecx, ecx
jg 0x405cd1
add ebp, 4
jmp 0x405c84
mov ebp, dword [esp + 0x10]
call dword [sym.imp.WS2_32.dll_WSACleanup]
lea edi, [esp + 0x78]
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebp + 0x74]
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea edi, [esp + 0x14]
mov esi, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov edi, ecx
lea ecx, [esp + 0x14]
push ecx
push edx
call sub.MFC42.DLL_CString::Format
lea eax, [esp + 0x80]
add ebp, 0x70
push eax
push ebp
call sub.MFC42.DLL_CString::Format
add esp, 0x10
cmp esi, 1
jl 0x405d35
cmp edi, 1
jl 0x405d35
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x278
ret
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x278
ret
Function at 0x408510
Capabilities:
Create directory

Disassembly:
push 0xffffffffffffffff
push 0x40a44b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x224
push ebx
push ebp
push esi
push edi
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x2d]
mov byte [esp + 0x2c], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x131]
mov byte [esp + 0x130], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov edi, dword [esp + 0x244]
or ecx, 0xffffffff
xor eax, eax
xor ebx, ebx
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x2c]
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x2c]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebp, ecx
cmp ebp, 3
jle 0x40865f
cmp byte [esp + ebp + 0x2b], 0x5c
je 0x4085dc
mov edi, 0x40d298
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x2c]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
inc ebp
rep movsb byte es:[edi], byte [esi]
mov byte [esp + ebp + 0x2c], al
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CFileFind::CFileFind
xor esi, esi
cmp ebp, esi
mov dword [esp + 0x23c], esi
jle 0x408646
mov edi, dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov al, byte [esp + esi + 0x2c]
cmp al, 0x5c
jne 0x40863a
cmp ebx, 1
jne 0x40862b
lea eax, [esp + 0x130]
push 0
push eax
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CFileFind::FindFile
test eax, eax
jne 0x40862b
lea ecx, [esp + 0x130]
push eax
push ecx
call edi
test eax, eax
je 0x40867a
mov byte [esp + esi + 0x130], 0x5c
mov ebx, 1
jmp 0x408641
mov byte [esp + esi + 0x130], al
inc esi
cmp esi, ebp
jl 0x4085f8
lea ecx, [esp + 0x10]
mov dword [esp + 0x23c], 0xffffffff
call fcn.004092c6
mov eax, 1
mov ecx, dword [esp + 0x234]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x230
ret 4
lea ecx, [esp + 0x10]
mov dword [esp + 0x23c], 0xffffffff
call fcn.004092c6
xor eax, eax
jmp 0x40865f
Function at 0x40d38b
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x41a548]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.004086b1
mov dword [ebp - 0x14], eax
cmp dword [0x4aef5c], esi
jne 0x40d47e
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x40d40b
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x40d55e
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x40d55e
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40d55e
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x4aef5c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x4aef60], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x4aef64], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x4aef6c], eax
test eax, eax
je 0x40d47b
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x4aef68], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x40d4a3
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x40d496
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x40d4b8
push 4
pop eax
jmp 0x40d560
cmp dword [ebp - 0x14], esi
je 0x40d4b8
push dword [0x4aef5c]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x40d49d
mov eax, dword [0x4aef68]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x40d516
cmp dword [0x4aef6c], edi
je 0x40d516
push eax
call ebx
push dword [0x4aef6c]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x40d516
test eax, eax
je 0x40d516
call ecx
test eax, eax
je 0x40d50b
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x40d50b
test byte [ebp - 8], 1
jne 0x40d516
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x40d546
mov eax, dword [0x4aef60]
cmp eax, edi
je 0x40d543
push eax
call ebx
test eax, eax
je 0x40d543
call eax
mov esi, eax
test esi, esi
je 0x40d543
mov eax, dword [0x4aef64]
cmp eax, edi
je 0x40d543
push eax
call ebx
test eax, eax
je 0x40d543
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x4aef5c]
call ebx
test eax, eax
je 0x40d55e
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x40d560
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040437c
mov esp, ebp
pop ebp
ret
Function at 0x4cb2d2
Capabilities:
Encode data using xor

Disassembly:
call 0x99baa768
aad 0xd7
les ebp, [eax]
or eax, 0xe59f7561
sub al, 0xc3
xor ecx, eax
jns 0x4cb2e2
sbb al, 0xfb
popfd
into
add ebx, dword [ebx - 0x28cc6c0]
sub byte [0x47cd8c0c], ch
xchg esi, edx
xor cl, dl
sbb bh, 0x39
jp 0x4cb314
into
mov al, byte [0x95c546af]
int1
div dword [esi + 0x3a796b22]
mov eax, dword [0x4284069f]
dec edx
inc eax
lodsd eax, dword [esi]
loop 0x4cb339
xlatb
fcmove st(0), st(1)
mov ch, 0x68
sti
cmp esi, ebp
and al, 0x38
jns 0x4cb39a
and ch, byte [ebx + 0x5b6c883b]
outsd dx, dword [esi]
pop edi
popfd
ret
inc ebx
mov word [eax + 0x70ec5990], ss
cwde
test byte [ecx - 0x62], al
push ds
sub dword [edi + eax*4 - 0x7528cfb7], esp
push ecx
inc ecx
mov eax, 0x7ca29ca1
push ebx
mul dl
or byte [eax + 0x503eb2ff], dl
popal
add dword [eax], esp
and dword [ecx + 0x45d1afbb], edi
lahf
leave
inc edx
imul esp, dword [ecx + 0x628d9180], 0xa250f618
movsb byte es:[edi], byte [esi]
test byte [edx + 0x2b1a6183], cl
xchg ecx, eax
retf
add eax, 0xf0f3c93d
push ecx
cmp dword [ebp + 0x3739d9c7], edi
pop es
pop edi
xchg ebp, ecx
mov eax, dword [0x81490a35]
mov cl, 0x64
xchg edi, eax
stc
pop es
jnp 0x4cb402
scasd eax, dword es:[edi]
push 0x2ac1dcff
adc esp, dword [esp + ecx*8 + 0x6c806da6]
add cl, dh
mov dword [0xfcd93471], eax
mov ecx, 0x27cf6baf
dec ebp
dec eax
mov ecx, ss
cmp dword [ecx + 0x63], 0x49
pushfd
invalid
fadd st(1), st(0)
sub dl, byte [ebx]
movsb byte es:[edi], byte [esi]
int3
pop ecx
stc
invalid
invalid
int1

Function at 0x4cf995
Capabilities:
Encode data using xor

Disassembly:
xchg edx, eax
cmp cl, ah
inc ebp
neg dword [ebx]
mov al, 0x1c
cmpsd dword [esi], dword es:[edi]
dec edx
fild word [ecx - 0x1052b8c9]
aaa
inc edi
lodsd eax, dword [esi]
out dx, eax
aaa
inc edi
lodsd eax, dword [esi]
out dx, eax
inc edx
cmc
scasd eax, dword es:[edi]
xor dword [eax - 0x356a45ed], ebx
cmp dword [edi], edx
insb byte es:[edi], dx
inc edx
insb byte es:[edi], dx
cli
test eax, 0xf1233a52
inc ecx
imul ebx, dword [eax + ecx*8], 0x9a7fed31
xor eax, dword [eax - 0x11]
jg 0x4cf998
and dword [ebx + 0x61095919], esp
stc
fisub word [ebp + 0x2b]
in al, dx
call 0xaca40aae
dec ecx
push ss
das
jecxz 0x4cf989
pop ebx
salc
xchg esp, eax
retf
Function at 0x57fefb
Capabilities:
Encode data using xor

Disassembly:
int 0xca
int3
cmp edx, ebx
popal
in eax, dx
adc al, byte [ebx - 0x2efe6ad5]
sub eax, 0xcfcdd332
or dword [ecx + 6], 0x42de7c06
jl 0x57fe59
inc edx
enter 0xffffffffffffdcb3, 0x51
aam 0x7d
in al, 0xa9
cmp dword [0xe782a57f], edi
xchg edx, eax
cld
and esi, dword [edi + edx*2 - 0x5721e391]
inc eax
lahf
in eax, dx
xor dword [ebp + 0x55], esi
loopne 0x57fe66
insb byte es:[edi], dx
xchg edi, eax
inc ebp
mov esi, 0xb142f76d
mov dword [eax - 0x63], esi
mov eax, dword [0xa7b09fa8]
insd dword es:[edi], dx
test dword [edx - 0x4f], 0xa19d7089
test al, 0x9f
mov al, 0xa7
sbb al, 0x92
mov dword [0x70ee1d1f], eax
xchg edx, eax
and eax, 0x738813e4
add dword [eax + eax - 0x2e8a4002], ebx
jb 0x57fe79
mov cl, 0x58
insd dword es:[edi], dx
outsd dx, dword [esi]
shr dword [esi], 1
mov word [esi], ds
sal dword [edi], 0xee
invalid
js 0x57ff0c
mov ah, 0xab
inc esi
xor byte [edx - 0x63d35e20], ch
jb 0x57fe9f
or eax, 0xcccf11dd
imul byte [eax]
int 0xcf
cmp eax, 0x1caf9788
into
jnp 0x57ff09
fst qword [ecx]
iretd
int3
jl 0x57ff93
lds eax, [eax + 0x7d]
cmovb ebx, eax
cld
out dx, al
xchg edi, eax
inc ebx
popfd
outsd dx, dword [esi]
in eax, dx
test eax, 0xd4d99f9b
fld qword [edi - 0x5b]
invalid
aas
xchg ebx, eax
cmp al, 0
pushfd
movlps qword [bp + di], xmm6
xchg dword [ecx + 0x4ffe4c17], esi
mov edx, 0xc79d7f12
mov edi, 0x41b4bbe0
sbb al, 0x6c
into
adc edi, dword [edi - 0x21c90fc1]
adc eax, 0x174e88fc
invalid

Function at 0x5ee3c6
Capabilities:
Encode data using xor

Disassembly:
les edx, [bp + si + 0x18]
push ebx
cmp eax, 0xfe23b7a7
and cl, byte [ecx + 0x28]
cmpsb byte [esi], byte es:[edi]
mov dh, dh
sub byte [ecx], ah
push ebp
cmp al, byte [esi - 0x41a2730d]
jp 0x5ee371
adc eax, 0xf2c6cba9
jp 0x5ee39d
inc edi
dec ebx
push ebx
add ah, byte [edi + 0x16]
xlatb
mov ch, byte [edx - 0x5da7e645]
jp 0x5ee3e7
sub edx, dword [esi - 0x44]
xchg edi, eax
or byte [ebx + 0x6a], bl
push ecx
invalid

Function at 0x5eee3b
Capabilities:
Encode data using xor

Disassembly:
dec esi
invalid
jne 0x5eedd4
popal
dec ecx
push ebp
das
test ebx, eax
dec ebx
salc
dec eax
xchg ebp, eax
invalid
Function at 0x40690e
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
cmp dword [0x42f764], 0
jne 0x40694c
xor ecx, ecx
push esi
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
movzx edx, dl
neg edx
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x406922
mov dword [ecx*4 + 0x42f760], eax
inc ecx
cmp ecx, 0x100
jl 0x40691d
pop esi
cmp dword [ebp + 0x10], 0
mov eax, dword [ebp + 8]
not eax
jbe 0x406979
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
dec dword [ebp + 0x10]
xor edx, eax
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x42f760]
inc ecx
cmp dword [ebp + 0x10], 0
ja 0x40695a
not eax
pop ebp
ret 0xc

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx