joyce8/EMBER2024-capa huggingface dataset:
Function at 0x414c00
Capabilities:
Read file on windows

Disassembly:
push ebx
push ebp
push esi
mov esi, dword [esp + 0x10]
test esi, esi
push edi
mov ebx, ecx
je 0x414c47
mov edi, dword [esp + 0x1c]
mov ebp, dword [esp + 0x18]
mov eax, dword [ebx + 0x5c]
push 0
push 0
push esi
push eax
call fcn.0043afba
mov ecx, dword [ebx + 0x5c]
push ecx
push 1
push 0x50
push edi
call fcn.0043af06
add esp, 0x20
cmp dword [edi + 4], ebp
jae 0x414c50
mov eax, dword [edi + 8]
cmp esi, eax
je 0x414c47
mov esi, eax
test esi, esi
jne 0x414c16
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret 0xc
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
ret 0xc

Function at 0x414cb0
Capabilities:
Write file on windows

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0xc]
cmp dword [esi + 0xc], 0
push edi
mov edi, ecx
jne 0x414cca
mov eax, dword [esi + 8]
mov dword [edi + 0x84], eax
jmp 0x414cfe
mov ecx, dword [esi + 8]
push ebp
mov ebp, dword [esp + 0x18]
push 0
mov dword [ebp + 8], ecx
mov edx, dword [esi + 0xc]
mov eax, dword [edi + 0x5c]
push 0
push edx
push eax
call fcn.0043afba
mov ebx, dword [edi + 0x5c]
push ebx
push 1
push 0x50
push ebp
call fcn.00436e9a
push ebx
call fcn.004387d0
add esp, 0x24
pop ebp
cmp dword [esi + 8], 0
je 0x414d36
mov ecx, dword [esi + 0xc]
mov ebx, dword [esp + 0x18]
push 0
mov dword [ebx + 0xc], ecx
mov edx, dword [esi + 8]
mov eax, dword [edi + 0x5c]
push 0
push edx
push eax
call fcn.0043afba
mov edi, dword [edi + 0x5c]
push edi
push 1
push 0x50
push ebx
call fcn.00436e9a
push edi
call fcn.004387d0
add esp, 0x24
pop edi
pop esi
pop ebx
ret 0xc

Function at 0x414d40
Capabilities:
Read file on windows
Write file on windows

Disassembly:
sub esp, 0x50
push ebx
mov ebx, dword [esp + 0x5c]
push ebp
mov ebp, dword [esp + 0x5c]
push esi
mov esi, ecx
mov eax, dword [esi + 0x84]
test eax, eax
je 0x414dc9
push edi
push 0x50
mov dword [ebp + 8], eax
lea eax, [esp + 0x14]
push 0
push eax
call fcn.00437da0
mov ecx, dword [esi + 0x84]
mov edx, dword [esi + 0x5c]
push 0
push 0
push ecx
push edx
call fcn.0043afba
mov eax, dword [esi + 0x5c]
push eax
push 1
lea ecx, [esp + 0x34]
push 0x50
push ecx
call fcn.0043af06
mov edx, dword [esi + 0x84]
mov eax, dword [esi + 0x5c]
push 0
push 0
push edx
push eax
mov dword [esp + 0x58], ebx
call fcn.0043afba
mov edi, dword [esi + 0x5c]
push edi
push 1
lea ecx, [esp + 0x54]
push 0x50
push ecx
call fcn.00436e9a
add esp, 0x4c
push edi
call fcn.004387d0
add esp, 4
pop edi
push 0
mov dword [esi + 0x84], ebx
push 0
mov dword [ebp + 0xc], 0
mov edx, dword [esi + 0x5c]
push ebx
push edx
call fcn.0043afba
mov esi, dword [esi + 0x5c]
push esi
push 1
push 0x50
push ebp
call fcn.00436e9a
push esi
call fcn.004387d0
add esp, 0x24
pop esi
pop ebp
pop ebx
add esp, 0x50
ret 8
Function at 0x414e10
Capabilities:
Read file on windows
Write file on windows

