joyce8/EMBER2024-capa huggingface dataset:
Function at 0x413950
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x4667f8]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 0x14]
mov dword [ebp - 0x108], edx
test edi, edi
jg 0x41398c
jl 0x41397a
test edx, edx
jne 0x41398c
mov eax, dword [ebp + 8]
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041107e
mov esp, ebp
pop ebp
ret
mov ecx, 1
mov dword [ebp - 0x84], 0xedb88320
mov eax, ecx
nop dword [eax]
mov dword [ebp + eax*4 - 0x84], ecx
inc eax
add ecx, ecx
cmp eax, 0x20
jl 0x4139a0
push ebx
push esi
xor esi, esi
nop dword [eax]
nop word [eax + eax]
mov eax, dword [ebp + esi - 0x84]
lea ecx, [ebp - 0x84]
xor edx, edx
test eax, eax
je 0x4139e0
test al, 1
je 0x4139d9
xor edx, dword [ecx]
add ecx, 4
shr eax, 1
jne 0x4139d3
mov dword [ebp + esi - 0x104], edx
add esi, 4
cmp esi, 0x80
jl 0x4139c0
xor esi, esi
nop dword [eax]
nop dword [eax + eax]
mov eax, dword [ebp + esi - 0x104]
lea ecx, [ebp - 0x104]
xor edx, edx
test eax, eax
je 0x413a20
test al, 1
je 0x413a19
xor edx, dword [ecx]
add ecx, 4
shr eax, 1
jne 0x413a13
mov dword [ebp + esi - 0x84], edx
add esi, 4
cmp esi, 0x80
jl 0x413a00
mov ebx, dword [ebp + 8]
nop word [eax + eax]
xor esi, esi
nop dword [eax]
nop word [eax + eax]
mov eax, dword [ebp + esi - 0x84]
lea ecx, [ebp - 0x84]
xor edx, edx
test eax, eax
je 0x413a70
test al, 1
je 0x413a69
xor edx, dword [ecx]
add ecx, 4
shr eax, 1
jne 0x413a63
mov dword [ebp + esi - 0x104], edx
add esi, 4
cmp esi, 0x80
jl 0x413a50
mov edx, dword [ebp - 0x108]
mov eax, edx
and eax, 1
or eax, 0
je 0x413ab0
xor ecx, ecx
lea eax, [ebp - 0x104]
test ebx, ebx
je 0x413aae
nop
test bl, 1
je 0x413aa7
xor ecx, dword [eax]
add eax, 4
shr ebx, 1
jne 0x413aa0
mov ebx, ecx
shrd edx, edi, 1
sar edi, 1
mov eax, edx
or eax, edi
mov dword [ebp - 0x108], edx
je 0x413b46
xor esi, esi
nop dword [eax + eax]
mov eax, dword [ebp + esi - 0x104]
lea ecx, [ebp - 0x104]
xor edx, edx
test eax, eax
je 0x413af0
test al, 1
je 0x413ae9
xor edx, dword [ecx]
add ecx, 4
shr eax, 1
jne 0x413ae3
mov dword [ebp + esi - 0x84], edx
add esi, 4
cmp esi, 0x80
jl 0x413ad0
mov edx, dword [ebp - 0x108]
mov eax, edx
and eax, 1
or eax, 0
je 0x413b30
xor ecx, ecx
lea eax, [ebp - 0x84]
test ebx, ebx
je 0x413b2e
nop
test bl, 1
je 0x413b27
xor ecx, dword [eax]
add eax, 4
shr ebx, 1
jne 0x413b20
mov ebx, ecx
shrd edx, edi, 1
sar edi, 1
mov ecx, edx
or ecx, edi
mov dword [ebp - 0x108], edx
jne 0x413a40
xor ebx, dword [ebp + 0xc]
mov ecx, dword [ebp - 4]
mov eax, ebx
pop esi
pop ebx
xor ecx, ebp
pop edi
call fcn.0041107e
mov esp, ebp
pop ebp
ret
Function at 0x41de20
Capabilities:
Read file on windows

