joyce8/EMBER2024-capa huggingface dataset:
Function at 0x450d00
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x472a6f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
mov eax, dword [0x484cc8]
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x1c], 0
mov dword [esp + 0x10], eax
mov eax, dword [ecx + 4]
mov edi, dword [ecx]
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x28], 1
test ecx, ecx
mov dword [esp + 0x14], edi
je 0x450d6b
lea edx, [esp + 0x18]
or eax, 0x20019
push edx
push eax
push 0
push ecx
push edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, eax
mov eax, dword [esp + 0x18]
neg esi
sbb esi, esi
not esi
and esi, eax
jmp 0x450d6d
mov esi, edi
test esi, esi
je 0x450e37
mov ebx, dword [esp + 0x38]
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x3c]
push 0
push ecx
push 0
push ebx
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x450e2c
mov eax, dword [esp + 0x38]
cmp eax, 1
je 0x450daf
cmp eax, 2
je 0x450daf
cmp eax, 6
je 0x450daf
cmp eax, 7
jne 0x450e2c
mov edx, dword [esp + 0x34]
add edx, 2
push edx
call fcn.004577d1
mov ebp, eax
mov eax, dword [esp + 0x38]
mov edi, ebp
add esp, 4
lea ecx, [eax + 2]
xor eax, eax
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
lea eax, [esp + 0x34]
push eax
push ebp
push 0
push 0
push ebx
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
push ebp
jne 0x450e12
lea ecx, [esp + 0x14]
call fcn.00457c35
cmp esi, dword [esp + 0x14]
je 0x450e07
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ebp
call fcn.004577fa
add esp, 4
jmp 0x450e49
call fcn.004577fa
add esp, 4
lea ecx, [esp + 0x10]
push 0x475e5c
call fcn.00457c35
mov edi, dword [esp + 0x14]
cmp esi, edi
je 0x450e37
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x450e49
push eax
lea ecx, [esp + 0x14]
call fcn.00457c35
mov esi, dword [esp + 0x30]
lea ecx, [esp + 0x10]
push ecx
mov ecx, esi
call fcn.0045780b
mov dword [esp + 0x1c], 1
lea ecx, [esp + 0x10]
mov byte [esp + 0x28], 0
call fcn.00457a9e
mov ecx, dword [esp + 0x20]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret 0x10
Function at 0x450f90
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push ebx
push esi
push edi
test eax, eax
je 0x450fc7
mov edx, dword [ebp + 0x14]
lea ecx, [ebp + 0xc]
or edx, 0x20019
push ecx
push edx
push 0
push eax
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, eax
mov eax, dword [ebp + 0xc]
neg esi
sbb esi, esi
not esi
and esi, eax
jmp 0x450fca
mov esi, dword [ebp + 8]
test esi, esi
je 0x45117d
call fcn.004534b0
test eax, eax
je 0x451075
mov eax, dword [ebp + 0x10]
lea ecx, [ebp + 0xc]
push ecx
lea edx, [ebp + 0x14]
push 0
push edx
push 0
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x451171
mov eax, dword [ebp + 0x14]
cmp eax, 1
je 0x451019
cmp eax, 2
je 0x451019
cmp eax, 6
je 0x451019
cmp eax, 7
jne 0x451171
mov ecx, dword [ebp + 0xc]
add ecx, 2
push ecx
call fcn.004577d1
mov edx, dword [ebp + 0xc]
mov ebx, eax
xor eax, eax
mov edi, ebx
lea ecx, [edx + 2]
add esp, 4
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov ecx, dword [ebp + 0x10]
lea eax, [ebp + 0xc]
push eax
push ebx
push 0
push 0
push ecx
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
push ebx
jne 0x45115c
mov ecx, dword [ebp + 0x18]
call fcn.004420c0
cmp esi, dword [ebp + 8]
je 0x451146
jmp 0x45113f
mov eax, dword [ebp + 0x10]
test eax, eax
jne 0x451081
mov dword [ebp + 0x10], eax
jmp 0x4510b6
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea ebx, [eax + eax + 2]
mov eax, ebx
add eax, 3
and al, 0xfc
call fcn.00413160
mov edx, dword [ebp + 0x10]
mov edi, esp
push 0
push 0
push ebx
push edi
push 0xffffffffffffffff
push edx
push 0
push 0
mov byte [edi], 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov dword [ebp + 0x10], edi
mov edx, dword [ebp + 0x10]
lea eax, [ebp + 0xc]
push eax
lea ecx, [ebp + 0x14]
push 0
push ecx
push 0
push edx
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x451171
mov eax, dword [ebp + 0x14]
cmp eax, 1
je 0x4510f0
cmp eax, 2
je 0x4510f0
cmp eax, 6
je 0x4510f0
cmp eax, 7
jne 0x451171
mov eax, dword [ebp + 0xc]
add eax, 2
push eax
call fcn.004577d1
mov ecx, dword [ebp + 0xc]
mov ebx, eax
add ecx, 2
xor eax, eax
mov edx, ecx
mov edi, ebx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
add esp, 4
and ecx, 3
rep stosb byte es:[edi], al
mov ecx, dword [ebp + 0x10]
lea eax, [ebp + 0xc]
push eax
push ebx
push 0
push 0
push ecx
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
push ebx
jne 0x45115c
mov ecx, dword [ebp + 0x18]
call fcn.00442190
cmp esi, dword [ebp + 8]
je 0x451146
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ebx
call fcn.004577fa
add esp, 4
mov eax, 1
lea esp, [ebp - 0xc]
pop edi
pop esi
pop ebx
pop ebp
ret
call fcn.004577fa
mov ecx, dword [ebp + 0x18]
add esp, 4
push 0x475e5c
call fcn.004420c0
cmp esi, dword [ebp + 8]
je 0x45117d
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea esp, [ebp - 0xc]
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x451bc0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x472b38
push eax
mov eax, dword [ebp + 0xc]
mov dword fs:[0], esp
push ebx
push esi
test eax, eax
push edi
je 0x451c16
lea ecx, [ebp + 0x14]
mov ebx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp + 0x14]
lea edx, [ebp + 0xc]
or ecx, 0x20006
push edx
push 0
push ecx
push 0
push 0
push 0
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov esi, eax
mov eax, dword [ebp + 0xc]
neg esi
sbb esi, esi
not esi
and esi, eax
jmp 0x451c1b
mov esi, dword [ebp + 8]
mov ebx, esi
test esi, esi
je 0x451d0a
call fcn.004534b0
test eax, eax
je 0x451c6a
mov edi, dword [ebp + 0x18]
push edi
call fcn.00411568
add esp, 4
lea edx, [eax + eax + 2]
mov eax, dword [ebp + 0x10]
push edx
push edi
push 1
push 0
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x451cff
cmp esi, ebx
je 0x451c60
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
jmp 0x451d0c
mov eax, dword [ebp + 0x10]
test eax, eax
jne 0x451c75
xor edi, edi
jmp 0x451caa
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea ebx, [eax + eax + 2]
mov eax, ebx
add eax, 3
and al, 0xfc
call fcn.00413160
mov ecx, dword [ebp + 0x10]
mov edi, esp
push 0
push 0
push ebx
push edi
push 0xffffffffffffffff
push ecx
push 0
push 0
mov byte [edi], 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov ebx, dword [ebp + 8]
mov edx, dword [ebp + 0x18]
lea ecx, [ebp + 0xc]
push edx
call fcn.0043be40
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax - 8]
inc ecx
push ecx
push eax
push 1
push 0
push edi
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x451cf0
cmp esi, ebx
je 0x451cda
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp + 0xc]
mov dword [ebp - 4], 0xffffffff
call fcn.0043c650
mov eax, 1
jmp 0x451d0c
lea ecx, [ebp + 0xc]
mov dword [ebp - 4], 0xffffffff
call fcn.0043c650
cmp esi, ebx
je 0x451d0a
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov ecx, dword [ebp - 0xc]
lea esp, [ebp - 0x18]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x452980
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
sub esp, 8
lea eax, [esp + 0xc]
lea ecx, [esp]
push ebx
push ebp
push esi
push edi
push 0
push 0
mov ebx, dword [esp + 0x24]
push 0
push 0
push 0
push 0
push eax
push ecx
push 0
push 0
push 0
push ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
jne 0x452afd
mov eax, dword [esp + 0x10]
test eax, eax
je 0x452adc
mov eax, dword [esp + 0x1c]
cmp eax, 0x104
jae 0x4529d6
mov eax, 0x104
mov dword [esp + 0x1c], eax
lea edx, [eax + eax + 2]
push edx
call fcn.004577d1
mov esi, eax
add esp, 4
test esi, esi
je 0x452afd
mov eax, dword [esp + 0x1c]
mov edi, esi
lea ecx, [eax + eax + 2]
xor eax, eax
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x1c]
inc eax
push eax
push esi
push 0
push ebx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
test eax, eax
jne 0x452af4
mov ebp, dword [esp + 0x20]
mov eax, ebp
or eax, 0x2001f
mov dword [esp + 0x14], eax
lea ecx, [esp + 0x20]
push ecx
push eax
push 0
push esi
push ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x452af4
mov edi, dword [esp + 0x20]
test edi, edi
je 0x452af4
push ebp
push edi
call fcn.00452980
add esp, 8
test eax, eax
je 0x452ae9
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [0x48d6fc]
test eax, eax
je 0x452a85
test ebp, ebp
je 0x452a85
push 0
push ebp
push esi
push ebx
call eax
test eax, eax
jne 0x452af4
jmp 0x452a91
push esi
push ebx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
jne 0x452af4
mov eax, dword [esp + 0x10]
dec eax
mov dword [esp + 0x10], eax
je 0x452ad3
mov edx, dword [esp + 0x1c]
xor eax, eax
mov edi, esi
lea ecx, [edx + edx + 2]
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x1c]
inc eax
push eax
push esi
push 0
push ebx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
test eax, eax
jne 0x452af4
mov eax, dword [esp + 0x14]
jmp 0x452a2e
push esi
call fcn.004577fa
add esp, 4
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 8
ret
test edi, edi
je 0x452af4
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push esi
call fcn.004577fa
add esp, 4
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 8
ret
Function at 0x45ab72
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x45abaa
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.00457f5c
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.00457f33
jmp 0x45abb6
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x45c977
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x45c9b9
call fcn.00468f91
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
cmp eax, edi
je 0x45c9b9
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x45c9b0
xor eax, eax
jmp 0x45c9c1
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0045c9c7
pop edi
pop esi
pop ebx
ret 4
Function at 0x401f10
Capabilities:
Get disk information
Inspect load icon resource
Read file on windows

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x148
push ebx
push esi
push edi
push 0x65
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
lea ecx, [esp + 0xc]
call fcn.00401000
lea ecx, [esp + 0x50]
push 0x104
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [esp + 0x50]
lea ecx, [esp + 0xc]
push edx
call fcn.004012b0
test eax, eax
je 0x402021
lea eax, [esp + 0x50]
push 0x404030
push eax
call dword [sym.imp.MSVCRT.dll_fopen]
mov esi, eax
add esp, 8
test esi, esi
je 0x402084
lea ecx, [esp + 0x50]
push ecx
lea ecx, [esp + 0x10]
call fcn.00401290
mov edi, dword [sym.imp.MSVCRT.dll_fseek]
sub eax, 8
push 0
push eax
push esi
call edi
mov ebx, dword [sym.imp.MSVCRT.dll_fread]
push esi
push 1
lea edx, [esp + 0x24]
push 8
push edx
call ebx
mov eax, dword [esp + 0x2c]
push 0
push eax
push esi
call edi
push esi
push 1
lea ecx, [esp + 0x48]
push 0x38
push ecx
call ebx
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
mov eax, dword [esp + 0x88]
mov edx, dword [esp + 0x50]
add esp, 0x3c
test eax, eax
mov eax, dword [esp + 0x10]
push edx
push eax
jne 0x401ffe
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401800
jmp 0x402084
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401a90
jmp 0x402084
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_1
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov edi, eax
mov esi, 1
xor ebx, ebx
test edi, esi
je 0x40206a
mov dl, bl
lea ecx, [esp + 0x10]
add dl, 0x41
push edx
call sub.MFC42.DLL_CString::operator_1
push 0x40412c
lea ecx, [esp + 0x14]
call fcn.004020e2
lea ecx, [esp + 0xc]
mov eax, dword [esp + 0x10]
push eax
push 0
call fcn.00401cf0
add esi, esi
inc ebx
cmp ebx, 0x1a
jl 0x402039
lea ecx, [esp + 0xc]
call fcn.00401040
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
call fcn.00401030
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x148
ret 0x10