Disassembly:
sub esp, 0xf0
push ebx
push ebp
push esi
push edi
push 0x50
lea eax, [esp + 0x14]
push 0
push eax
mov esi, ecx
call fcn.00437da0
push 0x50
lea ecx, [esp + 0x70]
push 0
push ecx
call fcn.00437da0
mov edi, dword [esp + 0x11c]
mov eax, dword [edi + 0xc]
add esp, 0x18
test eax, eax
je 0x414e6c
mov edx, dword [esi + 0x5c]
push 0
push 0
push eax
push edx
call fcn.0043afba
mov eax, dword [esi + 0x5c]
push eax
push 1
lea ecx, [esp + 0x28]
push 0x50
push ecx
call fcn.0043af06
add esp, 0x20
mov eax, dword [edi + 8]
test eax, eax
je 0x414e96
mov edx, dword [esi + 0x5c]
push 0
push 0
push eax
push edx
call fcn.0043afba
mov eax, dword [esi + 0x5c]
push eax
push 1
lea ecx, [esp + 0x78]
push 0x50
push ecx
call fcn.0043af06
add esp, 0x20
lea edx, [esp + 0x60]
push edx
lea eax, [esp + 0x14]
push eax
push edi
mov ecx, esi
call fcn.00414cb0
mov ebx, dword [edi + 4]
mov ebp, dword [esp + 0x108]
sub ebx, ebp
cmp ebx, 0x534
jb 0x414efe
push 0x50
lea ecx, [esp + 0xb4]
push 0
push ecx
mov dword [edi + 4], ebp
call fcn.00437da0
mov edx, dword [esp + 0x118]
add esp, 0xc
lea eax, [edx + ebp + 0x134]
push eax
lea ecx, [esp + 0xb4]
add ebx, 0xfffffecc
push ecx
mov ecx, esi
mov dword [esp + 0xbc], ebx
call fcn.00414d40
mov edx, dword [esp + 0x10c]
mov eax, dword [esi + 0x5c]
push 0
add edx, 0xe4
push 0
push edx
push eax
call fcn.0043afba
mov esi, dword [esi + 0x5c]
push esi
push 1
push 0x50
push edi
call fcn.00436e9a
push esi
call fcn.004387d0
add esp, 0x24
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xf0
ret 0xc

Function at 0x414f40
Capabilities:
Read file on windows

Disassembly:
sub esp, 0xf0
mov eax, dword [0x46dd54]
xor eax, esp
mov dword [esp + 0xec], eax
push esi
mov esi, ecx
mov ecx, dword [esp + 0xf8]
mov eax, dword [ecx]
test eax, eax
je 0x414fb7
push 0
push 0
push eax
mov eax, dword [esi + 0x5c]
push eax
call fcn.0043afba
push 0xec
lea ecx, [esp + 0x18]
push 0
push ecx
call fcn.00437da0
mov edx, dword [esi + 0x5c]
push edx
push 1
lea eax, [esp + 0x28]
push 0xec
push eax
call fcn.0043af06
mov eax, dword [esp + 0x34]
add esp, 0x2c
pop esi
mov ecx, dword [esp + 0xec]
xor ecx, esp
call fcn.00436c82
add esp, 0xf0
ret 4
push edi
mov edi, dword [ecx + 8]
test edi, edi
je 0x414ffc
push 0xec
lea ecx, [esp + 0xc]
push 0
push ecx
call fcn.00437da0
mov edx, dword [esi + 0x5c]
push 0
push 0
push edi
push edx
call fcn.0043afba
mov eax, dword [esi + 0x5c]
push eax
push 1
lea ecx, [esp + 0x2c]
push 0xec
push ecx
call fcn.0043af06
mov eax, dword [esp + 0x40]
add esp, 0x2c
jmp 0x414fff
mov eax, dword [esi + 0x78]
mov ecx, dword [esp + 0xf4]
pop edi
pop esi
xor ecx, esp
call fcn.00436c82
add esp, 0xf0
ret 4
Function at 0x415320
Capabilities:
Read file on windows
Write file on windows