Disassembly:
push ecx
mov ecx, dword [esp + 0x1c]
add dword [esp + 0x18], 0xfffff80c
push ebx
push ebp
lea eax, [ecx - 0x33e6]
xor ecx, 0x37c
push esi
mov esi, dword [esp + 0x1c]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x20]
push edi
mov edi, eax
mov dword [esp + 0x2c], ecx
mov ecx, dword [esp + 0x1c]
xor edi, 0x6aa7
lea ebp, [eax - 0x40a5]
mov edx, ecx
lea ebx, [eax - 0x100b]
xor edx, 0x3900
xor ecx, 0xde3
mov dword [esp + 0x24], edx
lea eax, [edi + 0x698]
mov dword [esp + 0x1c], ecx
cmp ebp, eax
jge 0x41df1c
mov eax, dword [esp + 0x10]
xor eax, 0x34e3
cmp ebx, eax
jg 0x41dec6
mov eax, dword [esp + 0x2c]
add eax, 0x83c
cmp edi, eax
jg 0x41df1c
mov eax, dword [esi + 0x7c]
add ebx, 0x1b8
sub eax, dword [esi + 0xa0]
add eax, 0x53773
imul eax, dword [esi + 0xc8]
mov dword [esi + 0xc8], eax
jmp 0x41df1c
mov eax, dword [esp + 0x28]
mov ecx, dword [esi + 0x9c]
or eax, 0x3252
cmp ecx, eax
jb 0x41df18
mov eax, dword [esi + 0x94]
or eax, dword [esp + 0x1c]
imul eax, dword [esi + 0x24]
imul ecx, ebp
push eax
sub ecx, dword [esp + 0x30]
mov eax, edx
or eax, dword [esp + 0x14]
xor eax, edi
push eax
mov eax, edi
xor eax, 0x40a5
and eax, edi
push eax
mov eax, dword [esi + 4]
sub eax, 0x3aeb
or eax, ebp
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x10]
add eax, 0x34e3
cmp ebx, eax
jg 0x41df5e
mov eax, edx
xor eax, 0x34ad
cmp ebp, eax
jge 0x41df5e
lea eax, [ebx - 0x850]
xor edx, 0x2b95
push eax
push edx
lea eax, [ecx - 0x963]
push eax
mov eax, ebp
xor eax, 0x309a
push eax
push esi
call fcn.00409380
add esp, 0x14
mov dword [esp + 0x10], eax
lea ecx, [ebp + 0x34ad]
cmp edi, ecx
jg 0x41df91
mov ecx, dword [esi + 0x9c]
mov eax, ecx
xor eax, 0x1159e0
sub dword [esi + 0xdc], eax
mov eax, dword [esi + 0xdc]
add eax, 0x20f8a3
imul eax, ecx
mov dword [esi + 0x9c], eax
jmp 0x41e007
mov eax, dword [esi + 0xac]
mov ebp, dword [esp + 0x1c]
mov ebx, dword [esi + 0x6c]
imul eax, ebp
imul eax, dword [esi + 0x20]
cmp ebx, eax
jb 0x41e007
lea eax, [ebp - 0x377b]
or eax, 0x3aeb
mov dword [esp + 0x1c], eax
mov ecx, dword [esi + 0xd0]
cmp ecx, eax
jge 0x41dff1
mov edi, eax
sub edi, ecx
dec edi
shr edi, 1
inc edi
mov eax, dword [esi + 0xb8]
sub eax, dword [esi + 0x78]
sub eax, 0x3aeb
push eax
mov eax, dword [esi + 0xc0]
or eax, dword [esi + 0x94]
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
sub edi, 1
jne 0x41dfca
mov eax, dword [esi + 0xac]
inc ebx
imul eax, ebp
imul eax, dword [esi + 0x20]
cmp ebx, eax
mov eax, dword [esp + 0x1c]
jae 0x41dfb8
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
add eax, 0xfffffd01
pop ebx
pop ecx
ret
Function at 0x41e016
Capabilities:
Allocate or change rwx memory