Function at 0xb97d34
Capabilities:
Encode data using xor

Disassembly:
xor al, al
mov al, byte [edi]
xor al, bl
mov byte [edi], al
inc edi
cmp edi, ecx
jne fcn.00b97d34
ret
Function at 0x474411
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub edi, 4
stc
pushfd
stc
cmc
push dword [edi]
pop dword [esp + 0xc]
clc
clc
cmc
clc
cmp edi, ebx
push edi
call fcn.004791ad
add byte [eax], al
inc edi
je 0x474473
outsd dx, dword [esi]
outsb dx, byte [esi]
jae 0x4744a3
insb byte es:[edi], dx
dec ebp
outsd dx, dword [esi]
add al, bh
invalid
add eax, dword [eax]

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

Disassembly:
or dl, ch
btr dx, ax
add esi, eax
setno dh
dec dx
clc
pushal
mov edx, dword [esi + 0x78]
bt cx, 0xd
mov byte [esp], 0x6c
call fcn.004c2d0e
test eax, eax
mov byte [esp + 4], 0x2e
pushal
mov word [esp + 4], 0x6840
jmp 0x474b13
lea esp, [esp + 0x28]
je fcn.004a4ef0
jmp 0x4a0a51
neg dx
mov si, sp
rcl si, 6
mov esi, dword [eax + 0x3c]
jmp 0x4744a5

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