Disassembly:
sub esp, 0xc0
push ebx
xor eax, eax
push ebp
push esi
mov ebp, ecx
mov ecx, dword [esp + 0xd0]
push edi
mov edi, dword [ebp + 0x88]
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x18]
push eax
add ecx, 0x24
push ecx
call fcn.00417c10
mov edx, dword [esp + 0xe0]
mov esi, dword [ebp + 0x5c]
xor ebx, ebx
add esp, 8
test edi, edi
mov dword [esp + 0x28], edx
mov dword [esp + 0x14], ebx
je 0x4153d7
lea esp, [esp]
xor ebx, ebx
push 0x4c
lea eax, [esp + 0x88]
push ebx
push eax
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], ebx
call fcn.00437da0
push ebx
push ebx
push edi
push esi
call fcn.0043afba
push esi
push 1
lea ecx, [esp + 0xa8]
push 0x4c
push ecx
call fcn.0043af06
mov eax, dword [esp + 0xb4]
add esp, 0x2c
cmp dword [esp + 0x84], eax
ja 0x4153eb
mov edi, dword [esp + 0x8c]
test edi, edi
jne 0x415380
mov ebx, dword [esp + 0x10]
push esi
call fcn.00436d04
add esp, 4
cmp dword [ebp + 0x18], 0x10
jb 0x41544a
mov eax, dword [ebp + 4]
jmp 0x41544d
mov edx, dword [esp + 0xd8]
push 0
lea eax, [eax + eax*2]
lea ecx, [edi + eax*8 + 0x4c]
push 0
push ecx
push esi
mov dword [esp + 0x38], edx
call fcn.0043afba
push esi
push 1
lea edx, [esp + 0x30]
push 0x18
push edx
call fcn.00436e9a
push esi
call fcn.004387d0
add dword [esp + 0xac], 1
push 0
push 0
push edi
push esi
call fcn.0043afba
push esi
push 1
lea eax, [esp + 0xc0]
push 0x4c
push eax
call fcn.00436e9a
add esp, 0x44
jmp 0x415532
lea eax, [ebp + 4]
push 0x45ac98
push eax
call fcn.00436feb
push 2
push 0
mov esi, eax
push 0
push esi
call fcn.0043afba
push esi
call fcn.0043ac5f
push 0x4c
lea ecx, [esp + 0x58]
push 0
push ecx
mov edi, eax
mov dword [esp + 0x5c], edx
call fcn.00437da0
push esi
push 1
lea edx, [esp + 0x68]
push 0x4c
push edx
mov dword [esp + 0x70], 0x40
mov dword [esp + 0x74], 1
mov dword [esp + 0x78], 0
call fcn.00436e9a
push esi
call fcn.004387d0
push esi
call fcn.0043ac5f
mov eax, dword [esp + 0x78]
add esp, 0x40
push esi
push eax
lea ecx, [esp + 0x20]
push 0x18
push ecx
call fcn.00436e9a
push esi
call fcn.004387d0
push esi
call fcn.00436d04
add esp, 0x18
cmp dword [ebp + 0x18], 0x10
jb 0x4154e2
mov eax, dword [ebp + 4]
jmp 0x4154e5
lea eax, [ebp + 4]
push 0x45ac94
push eax
call fcn.00436feb
mov esi, eax
mov dword [ebp + 0x5c], esi
mov ebp, dword [esp + 0x1c]
push 0
push ebp
push ebx
push esi
call fcn.0043afba
push esi
push 1
lea edx, [esp + 0x58]
push 0x4c
push edx
call fcn.0043af06
push 0
push ebp
push ebx
push esi
mov dword [esp + 0x78], edi
call fcn.0043afba
push esi
push 1
lea eax, [esp + 0x78]
push 0x4c
push eax
call fcn.00436e9a
add esp, 0x48
push esi
call fcn.004387d0
add esp, 4
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0xc0
ret 8
Function at 0x416570
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x50
mov eax, dword [esp + 0x54]
test eax, eax
push ebx
mov ebx, ecx
mov dword [esp + 4], ebx
je 0x416695
push ebp
push esi
push edi
lea esp, [esp]
push 0
push 0
push eax
mov eax, dword [ebx + 0x5c]
push eax
call fcn.0043afba
push 0x4c
lea ecx, [esp + 0x28]
push 0
push ecx
call fcn.00437da0
mov edx, dword [ebx + 0x5c]
push edx
push 1
lea eax, [esp + 0x38]
push 0x4c
push eax
call fcn.0043af06
add esp, 0x2c
test eax, eax
je 0x416692
cmp dword [ebx + 0x154], 0
jne 0x4165e3
lea edi, [ebx + 0x150]
mov ecx, 0x13
lea esi, [esp + 0x14]
rep movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0x18]
test eax, eax
je 0x416686
xor ecx, ecx
mov edi, eax
mov edx, 0x18
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0041aea2
mov esi, eax
add esp, 4
test esi, esi
je 0x416631
lea eax, [edi - 1]
test eax, eax
jl 0x41662d
lea eax, [eax + eax*2 + 3]
add eax, eax
add eax, eax
add eax, eax
push eax
push 0
push esi
call fcn.00437da0
add esp, 0xc
mov ebp, esi
jmp 0x416633
xor ebp, ebp
mov eax, dword [esp + 0x18]
mov ecx, dword [ebx + 0x5c]
lea edx, [eax + eax*2]
add edx, edx
push ecx
add edx, edx
push 1
add edx, edx
push edx
push ebp
call fcn.0043af06
xor edi, edi
add esp, 0x10
cmp dword [esp + 0x18], edi
jbe 0x41667d
add ebx, 0x19c
mov esi, ebp
push esi
mov ecx, ebx
call fcn.004164e0
mov ecx, dword [esi + 0x10]
add edi, 1
mov dword [eax], ecx
add esi, 0x18
cmp edi, dword [esp + 0x18]
jb 0x416660
mov ebx, dword [esp + 0x10]
push ebp
call fcn.0041aea7
add esp, 4
mov eax, dword [esp + 0x1c]
test eax, eax
jne 0x416590
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x50
ret 4