Disassembly:
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 4]
push ebx
mov ebx, dword [esp + 0x1c]
push ebp
mov ebp, edx
lea ecx, [eax - 0x404e]
add edx, 0xe1
xor ebp, 0x76d4
push esi
lea esi, [eax - 0xdf]
add ebx, 0xffffcb1d
mov dword [esp + 0x18], esi
lea eax, [edx - 0x395]
cmp ecx, eax
je 0x41e11b
mov eax, dword [esp + 0x14]
xor edx, 0x5d6
push edi
mov edi, dword [esp + 0x24]
xor eax, 0x7aa5
add eax, 0x2d7
push edi
push eax
push edx
mov eax, ebp
xor eax, 0x7f21
push eax
lea eax, [ebp + 0x57]
push eax
lea eax, [ebp - 0xfb4]
push eax
call fcn.00429f7d
mov edx, eax
xor ebx, 0x34ad
mov esi, edx
lea eax, [ebp - 0x74e]
xor esi, 0x6bdb
xor edx, 0x76d4
push esi
lea ecx, [ebx - 0x413]
push ecx
push edi
lea ecx, [ebp - 0x14ce]
push ecx
push eax
mov eax, dword [esp + 0x40]
push edx
add eax, 0xfffff4e6
push eax
call fcn.00427bb4
lea ecx, [eax - 0x15]
add eax, 0xb05
push ecx
mov ecx, dword [esp + 0x54]
push edi
add ecx, 0xfffff12b
push ecx
push eax
push esi
call section..text
mov ecx, dword [edi + 0x4c]
add esp, 0x48
xor ecx, dword [edi + 0x2c]
xor ecx, 0x91a78
mov dword [edi + 0x2c], ecx
mov eax, dword [edi + 0x24]
sub eax, dword [edi + 0x9c]
push 0x40
add eax, 0xfceb3
push eax
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
add eax, 0x7800
mov dword [edi + 0x70], eax
pop edi
jmp 0x41e148
mov edx, dword [esp + 0x20]
mov eax, dword [edx + 0x94]
or eax, 0x3900
sub eax, ebx
cmp ecx, eax
ja 0x41e148
mov eax, dword [edx + 0xd4]
and ecx, 0x3dc2
sub eax, esi
or dword [edx + 4], eax
push ecx
call dword [sym.imp.KERNEL32.dll_SwitchToFiber]
pop esi
pop ebp
lea eax, [ebx - 0x918]
pop ebx
ret
Function at 0x41e160
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x1c
mov eax, dword [0x466fb4]
add eax, dword [0x466fd8]
mov edx, dword [esp + 0x28]
push ebx
mov ebx, dword [esp + 0x30]
mov dword [esp + 8], eax
mov eax, dword [0x466fac]
push ebp
mov ebp, dword [esp + 0x28]
push esi
movzx esi, word [0x466fe4]
push edi
mov ecx, dword [ebp + eax*4]
mov edi, dword [esp + 0x34]
mov dword [esp + 0x28], ecx
mov cl, 0xa1
sub cl, byte [edx + eax*2]
inc eax
mov dword [0x466fac], eax
mov eax, dword [0x466fe8]
mov dword [esp + 0x10], eax
mov eax, dword [0x466fe0]
mov dword [esp + 0x20], eax
mov eax, dword [ebp + 0x43e4]
mov dword [esp + 0x24], eax
movzx eax, bx
mov dword [esp + 0x3c], eax
mov dword [esp + 0x18], esi
cmp esi, 0x1c77
jne 0x41e295
movzx eax, cl
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x10]
or dword [esp + 0x14], esi
movzx ecx, word [edx + eax*2]
xor edx, edx
mov eax, dword [esp + 0x1c]
div ecx
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x10]
mov word [eax + ecx*2], dx
mov eax, dword [esp + 0x3c]
mov ecx, dword [eax]
movzx eax, dx
cdq
idiv dword [0x466fb4]
mov edx, dword [esp + 0x20]
sub al, byte [edx + ecx*4 + 6]
mov byte [edx + ecx*4 + 6], al
movzx ecx, byte [edx + esi + 0xd]
xor ecx, dword [0x466fe0]
imul ecx, dword [ebp + esi*4]
mov eax, dword [0x466fac]
mov dword [ebp + eax*4], ecx
dec dword [0x466fac]
mov eax, dword [0x466fb8]
mov ecx, dword [esp + 0x38]
inc eax
mov dword [0x466fb8], eax
movzx edx, word [ecx + eax*2]
cmp edx, dword [0x466fd4]
jae 0x41e280
mov esi, dword [esp + 0x24]
mov eax, dword [0x466fec]
imul eax, edi
movzx ecx, bx
xor eax, edx
add dword [esi + ecx*4 + 0x90], eax
inc ebx
inc edi
inc edx
cmp edx, dword [0x466fd4]
jb 0x41e259
mov esi, dword [esp + 0x18]
mov ebp, dword [esp + 0x30]
mov edx, dword [esp + 0x38]
inc esi
mov dword [esp + 0x18], esi
cmp esi, 0x1c77
je 0x41e1df
mov ebx, dword [esp + 0x38]
xor ecx, ecx
mov eax, dword [esp + 0x10]
xor edx, edx
mov word [ebx + eax*2 + 0x1a], cx
mov ecx, 0x421
mov eax, dword [esp + 0x3c]
mov esi, dword [eax]
mov eax, dword [0x466ff4]
div ecx
movzx ecx, word [ebx + esi*8]
xor edx, edx
sub eax, 0x7d
div ecx
mov edx, dword [esp + 0x10]
mov word [ebx + esi*8], ax
mov esi, dword [esp + 0x3c]
movzx eax, word [ebx + edx*2 + 0xa]
imul ecx, eax, 0x1080
mov eax, dword [esi]
movzx eax, word [ebx + eax*2 + 0x4c]
xor ecx, eax
movzx eax, word [ebx + edx*8]
imul ecx, eax
mov ebx, 0x1732
mov eax, edi
add dword [ebp + edx*4], ecx
cdq
idiv ebx
mov ecx, dword [0x466fac]
inc ecx
mov dword [0x466fac], ecx
add ecx, ecx
xor dword [ebp + ecx*8], edx
mov eax, dword [esi]
mov ecx, dword [esp + 0x28]
movzx eax, word [ecx + eax*2]
mov ecx, dword [esp + 0x14]
sub eax, ecx
cdq
idiv edi
pop edi
add dword [0x466fe0], eax
lea eax, [ecx - 0x208]
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
Function at 0x41e332
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
mov eax, dword [esp + 4]
push ebx
push ebp
push esi
mov esi, dword [esp + 0x1c]
push edi
mov edi, dword [0x466fbc]
movzx ecx, byte [esi]
movzx eax, byte [ecx + eax + 4]
movzx ebx, byte [ecx + esi]
mov dword [esp + 0x14], eax
mov eax, dword [edi + 0x3574]
mov dword [esp + 0x20], eax
mov eax, 0xc57
cdq
idiv dword [0x466fb4]
cmp ebx, dword [0x466fd4]
jne 0x41e3b6
movzx edi, al
dec byte [esi + 1]
mov ebp, 0x84b
mov eax, dword [0x466fdc]
mov edx, dword [esp + 0x18]
mov eax, dword [edx + eax*4]
xor edx, edx
div ebp
mov eax, dword [0x466ffc]
mov ebp, ebx
xor dl, byte [eax + edi*2]
inc ebx
movzx eax, byte [esi + 1]
mov byte [eax + esi + 1], dl
mov dword [0x466fa8], ebp
cmp ebx, dword [0x466fd4]
je 0x41e375
mov edi, dword [0x466fbc]
jmp 0x41e3bc
mov ebp, dword [0x466fa8]
mov ecx, dword [0x466fdc]
xor edx, edx
mov eax, 0x1064
mov esi, dword [0x466fc8]
add esi, esi
div dword [edi + ecx*4]
mov ecx, dword [esp + 0x24]
mov eax, edx
xor edx, edx
div ebp
or dword [edi + esi*8], edx
xor edx, edx
mov eax, dword [0x466fb4]
inc dword [0x466fdc]
add eax, eax
pop edi
pop esi
pop ebp
mov eax, dword [ecx + eax*8]
imul eax, dword [esp + 0x14]
pop ebx
div dword [0x466fb4]
mov dword [0x466fb4], eax
mov eax, dword [esp + 4]
mov eax, dword [eax + 0x72d8]
ret
Function at 0x131528b0
Capabilities:
Copy file
Get common file path

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ebx
push esi
push edi
xor eax, eax
push ebp
push 0x13152a54
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, 0xfe
call fcn.13142638
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
push 0xfe
call sub.kernel32.dll_GetTempPathA
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 8]
call fcn.13147138
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 4]
mov ecx, 0x13152a6c
call fcn.13143d80
push 0
mov eax, dword [ebp - 4]
call fcn.13143f24
push eax
lea edx, [ebp - 0x14]
xor eax, eax
call fcn.131428ec
mov eax, dword [ebp - 0x14]
call fcn.13143f24
push eax
call sub.kernel32.dll_CopyFileA
mov dl, 1
mov eax, dword [0x1314f52c]
call fcn.13142fb4
mov ebx, eax
mov dl, 1
mov eax, dword [0x1314f52c]
call fcn.13142fb4
mov esi, eax
mov edx, dword [ebp - 4]
mov eax, ebx
call fcn.13151978
call fcn.1314294c
mov eax, pe_nt_image_headers32
call fcn.13142a5c
mov byte [ebp - 0xc], al
mov eax, pe_nt_image_headers32
call fcn.13142a5c
mov byte [ebp - 0xb], al
mov eax, pe_nt_image_headers32
call fcn.13142a5c
mov byte [ebp - 0xa], al
mov eax, pe_nt_image_headers32
call fcn.13142a5c
mov byte [ebp - 9], al
mov cx, 2
xor edx, edx
mov eax, ebx
mov edi, dword [eax]
call dword [edi + 0x14]
lea edx, [ebp - 0xc]
mov ecx, 4
mov eax, ebx
mov edi, dword [eax]
call dword [edi + 0x10]
xor ecx, ecx
xor edx, edx
mov eax, ebx
mov edi, dword [eax]
call dword [edi + 0x14]
push 0
push 0x30
mov edx, ebx
mov eax, esi
call fcn.131514a4
xor ecx, ecx
mov edx, 0x30
mov eax, ebx
mov edi, dword [eax]
call dword [edi + 0x14]
lea edx, [ebp - 0xc]
mov ecx, 1
mov eax, ebx
mov edi, dword [eax]
call dword [edi + 0xc]
xor eax, eax
mov al, byte [ebp - 0xc]
inc eax
mov byte [ebp - 0xc], al
lea edx, [ebp - 0xc]
mov ecx, 1
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0x10]
xor ecx, ecx
mov edx, 0x31
mov eax, ebx
mov edi, dword [eax]
call dword [edi + 0x14]
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
sub eax, 0x31
sbb edx, 0
push edx
push eax
mov edx, ebx
mov eax, esi
call fcn.131514a4
mov edx, dword [ebp - 4]
mov eax, esi
call fcn.131518a4
mov eax, ebx
call fcn.13142fe4
mov eax, esi
call fcn.13142fe4
mov eax, dword [ebp - 8]
call fcn.13142658
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x13152a5b
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.13143abc
lea eax, [ebp - 4]
call fcn.13143a98
ret