Disassembly:
lea eax, [esi*2 - 0x60765c33]
rol al, cl
mov eax, dword [ebp + 8]
cmp ch, 0x30
push 0x1ae2c631
clc
call fcn.00474a87
lea esp, [esp + 0x24]
je fcn.004a4ef0
sub dh, dl
sar si, cl
and esi, ecx
mov esi, dword [eax + 0x3c]
bsf dx, sp
add esi, eax
inc dh
shr edx, 1
mov edx, dword [esi + 0x78]
call fcn.004a48a1
shrd ax, dx, cl
aad 0xdb
lea eax, [esp + 0x4c87c9e1]
mov dword [esp], edx
jo 0x4c2899
neg al
push ebx
mov eax, dword [ebp + 8]
pushal
test eax, eax
jmp 0x4c28b3
Function at 0x4145a8
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x2c
mov eax, dword [esp + 0x30]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 4], eax
mov eax, dword [0xa2c044]
mov dword [esp + 0x1c], eax
xor eax, eax
cmp dword [esp + 8], 0
jne 0x4145df
mov eax, 0
jmp 0x4147af
not dword [esp + 0xc]
jmp 0x41475d
mov eax, dword [esp + 8]
lea edx, [eax + 1]
mov dword [esp + 8], edx
movzx eax, byte [eax]
movzx edx, al
mov eax, dword [esp + 0xc]
xor eax, edx
movzx eax, al
mov edx, dword [eax*4 + 0xa2a520]
mov eax, dword [esp + 0xc]
shr eax, 8
xor eax, edx
mov dword [esp + 0xc], eax
mov eax, dword [esp + 8]
lea edx, [eax + 1]
mov dword [esp + 8], edx
movzx eax, byte [eax]
movzx edx, al
mov eax, dword [esp + 0xc]
xor eax, edx
movzx eax, al
mov edx, dword [eax*4 + 0xa2a520]
mov eax, dword [esp + 0xc]
shr eax, 8
xor eax, edx
mov dword [esp + 0xc], eax
mov eax, dword [esp + 8]
lea edx, [eax + 1]
mov dword [esp + 8], edx
movzx eax, byte [eax]
movzx edx, al
mov eax, dword [esp + 0xc]
xor eax, edx
movzx eax, al
mov edx, dword [eax*4 + 0xa2a520]
mov eax, dword [esp + 0xc]
shr eax, 8
xor eax, edx
mov dword [esp + 0xc], eax
mov eax, dword [esp + 8]
lea edx, [eax + 1]
mov dword [esp + 8], edx
movzx eax, byte [eax]
movzx edx, al
mov eax, dword [esp + 0xc]
xor eax, edx
movzx eax, al
mov edx, dword [eax*4 + 0xa2a520]
mov eax, dword [esp + 0xc]
shr eax, 8
xor eax, edx
mov dword [esp + 0xc], eax
mov eax, dword [esp + 8]
lea edx, [eax + 1]
mov dword [esp + 8], edx
movzx eax, byte [eax]
movzx edx, al
mov eax, dword [esp + 0xc]
xor eax, edx
movzx eax, al
mov edx, dword [eax*4 + 0xa2a520]
mov eax, dword [esp + 0xc]
shr eax, 8
xor eax, edx
mov dword [esp + 0xc], eax
mov eax, dword [esp + 8]
lea edx, [eax + 1]
mov dword [esp + 8], edx
movzx eax, byte [eax]
movzx edx, al
mov eax, dword [esp + 0xc]
xor eax, edx
movzx eax, al
mov edx, dword [eax*4 + 0xa2a520]
mov eax, dword [esp + 0xc]
shr eax, 8
xor eax, edx
mov dword [esp + 0xc], eax
mov eax, dword [esp + 8]
lea edx, [eax + 1]
mov dword [esp + 8], edx
movzx eax, byte [eax]
movzx edx, al
mov eax, dword [esp + 0xc]
xor eax, edx
movzx eax, al
mov edx, dword [eax*4 + 0xa2a520]
mov eax, dword [esp + 0xc]
shr eax, 8
xor eax, edx
mov dword [esp + 0xc], eax
mov eax, dword [esp + 8]
lea edx, [eax + 1]
mov dword [esp + 8], edx
movzx eax, byte [eax]
movzx edx, al
mov eax, dword [esp + 0xc]
xor eax, edx
movzx eax, al
mov edx, dword [eax*4 + 0xa2a520]
mov eax, dword [esp + 0xc]
shr eax, 8
xor eax, edx
mov dword [esp + 0xc], eax
sub dword [esp + 4], 8
cmp dword [esp + 4], 7
ja 0x4145e8
cmp dword [esp + 4], 0
je 0x4147a9
mov eax, dword [esp + 8]
lea edx, [eax + 1]
mov dword [esp + 8], edx
movzx eax, byte [eax]
movzx edx, al
mov eax, dword [esp + 0xc]
xor eax, edx
movzx eax, al
mov edx, dword [eax*4 + 0xa2a520]
mov eax, dword [esp + 0xc]
shr eax, 8
xor eax, edx
mov dword [esp + 0xc], eax
sub dword [esp + 4], 1
cmp dword [esp + 4], 0
jne 0x41476f
mov eax, dword [esp + 0xc]
not eax
mov ecx, dword [esp + 0x1c]
sub ecx, dword [0xa2c044]
je 0x4147c0
call fcn.004016b0
add esp, 0x2c
ret
Function at 0x4081f0
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x40822f
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x40822f
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x40822f
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x40822f
cmp dword [ecx + 0x74], 0xe
jbe 0x40822f
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x418680
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4186ad
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4186ad
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x401e40
Capabilities:
Packed with generic packer
Terminate process