Function at 0x4167b1
Capabilities:
Read file on windows

Disassembly:
push ebx
push esi
mov esi, ecx
push edi
mov dword [esi + 0x1c0], 0
call fcn.00416440
mov ebx, dword [esp + 0x10]
push 0x45ac9c
push ebx
call fcn.00436feb
mov edi, eax
add esp, 8
test edi, edi
jne 0x4167e4
pop edi
pop esi
xor al, al
pop ebx
ret 4
mov eax, ebx
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x4167f0
sub eax, edx
push eax
push ebx
mov ecx, esi
call fcn.00401d00
push edi
push 1
lea ebx, [esi + 0x60]
push 0xf0
push ebx
mov dword [esi + 0x5c], edi
call fcn.0043af06
add esp, 0x10
test eax, eax
je 0x4167dc
cmp dword [ebx], 1
jne 0x4167dc
lea eax, [esi + 0x90]
push eax
call fcn.00452e6c
add esp, 4
push 0xf0
mov ecx, esi
call fcn.00416570
pop edi
pop esi
mov al, 1
pop ebx
ret 4
Function at 0x416940
Capabilities:
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x455618
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x46dd54]
xor eax, esp
mov dword [esp + 0x1c], eax
push ebp
push esi
push edi
mov eax, dword [0x46dd54]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov eax, dword [esp + 0x40]
push 0
mov edi, ecx
mov ecx, dword [edi + 0x5c]
push 0
push eax
push ecx
call fcn.0043afba
push 0xec
call fcn.0041ae77
mov esi, eax
add esp, 0x14
test esi, esi
je 0x4169aa
push 0xec
push 0
push esi
call fcn.00437da0
add esp, 0xc
jmp 0x4169ac
xor esi, esi
mov edx, dword [edi + 0x5c]
push edx
push 1
push 0xec
push esi
call fcn.0043af06
lea ecx, [esi + 0x24]
mov eax, ecx
add esp, 0x10
mov dword [esp + 0x28], 0xf
mov dword [esp + 0x24], 0
mov byte [esp + 0x14], 0
lea ebp, [eax + 1]
lea ecx, [ecx]
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x4169e0
sub eax, ebp
push eax
push ecx
lea ecx, [esp + 0x18]
call fcn.00401d00
lea eax, [esp + 0x10]
push eax
lea ecx, [edi + 0x1a8]
mov dword [esp + 0x3c], 0
call fcn.004144e0
mov dword [eax], esi
mov eax, dword [esi + 4]
test eax, eax
je 0x416a1f
push eax
mov ecx, edi
call fcn.00416940
mov esi, dword [esi + 0xc]
test esi, esi
je 0x416a2e
push esi
mov ecx, edi
call fcn.00416940
cmp dword [esp + 0x28], 0x10
jb 0x416a42
mov ecx, dword [esp + 0x14]
push ecx
call fcn.0041aea7
add esp, 4
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.00436c82
add esp, 0x2c
ret 4
Function at 0x416a70
Capabilities:
Print debug messages
Read file on windows
Write file on windows