Function at 0x430006
Capabilities:
Encode data using xor

Disassembly:
mov eax, section..pdata
nop
nop
mov ebx, 0x408f6c
mov ecx, 0x6a816501
nop
nop
nop
nop
nop
test eax, eax
je 0x43004e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x430024
nop
mov eax, section..pdata_1
nop
mov ebx, 0x42e3d0
nop
nop
mov ecx, 0x1cf1587
nop
test eax, eax
nop
nop
nop
nop
je 0x430084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
nop
popal
jmp 0x401219
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 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x408ecc
mov ecx, 0x259071c1
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
je 0x43004e
nop
xor dword [eax], ecx
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x430024
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42e1d0
nop
mov ecx, 0x77640d7b
nop
nop
test eax, eax
nop
nop
nop
je 0x430084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43006c
nop
popal
nop
nop
nop
nop
nop
jmp 0x401219
Function at 0x42e002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
mov eax, section..text
nop
nop
nop
nop
nop
push 4
nop
nop
nop
nop
nop
pop edi
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x42e072
nop
nop
mov ebx, 0x407ef8
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x7ba628af
nop
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x42e060
nop
nop
nop
mov eax, section..data
nop
nop
nop
cmp eax, 0
nop
nop
nop
je 0x42e0d2
nop
mov ebx, 0x42cd70
nop
nop
nop
nop
mov ecx, ebx
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x34331fb0
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
add eax, edi
loop 0x42e0c0
nop
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x401219
Function at 0x406558
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
xor edx, edx
mov dword [ebp - 0x10], edx
xor edx, edx
push ebp
push 0x4065be
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 0xb]
push edx
push 0x1004
push eax
call sub.KERNEL32.DLL_GetLocaleInfoA_1
lea eax, [ebp - 0x10]
lea edx, [ebp - 0xb]
mov ecx, 7
call fcn.00404864
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.004030f8
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x4065a8
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4065c5
lea eax, [ebp - 0x10]
call fcn.004045f4
ret