Disassembly:
call int.00402060
add esp, 4
pop edi
pop esi
dec esi
mov esi, dword [ebx + 0x5d]
adc al, 0x90
nop
nop
inc esi
nop
arpl word [eax - 0x667274ab], dx
push ebp
mov ecx, dword [ebp + 0x5678ec99]
push ebp
mov ecx, dword [ebp + 0x5678ec99]
mov esi, dword [ebp + 0xc]
push esi
lea eax, [ebp + 0x24]
push 0x78
not dword [esi - 0x4e]
mov dword [eax], ebp
add byte [ebx + 0x158bd34d], cl
enter 0x6fc0, 0x48
push eax
push ecx
add edx, 0x6a
push 0x68
jno 0x401e3c
inc eax
add byte [edx + 0xe], dl
add byte [edx + 0xe], dl
adc eax, 0x40c1bb
mov eax, dword [0x4102ac]
add esp, 0x14
test eax, eax
je 0x401e69
push eax
push 0x407454
call dword [0x40c1fd]
add esp, 8
push esi
call dword [sym.imp.MSVCRT.dll_exit]
pop esi
nop
nop
nop
push ss
jg 0x401e2a
nop
popal
nop
nop
nop
xchg dword [ebp - 0x75], edx
in al, dx
sub dword [ecx - 0x74a9acec], 0xffffffbe
or byte [ecx], cl
mov eax, dword [esi + 0x14]
insd dword es:[edi], dx
inc ebp
or ch, dl
dec ecx
dec ebx
add byte [eax], al
mov dword [0x410ba0], eax
mov dword [0xc410ba4], edx
loop 0x401e9d
mov eax, dword [esi + 0x14]
test dword [ebx + 0x4075878b], edx
mov ecx, dword [esi + 4]
push 0
push 0
push ecx
call 0x47408c70
mov dword [esi + 0x1838], ebx
mov dword [esi + 0x663c], edi
mov dword [esi + 3], 0x6f0000
add al, 0x15
or edx, dword [edi]
inc ecx
mov dh, 0x89
push esi
adc al, 0xa1
pushal
add al, byte [ecx]
test eax, eax
je 0x401f3a
mov eax, dword [0xe8410270]
dec ebp
retf 0xc803
mov edx, dword [esi + 0x1a]
mov ebx, dword [0x40d030]
mov eax, dword [esi - 0x7f]
lea ecx, [ebp + 8]
add edx, ebx
push ecx
push eax
call 0xd9408ac0
test eax, eax
adc esi, dword [ebx]
invalid
Function at 0x401e64
Capabilities:
Packed with generic packer
Terminate process