Disassembly:
sub esp, 0x1a8
mov eax, dword [0x46dd54]
xor eax, esp
mov dword [esp + 0x1a4], eax
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x1bc]
push str.VFS:_del_file_start_n
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov ecx, esi
call fcn.00416440
push 0
lea eax, [esi + 0x90]
push eax
push edi
call fcn.00417a70
mov edi, eax
mov eax, dword [esi + 0x78]
add esp, 0xc
test eax, eax
je 0x416acf
cmp dword [esi + 0x1b0], 0
jne 0x416acf
push eax
mov ecx, esi
call fcn.00416940
test edi, edi
je 0x416ae1
lea ecx, [esp + 0x20]
push ecx
push edi
call fcn.00417c10
add esp, 8
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x14]
lea ebp, [esi + 0x19c]
push eax
mov ecx, ebp
call fcn.00415680
mov ebx, dword [esp + 0x10]
test ebx, ebx
mov ecx, dword [ebp + 4]
mov dword [esp + 0x1c], ecx
je 0x416b0b
cmp ebx, ebp
je 0x416b10
call fcn.00437128
mov edi, dword [esp + 0x14]
cmp edi, dword [esp + 0x1c]
jne 0x416b24
mov eax, 3
jmp 0x416c79
mov edx, dword [esi + 0x5c]
push edx
call fcn.00436d04
add esp, 4
cmp dword [esi + 0x18], 0x10
jb 0x416b3b
mov eax, dword [esi + 4]
jmp 0x416b3e
lea eax, [esi + 4]
push 0x45ac94
push eax
call fcn.00436feb
add esp, 8
test ebx, ebx
mov dword [esi + 0x5c], eax
jne 0x416b58
call fcn.00437128
cmp edi, dword [ebx + 4]
jne 0x416b62
call fcn.00437128
cmp edi, dword [ebx + 4]
mov eax, dword [edi + 0x20]
mov dword [esp + 0x10], eax
jne 0x416b73
call fcn.00437128
mov ecx, dword [edi + 0x20]
mov edx, dword [esi + 0x5c]
push 0
push 0
push ecx
push edx
call fcn.0043afba
push 0xe4
lea eax, [esp + 0xe4]
push 0
push eax
call fcn.00437da0
mov ecx, dword [esi + 0x5c]
push ecx
push 1
lea edx, [esp + 0xf4]
push 0xe4
push edx
call fcn.0043af06
push 0x50
lea eax, [esp + 0xb0]
push 0
push eax
call fcn.00437da0
mov ecx, dword [esi + 0x5c]
push ecx
push 1
lea edx, [esp + 0xc0]
push 0x50
push edx
call fcn.0043af06
add dword [esi + 0x64], 0xffffffff
add esp, 0x48
push edi
push ebx
lea eax, [esp + 0x20]
push eax
mov ecx, ebp
call fcn.00415890
lea ecx, [esp + 0x20]
push ecx
push 0xf0
mov ecx, esi
call fcn.004149f0
lea edx, [esp + 0xd0]
push edx
mov ecx, esi
call fcn.00415e80
push 0x50
lea eax, [esp + 0x34]
push 0
push eax
call fcn.00437da0
mov ecx, dword [esp + 0x90]
mov edx, dword [esp + 0x1c]
add esp, 0xc
push edx
lea eax, [esp + 0x34]
mov dword [esp + 0x38], ecx
push eax
mov ecx, esi
mov dword [esp + 0x38], 1
call fcn.00414d40
mov ecx, dword [esi + 0x5c]
push 0
push 0
push 0
push ecx
call fcn.0043afba
mov edi, dword [esi + 0x5c]
push edi
push 1
push 0xf0
add esi, 0x60
push esi
call fcn.00436e9a
push edi
call fcn.004387d0
add esp, 0x24
push str.VFS:_del_file_finsihed_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
xor eax, eax
mov ecx, dword [esp + 0x1b4]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00436c82
add esp, 0x1a8
ret 4
Function at 0x4180e0
Capabilities:
Create directory