Function at 0x40907c
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.00404ab4
push eax
call sub.KERNEL32.DLL_GetFileAttributesA
cmp eax, 0xffffffff
je 0x409095
test al, 0x10
jne 0x409099
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret

Function at 0x40be10
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea ecx, [ebp - 0x100]
push ecx
push edx
push eax
call sub.KERNEL32.DLL_GetLocaleInfoA
test eax, eax
jle 0x40be49
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.004046e4
jmp 0x40be52
mov eax, ebx
mov edx, esi
call fcn.00404648
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40be5c
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov ebx, ecx
mov esi, edx
mov edi, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push edi
call sub.KERNEL32.DLL_GetLocaleInfoA
test eax, eax
jle 0x40be7d
mov al, byte [esp]
jmp 0x40be7f
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x40ce64
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
xor edx, edx
mov dword [ebp - 8], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x40cf3a
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 8]
mov edx, ebx
call fcn.0040468c
lea eax, [ebp - 8]
call fcn.00404b04
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.00404ab4
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40cf24
mov eax, ebx
call fcn.0040271c
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40cf1d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
push eax
push ebx
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.00404ab4
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40cf07
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40cf4c
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40cf07
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
mov dword [ebp - 4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40cf24
mov eax, dword [ebp - 0x10]
call fcn.0040273c
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40cf41
lea eax, [ebp - 8]
call fcn.004045f4
ret
Function at 0x40d4fc
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
xor edx, edx
mov dword [ebp - 0xc], edx
xor edx, edx
push ebp
push 0x40d560
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 7]
push edx
push 0x1004
push eax
call sub.KERNEL32.DLL_GetLocaleInfoA
lea eax, [ebp - 0xc]
lea edx, [ebp - 7]
mov ecx, 7
call fcn.00404864
mov eax, dword [ebp - 0xc]
push eax
call sub.KERNEL32.DLL_GetACP
mov edx, eax
pop eax
call fcn.00408cdc
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40d567
lea eax, [ebp - 0xc]
call fcn.004045f4
ret