Disassembly:
call int.00402060
add esp, 4
pop edi
pop esi
dec esi
mov esi, dword [ebx + 0x5d]
adc al, 0x90
nop
nop
inc esi
nop
arpl word [eax - 0x667274ab], dx
push ebp
mov ecx, dword [ebp + 0x5678ec99]
push ebp
mov ecx, dword [ebp + 0x5678ec99]
mov esi, dword [ebp + 0xc]
push esi
lea eax, [ebp + 0x24]
push 0x78
not dword [esi - 0x4e]
mov dword [eax], ebp
add byte [ebx + 0x158bd34d], cl
enter 0x6fc0, 0x48
push eax
push ecx
add edx, 0x6a
push 0x68
jno 0x401e3c
inc eax
add byte [edx + 0xe], dl
add byte [edx + 0xe], dl
adc eax, 0x40c1bb
mov eax, dword [0x4102ac]
add esp, 0x14
test eax, eax
je 0x401e69
push eax
push 0x407454
call dword [0x40c1fd]
add esp, 8
push esi
call dword [sym.imp.MSVCRT.dll_exit]
pop esi
nop
nop
nop
push ss
jg 0x401e2a
nop
popal
nop
nop
nop
xchg dword [ebp - 0x75], edx
in al, dx
sub dword [ecx - 0x74a9acec], 0xffffffbe
or byte [ecx], cl
mov eax, dword [esi + 0x14]
insd dword es:[edi], dx
inc ebp
or ch, dl
dec ecx
dec ebx
add byte [eax], al
mov dword [0x410ba0], eax
mov dword [0xc410ba4], edx
loop 0x401e9d
mov eax, dword [esi + 0x14]
test dword [ebx + 0x4075878b], edx
mov ecx, dword [esi + 4]
push 0
push 0
push ecx
call 0x47408c70
mov dword [esi + 0x1838], ebx
mov dword [esi + 0x663c], edi
mov dword [esi + 3], 0x6f0000
add al, 0x15
or edx, dword [edi]
inc ecx
mov dh, 0x89
push esi
adc al, 0xa1
pushal
add al, byte [ecx]
test eax, eax
je 0x401f3a
mov eax, dword [0xe8410270]
dec ebp
retf 0xc803
mov edx, dword [esi + 0x1a]
mov ebx, dword [0x40d030]
mov eax, dword [esi - 0x7f]
lea ecx, [ebp + 8]
add edx, ebx
push ecx
push eax
call 0xd9408ac0
test eax, eax
adc esi, dword [ebx]
invalid

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

Disassembly:
push ebp
mov ebp, esp
or al, byte [ebp + 0xc]
mov ecx, dword [ebp + 0x1e]
push esi
jae 0x4087dd
or byte [eax + 0x51], dl
push esi
call fcn.0040ad50
mov eax, esi
cli
pop ebp
ret
cmpsb byte [esi], byte es:[edi]
pop esi
push cs
scasd eax, dword es:[edi]
push sp
push ecx
adc ah, al
sub al, 0x2b
add byte [edx], cl
clc
jp 0x40880a
outsb dx, byte [esi]
movsd dword es:[edi], dword [esi]
loopne 0x4087c6