Disassembly:
push 0xffffffffffffffff
push 0x455730
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x46dd54]
xor eax, esp
mov dword [esp + 0x4c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x46dd54]
xor eax, esp
push eax
lea eax, [esp + 0x64]
mov dword fs:[0], eax
mov edi, dword [esp + 0x74]
xor ebx, ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov eax, edi
mov dword [esp + 0x6c], ebx
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x418130
sub eax, edx
xor esi, esi
mov ebp, eax
mov dword [esp + 0x14], esi
cmp esi, 2
je 0x418161
mov al, byte [edi + esi]
cmp al, 0x5c
je 0x418153
cmp al, 0x2f
jne 0x418161
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x1c]
call fcn.00418070
add esi, 1
cmp esi, ebp
mov dword [esp + 0x14], esi
jbe 0x418143
mov eax, dword [esp + 0x1c]
cmp eax, ebx
je 0x4182ba
mov ecx, dword [esp + 0x20]
sub ecx, eax
sar ecx, 2
je 0x4182b1
mov eax, edi
mov dword [esp + 0x5c], 0xf
mov dword [esp + 0x58], ebx
mov byte [esp + 0x48], bl
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x4181a0
sub eax, edx
push eax
push edi
lea ecx, [esp + 0x4c]
call fcn.00401d00
mov ebp, dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov byte [esp + 0x6c], 1
xor esi, esi
mov edi, 0x10
jmp 0x4181d0
mov ecx, dword [esp + 0x1c]
cmp ecx, ebx
je 0x4182be
mov eax, dword [esp + 0x20]
sub eax, ecx
sar eax, 2
cmp esi, eax
jae 0x4182be
mov edx, dword [ecx + esi*4]
push edx
push ebx
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x50]
call fcn.0040cfd0
cmp dword [esp + 0x40], edi
mov eax, dword [esp + 0x2c]
jae 0x41820e
lea eax, [esp + 0x2c]
push ebx
push eax
call fcn.0043b5c1
add esp, 8
cmp eax, 0xffffffff
je 0x418235
cmp dword [esp + 0x40], edi
jb 0x41825e
mov ecx, dword [esp + 0x2c]
push ecx
call fcn.0041aea7
add esp, 4
add esi, 1
jmp 0x4181d0
cmp dword [esp + 0x40], edi
mov eax, dword [esp + 0x2c]
jae 0x418243
lea eax, [esp + 0x2c]
push ebx
push eax
call ebp
test eax, eax
je 0x418266
cmp dword [esp + 0x40], edi
jb 0x41825e
mov edx, dword [esp + 0x2c]
push edx
call fcn.0041aea7
add esp, 4
add esi, 1
jmp 0x4181d0
cmp dword [esp + 0x40], edi
jb 0x418279
mov eax, dword [esp + 0x2c]
push eax
call fcn.0041aea7
add esp, 4
cmp dword [esp + 0x5c], edi
mov esi, 0xf
mov dword [esp + 0x40], esi
mov dword [esp + 0x3c], ebx
mov byte [esp + 0x2c], bl
jb 0x41829d
mov ecx, dword [esp + 0x48]
push ecx
call fcn.0041aea7
add esp, 4
mov eax, dword [esp + 0x1c]
cmp eax, ebx
mov dword [esp + 0x5c], esi
mov dword [esp + 0x58], ebx
mov byte [esp + 0x48], bl
je 0x4182ba
push eax
call fcn.0041aea7
add esp, 4
xor al, al
jmp 0x4182f4
cmp dword [esp + 0x5c], edi
jb 0x4182d5
mov edx, dword [esp + 0x48]
push edx
call fcn.0041aea7
mov ecx, dword [esp + 0x20]
add esp, 4
cmp ecx, ebx
mov dword [esp + 0x5c], 0xf
mov dword [esp + 0x58], ebx
mov byte [esp + 0x48], bl
je 0x4182f2
push ecx
call fcn.0041aea7
add esp, 4
mov al, 1
mov ecx, dword [esp + 0x64]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x4c]
xor ecx, esp
call fcn.00436c82
add esp, 0x5c
ret
Function at 0x418470
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, dword [esp + 0xc]
test esi, esi
jne 0x41847f
xor eax, eax
pop esi
ret 0xc
mov eax, dword [0x46b7d8]
test eax, eax
je 0x41848d
call fcn.00418320
mov edx, dword [esp + 0x10]
cmp edx, 8
mov eax, dword [esp + 8]
not eax
jb 0x418581
push ebx
push edi
mov edi, edx
shr edi, 3
xor ecx, ecx
mov cl, byte [esi]
mov ebx, eax
shr ebx, 8
sub edx, 8
xor ecx, eax
and ecx, 0xff
mov eax, dword [ecx*4 + 0x470090]
xor eax, ebx
xor ecx, ecx
mov cl, byte [esi + 1]
inc esi
xor ecx, eax
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x470090]
shr eax, 8
xor ecx, eax
xor eax, eax
mov al, byte [esi + 1]
inc esi
xor eax, ecx
and eax, 0xff
mov eax, dword [eax*4 + 0x470090]
shr ecx, 8
xor eax, ecx
xor ecx, ecx
mov cl, byte [esi + 1]
inc esi
xor ecx, eax
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x470090]
shr eax, 8
xor ecx, eax
xor eax, eax
mov al, byte [esi + 1]
inc esi
xor eax, ecx
and eax, 0xff
mov eax, dword [eax*4 + 0x470090]
shr ecx, 8
xor eax, ecx
xor ecx, ecx
mov cl, byte [esi + 1]
inc esi
xor ecx, eax
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x470090]
shr eax, 8
xor ecx, eax
xor eax, eax
mov al, byte [esi + 1]
inc esi
xor eax, ecx
and eax, 0xff
mov eax, dword [eax*4 + 0x470090]
shr ecx, 8
xor eax, ecx
xor ecx, ecx
mov cl, byte [esi + 1]
inc esi
xor ecx, eax
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x470090]
shr eax, 8
xor eax, ecx
inc esi
dec edi
jne 0x4184a7
pop edi
pop ebx
test edx, edx
je 0x4185a1
xor ecx, ecx
mov cl, byte [esi]
xor ecx, eax
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x470090]
shr eax, 8
xor eax, ecx
inc esi
dec edx
jne 0x418585
not eax
pop esi
ret 0xc
Function at 0x41f7ac
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
cmp dword [ebp + 0xc], ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], ebx
je 0x41f7f2
call fcn.00420a41
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x41f7f2
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
mov dword [ebp - 4], eax
je 0x41f835
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
mov esi, dword [ebp + 8]
mov dword [ebp + 0xc], 1
je 0x41f81e
push dword [ebp + 0x10]
mov eax, dword [edi]
push ebx
push esi
mov ecx, edi
call dword [eax + 0x20]
cmp dword [ebp - 4], 0
mov dword [ebp + 0xc], eax
je 0x41f81e
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x4c], 0
je 0x41f832
mov ecx, dword [esi + 0x4c]
push dword [ebp + 0x10]
mov eax, dword [ecx]
call dword [eax + 0xa0]
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x424b41
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x424b7a
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.0041f129
push eax
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0041dc8f
pop esi
ret 4
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
pop esi
jmp dword [eax + 0x8c]