Function at 0x41eba0
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov al, byte [eax + 0xe]
mov byte [ebp - 5], al
xor eax, eax
push ebp
push 0x41ebed
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov byte [eax + 0xe], 1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.KERNEL32.DLL_SuspendThread
test eax, eax
setge dl
mov eax, dword [ebp - 4]
call fcn.0041e9f8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x41ec05
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x41ec0c
Capabilities:
Resume thread

Disassembly:
push ebx
push esi
mov ebx, eax
mov eax, dword [ebx + 4]
push eax
call sub.KERNEL32.DLL_ResumeThread
mov esi, eax
test esi, esi
setge dl
mov eax, ebx
call fcn.0041e9f8
dec esi
jne 0x41ec2e
mov byte [ebx + 0xe], 0
pop esi
pop ebx
ret

Function at 0x420390
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x47688c
cmp dword [edi], 0
jne 0x42040c
push 0x40
push 0x1000
push 0x1000
push 0
call sub.KERNEL32.DLL_VirtualAlloc
mov esi, eax
mov eax, dword [0x476888]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x474480
mov ecx, 2
call fcn.00402918
mov edx, 0x420368
lea eax, [esi + 5]
call fcn.00420388
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.00420388
mov dword [ebx + 1], eax
mov eax, dword [edi]
mov dword [ebx + 5], eax
mov dword [edi], ebx
add ebx, 0xd
mov eax, ebx
sub eax, esi
cmp eax, 0xffc
jl 0x4203e1
mov dword [0x476888], esi
mov eax, dword [edi]
mov ebx, dword [edi]
mov edx, dword [ebx + 5]
mov dword [edi], edx
mov edx, dword [ebp + 8]
mov dword [ebx + 5], edx
mov edx, dword [ebp + 0xc]
mov dword [ebx + 9], edx
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x421a08
Capabilities:
Encode data using xor

Disassembly:
mov ecx, edx
mov edx, eax
xor eax, eax
rol ax, 5
xor al, byte [edx]
inc edx
dec ecx
jne 0x421a0e
ret