Function at 0x42668d
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push ebp
push esi
push edi
xor edi, edi
xor ebx, ebx
cmp dword [esp + 0x14], edi
mov ebp, ecx
je 0x4266d0
call fcn.00420a41
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x4266d0
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x4266eb
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
push ebx
mov ecx, ebp
call fcn.00426244
test ebx, ebx
mov esi, eax
je 0x4266e9
test edi, edi
je 0x4266e9
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
ret 4

Function at 0x42727b
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x4272a9
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4272c7
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.004271e5
jmp 0x4272c7
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4272c7
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
push eax
mov ecx, esi
call fcn.004271e5
test edi, edi
mov eax, edi
jne 0x4272b1
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
mov ecx, dword [0x471fc0]
test ecx, ecx
je 0x42738a
jmp 0x42727a
ret 8
Function at 0x436c82
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x46dd54]
jne 0x436c8c
repz ret
jmp fcn.00441abc

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

Disassembly:
push esi
xor esi, esi
cmp dword [esp + 8], esi
jne 0x43b567
call fcn.0043ba91
mov dword [eax], esi
call fcn.0043ba7e
push esi
push esi
push esi
push esi
push esi
mov dword [eax], 0x16
call fcn.00437104
add esp, 0x14
push 0x16
pop eax
pop esi
ret
test dword [esp + 0xc], 0xfffffff9
jne 0x43b543
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x43b596
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0043baa4
pop ecx
call fcn.0043ba7e
mov eax, dword [eax]
pop esi
ret
test al, 0x10
jne 0x43b5bd
test al, 1
je 0x43b5bd
test byte [esp + 0xc], 2
je 0x43b5bd
call fcn.0043ba91
mov dword [eax], 5
call fcn.0043ba7e
mov dword [eax], 0xd
jmp 0x43b58d
xor eax, eax
pop esi
ret