joyce8/EMBER2024-capa huggingface dataset:
Function at 0x46f25c
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x46f294
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.0046d313
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0046d2eb
jmp 0x46f2a0
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x47094f
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 0x470991
call fcn.00476736
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x470991
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x470988
xor eax, eax
jmp 0x470999
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0047099f
pop edi
pop esi
pop ebx
ret 4

Function at 0x476c66
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 0x476c94
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x476cb2
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00476bcc
jmp 0x476cb2
mov eax, dword [esi + 0x14]
test eax, eax
je 0x476cb2
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.00476bcc
test edi, edi
mov eax, edi
jne 0x476c9c
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x401079
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
xor ecx, ecx
push esi
push 8
mov eax, ecx
pop edx
mov esi, eax
and esi, 1
dec esi
not esi
and esi, 0xedb88320
shr eax, 1
xor eax, esi
dec edx
jne 0x401081
mov dword [ecx*4 + 0x437740], eax
inc ecx
cmp ecx, 0x100
jb 0x40107c
pop esi
ret

Function at 0x4010a8
Capabilities:
Encode data using xor

Disassembly:
mov eax, ecx
mov ecx, edx
mov edx, dword [esp + 4]
test edx, edx
jbe 0x4010d1
push esi
movzx esi, byte [ecx]
xor esi, eax
and esi, 0xff
shr eax, 8
xor eax, dword [esi*4 + 0x437740]
dec edx
inc ecx
test edx, edx
ja 0x4010b5
pop esi
ret 4

Function at 0x403acf
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov ecx, dword [ebp + 0x14]
mov edx, dword [ecx]
mov ecx, dword [ebp + 0xc]
xor eax, eax
and edx, 7
cmp ecx, 5
jae 0x403ae8
leave
ret
add dword [ebp + 0x10], 5
or dword [ebp + 0xc], 0xffffffff
push ebx
push esi
mov esi, dword [ebp + 8]
lea ecx, [esi + ecx - 4]
push edi
mov dword [ebp - 4], ecx
lea edi, [eax + esi]
jmp 0x403b0b
mov al, byte [edi]
and al, 0xfe
cmp al, 0xe8
je 0x403b10
inc edi
cmp edi, dword [ebp - 4]
jb 0x403b02
mov eax, edi
sub eax, esi
mov dword [ebp - 8], eax
cmp edi, dword [ebp - 4]
jae 0x403c08
mov ecx, eax
sub ecx, dword [ebp + 0xc]
cmp ecx, 3
jbe 0x403b67
xor edx, edx
mov cl, byte [edi + 4]
mov dword [ebp + 0xc], eax
test cl, cl
je 0x403b3b
cmp cl, 0xff
jne 0x403b92
movzx esi, cl
movzx ecx, byte [edi + 3]
shl esi, 8
or esi, ecx
movzx ecx, byte [edi + 2]
shl esi, 8
or esi, ecx
movzx ecx, byte [edi + 1]
shl esi, 8
or esi, ecx
cmp dword [ebp + 0x18], 0
je 0x403ba0
lea ebx, [esi + eax]
add ebx, dword [ebp + 0x10]
jmp 0x403ba7
dec ecx
shl edx, cl
and edx, 7
je 0x403b2c
movzx ecx, byte [edx + 0x42d414]
mov ebx, edi
sub ebx, ecx
cmp byte [edx + 0x42d40c], 0
mov cl, byte [ebx + 4]
je 0x403b8f
test cl, cl
je 0x403b8f
cmp cl, 0xff
jne 0x403b2c
mov dword [ebp + 0xc], eax
and edx, 3
add edx, edx
or edx, 1
inc eax
jmp 0x403afd
sub esi, eax
sub esi, dword [ebp + 0x10]
mov ebx, esi
test edx, edx
je 0x403bdb
movzx esi, byte [edx + 0x42d414]
push 0x18
shl esi, 3
pop ecx
sub ecx, esi
mov eax, ebx
shr eax, cl
test al, al
je 0x403bc6
cmp al, 0xff
jne 0x403bd8
mov eax, dword [ebp - 8]
push 0x20
pop ecx
sub ecx, esi
xor esi, esi
inc esi
shl esi, cl
dec esi
xor esi, ebx
jmp 0x403b59
mov eax, dword [ebp - 8]
mov esi, dword [ebp + 8]
mov ecx, ebx
shr ecx, 0x18
and cl, 1
dec cl
not cl
mov byte [edi + 4], cl
mov ecx, ebx
shr ecx, 0x10
mov byte [edi + 3], cl
mov ecx, ebx
shr ecx, 8
mov byte [edi + 2], cl
mov byte [edi + 1], bl
add eax, 5
jmp 0x403afd
mov esi, eax
sub esi, dword [ebp + 0xc]
push 3
lea ecx, [esi - 1]
shl edx, cl
pop edi
and edx, 7
cmp edi, esi
sbb ecx, ecx
not ecx
pop edi
and ecx, edx
mov edx, dword [ebp + 0x14]
pop esi
mov dword [edx], ecx
pop ebx
leave
ret
Function at 0x404dd1
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, ecx
xor ebx, ebx
push ebx
lea esi, [edi + 4]
push dword [esi]
call dword [0x42d2b8]
push 1
push 0xf060
push eax
mov dword [ebp - 4], eax
call dword [0x42d2c4]
push ebx
mov ecx, esi
call fcn.00403c9b
push 1
push esi
call fcn.0040fccc
pop ecx
pop ecx
push 0x80
push dword [0x437c3c]
call dword [0x42d334]
push eax
push 1
push 0x80
push dword [esi]
mov dword [edi + 0x28], eax
call dword [0x42d2ac]
push ebx
push ebx
push dword [esi]
push 0x404d57
push ebx
push ebx
call fcn.0041a61b
add esp, 0x18
push ebx
push ebx
push 1
push ebx
mov dword [edi + 0x24], eax
call dword [0x42d1b4]
cmp dword [ebp - 4], ebx
pop edi
pop esi
mov dword [0x437b40], eax
pop ebx
je 0x404e65
lea ecx, [ebp - 4]
call fcn.00403c64
xor eax, eax
inc eax
leave
ret 0x10

Function at 0x404e6c
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
push ebx
push esi
push edi
xor edi, edi
mov esi, ecx
push edi
push dword [esi + 4]
call dword [0x42d330]
push dword [ebp + 0xc]
lea ecx, [ebp - 0x4c]
call fcn.0040f2a1
mov ebx, dword [0x42d324]
push edi
call ebx
push eax
lea ecx, [ebp - 0x4c]
call fcn.00404a22
cmp eax, 1
jne 0x404ed1
push dword [0x437b44]
mov ebx, dword [0x42d264]
call ebx
push dword [esi + 0x24]
call ebx
push edi
push edi
push dword [esi + 4]
push 0x404d57
push edi
push edi
call fcn.0041a61b
add esp, 0x18
mov dword [esi + 0x24], eax
jmp 0x404f2e
lea ecx, [ebp - 0x24]
call fcn.0040efb9
push edi
call ebx
push eax
lea ecx, [ebp - 0x24]
call fcn.00404a73
cmp eax, 1
jne 0x404efc
push edi
push edi
push 0x404
push dword [esi + 4]
call dword [0x42d328]
jmp 0x404f26
push dword [0x437b44]
mov ebx, dword [0x42d264]
call ebx
push dword [esi + 0x24]
call ebx
push edi
push edi
push dword [esi + 4]
push 0x404d57
push edi
push edi
call fcn.0041a61b
add esp, 0x18
mov dword [esi + 0x24], eax
lea ecx, [ebp - 0x24]
call fcn.0040ef75
lea ecx, [ebp - 0x4c]
call fcn.0040f22f
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret 0x10
Function at 0x409810
Capabilities:
Read file on windows

Disassembly:
push ebp
lea ebp, [esp - 0xa8]
sub esp, 0x128
mov eax, dword [0x4362fc]
xor eax, ebp
mov dword [ebp + 0xa4], eax
mov eax, dword [ebp + 0xb4]
push ebx
push esi
mov esi, dword [ebp + 0xb8]
push edi
mov edi, dword [ebp + 0xbc]
push 0x42db1c
push dword [ebp + 0xb0]
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x60], esi
mov dword [ebp - 0x64], edi
call fcn.0041bf87
xor ebx, ebx
pop ecx
pop ecx
mov dword [ebp - 0x50], eax
cmp eax, ebx
jne 0x40988f
cmp esi, ebx
je 0x409888
lea eax, [ebp - 0x80]
push eax
call fcn.00408e5a
pop ecx
push 0xffffffffffffffff
push ebx
push eax
mov ecx, esi
call fcn.00405b99
push ebx
push 1
lea ecx, [ebp - 0x80]
call fcn.004055ed
xor al, al
jmp 0x40997f
cmp edi, ebx
je 0x40989a
mov eax, dword [edi]
mov dword [ebp - 0x5c], eax
jmp 0x40989d
mov dword [ebp - 0x5c], ebx
push 9
xor eax, eax
pop ecx
mov word [ebp + 0x7c], ax
lea edi, [ebp + 0x7e]
rep stosd dword es:[edi], eax
mov ecx, dword [ebp - 0x58]
push 0xffffffffffffffff
push ebx
stosw word es:[edi], ax
call fcn.004056ab
push 2
push ebx
push dword [ebp - 0x50]
call fcn.0041be3c
push dword [ebp - 0x50]
call fcn.0041bd44
push ebx
push ebx
push dword [ebp - 0x50]
mov edi, eax
call fcn.0041be3c
add esp, 0x1c
xor esi, esi
cmp edi, ebx
je 0x409941
push edi
call fcn.0041a267
push dword [ebp - 0x50]
mov ebx, eax
push 1
push edi
push ebx
call fcn.0041bb8a
push edi
push ebx
push esi
call fcn.00408525
mov esi, eax
xor ecx, ecx
push 2
pop edx
lea eax, [esi + 1]
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0041a267
push edi
push ebx
push eax
mov dword [ebp - 0x54], eax
call fcn.00408525
mov ecx, dword [ebp - 0x58]
add esp, 0x30
push esi
push dword [ebp - 0x54]
call fcn.00405c2c
push dword [ebp - 0x54]
call fcn.0041a1cf
push ebx
call fcn.0041a1cf
pop ecx
pop ecx
xor ebx, ebx
push esi
push edi
lea eax, [ebp + 0x7c]
push eax
lea eax, [ebp - 0x4c]
push 0x42dae4
push eax
call fcn.0041b75f
mov ecx, dword [ebp - 0x60]
add esp, 0x14
cmp ecx, ebx
je 0x409968
lea eax, [ebp - 0x4c]
push eax
call fcn.00405e40
push dword [ebp - 0x50]
call fcn.0041b86e
mov eax, dword [ebp - 0x64]
pop ecx
cmp eax, ebx
je 0x40997d
mov ecx, dword [ebp - 0x5c]
mov dword [eax], ecx
mov al, 1
mov ecx, dword [ebp + 0xa4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00419dc7
add ebp, 0xa8
leave
ret

Function at 0x40b713
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
cmp dword [ebp + 0xc], 1
push esi
push edi
mov esi, ecx
jne 0x40b780
push 1
lea ecx, [ebp - 0x28]
call fcn.0040f2a1
xor edi, edi
push edi
call dword [0x42d324]
push eax
lea ecx, [ebp - 0x28]
call fcn.00404a22
cmp eax, 1
jne 0x40b766
push dword [esi + 0x74]
call dword [0x42d264]
push edi
push edi
push dword [esi + 4]
push 0x40ab74
push edi
push edi
call fcn.0041a61b
add esp, 0x18
mov dword [esi + 0x74], eax
jmp 0x40b776
push dword [esi + 0x74]
call dword [0x42d264]
push edi
call dword [0x42d300]
lea ecx, [ebp - 0x28]
call fcn.0040f22f
jmp 0x40b799
xor edi, edi
push edi
push edi
push dword [esi + 4]
push 0x40acee
push edi
push edi
call fcn.0041a61b
add esp, 0x18
mov dword [esi + 0x6c], eax
pop edi
xor eax, eax
pop esi
leave
ret 0x10
Function at 0x40b7a1
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push ebx
push esi
push edi
mov esi, ecx
lea edi, [esi + 4]
push dword [edi]
call dword [0x42d34c]
lea ecx, [ebp - 0x28]
push ecx
push eax
mov dword [ebp - 4], eax
call dword [0x42d2b4]
push 1
lea eax, [ebp - 0x28]
push eax
mov ecx, edi
mov dword [ebp - 0x1c], 0x122
call fcn.0040a252
mov ebx, dword [0x42d2b0]
push 0x41e
push dword [edi]
call ebx
lea ecx, [ebp - 0x18]
push ecx
push eax
mov dword [ebp - 8], eax
call dword [0x42d354]
lea eax, [ebp - 0x18]
push eax
mov ecx, edi
call fcn.0040a27c
push 1
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 8]
mov dword [ebp - 0x10], 0x1f5
call fcn.0040a252
push 1
mov ecx, edi
call fcn.0040a2ee
push 0x3023
push dword [ebp - 4]
call ebx
push 0
push eax
call dword [0x42d330]
push 0
push dword [ebp - 4]
call dword [0x42d2b8]
push 1
push 0xf060
push eax
call dword [0x42d2c4]
push 2
push dword [ebp - 4]
call ebx
xor ebx, ebx
push ebx
push eax
call dword [0x42d308]
push ebx
push ebx
push dword [edi]
push 0x40ab74
push ebx
push ebx
call fcn.0041a61b
add esp, 0x18
mov dword [esi + 0x74], eax
mov eax, dword [0x436024]
push 0x110
lea ecx, [ebp - 4]
mov dword [ebp - 4], eax
call fcn.00404285
push 0x437b90
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
push eax
call fcn.0040a87f
push dword [0x437b90]
push dword [esi + 0x64]
call dword [0x42d2cc]
push dword [ebp - 8]
lea ecx, [esi + 0x5c]
call fcn.0040a203
push ebx
push 1
push 0x402
push dword [esi + 0x60]
call dword [0x42d2ac]
lea ecx, [ebp - 8]
call fcn.00403eb3
lea ecx, [ebp - 4]
call fcn.00403eb3
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret

Function at 0x40c308
Capabilities:
Create thread

Disassembly:
push esi
mov esi, ecx
call fcn.0040c1e6
push dword [esi + 0x6c]
call dword [0x42d264]
xor eax, eax
push eax
push eax
push esi
push 0x40b8db
push eax
push eax
call fcn.0041a61b
add esp, 0x18
mov dword [esi + 0x70], eax
xor eax, eax
pop esi
ret 0x10
Function at 0x4126b1
Capabilities:
Hash data with md5

Disassembly:
xor eax, eax
mov byte [ecx + 0x68], al
mov dword [ecx + 0x10], eax
mov dword [ecx + 0x14], eax
mov dword [ecx], 0x67452301
mov dword [ecx + 4], 0xefcdab89
mov dword [ecx + 8], 0x98badcfe
mov dword [ecx + 0xc], 0x10325476
ret

Function at 0x494fb7
Capabilities:
Encode data using xor

Disassembly:
aad 0x8e
loope 0x494efb
lds esp, [ebp + 0x40]
push ds
invalid
stc
lahf
jle 0x494fcd
outsb dx, byte [esi]
insd dword es:[edi], dx
or byte [edi + 0x6e], 0xfc
ja 0x494f55
sti
and ch, byte [edx + 0x71229852]
xchg edi, eax
or byte [ebp + 0x5012a185], 0xf9
xor dword [ecx + 0x47], ecx
test dword [ecx + 0x31f95012], esp
dec ecx
inc edi
inc ecx
cmp esp, ecx
or byte [eax], cl
or al, 0x33
push 0xe9025c31
aas
mov ebp, 0x1fcaba26
inc eax
imul ecx, dword [esi], 0x7026515c
push edi
jo 0x494ff8
rol dword [esi + 0x1facc75a], 0x90
cmp cl, byte [edi + 0x74]
ret 0x1146
Function at 0x40bd40
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov dword [0x438500], eax
xor eax, eax
nop
add eax, 1
mov ecx, dword [eax*4 + 0x4384fc]
mov edx, ecx
shr edx, 0x1e
xor edx, ecx
imul edx, edx, 0x6c078965
add edx, eax
mov dword [eax*4 + 0x438500], edx
cmp eax, 0x26f
jl 0x40bd48
mov dword [0x42b970], 0x270
ret

Function at 0x40bd80
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ebx
mov eax, 0xffffffff
mov esi, esi
add eax, 1
mov ecx, dword [eax*4 + 0x438504]
mov ebx, dword [eax*4 + 0x438500]
mov edx, ecx
and edx, 1
neg edx
and edx, 0x9908b0df
and ebx, 0x80000000
and ecx, 0x7fffffff
or ebx, ecx
shr ebx, 1
xor edx, ebx
xor edx, dword [eax*4 + 0x438b34]
mov dword [eax*4 + 0x438500], edx
cmp eax, 0xe2
jl 0x40bd88
mov eax, 0xe2
lea esi, [esi]
add eax, 1
mov ecx, dword [eax*4 + 0x438504]
mov ebx, dword [eax*4 + 0x438500]
mov edx, ecx
and edx, 1
neg edx
and edx, 0x9908b0df
and ebx, 0x80000000
and ecx, 0x7fffffff
or ebx, ecx
shr ebx, 1
xor edx, ebx
xor edx, dword [eax*4 + 0x438174]
mov dword [eax*4 + 0x438500], edx
cmp eax, 0x26e
jl 0x40bdd8
mov edx, dword [0x438500]
mov ecx, dword [0x438ebc]
mov eax, edx
and eax, 1
neg eax
and eax, 0x9908b0df
and ecx, 0x80000000
and edx, 0x7fffffff
or ecx, edx
shr ecx, 1
xor eax, ecx
xor eax, dword [0x438b30]
mov dword [0x438ebc], eax
mov dword [0x42b970], 0
pop ebx
ret

Function at 0x40be60
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
push ebx
mov ebx, dword [0x42b970]
add dword [0x42b970], 1
mov eax, dword [0x4370b0]
cmp eax, dword [0x42b490]
jne 0x40be83
cmp ebx, 0x271
jb 0x40bea4
mov eax, dword [0x4370b0]
call fcn.0040bd40
not dword [0x4370b0]
mov eax, dword [0x4370b0]
mov dword [0x42b490], eax
mov ebx, 0x270
mov esi, esi
cmp ebx, 0x270
jne 0x40bec0
call fcn.0040bd80
xor ebx, ebx
mov dword [0x42b970], 1
lea esi, [esi]
mov edx, dword [ebx*4 + 0x438500]
mov eax, edx
shr eax, 0xb
xor eax, edx
mov edx, eax
shl edx, 7
and edx, 0x9d2c5680
xor edx, eax
mov ecx, edx
shl ecx, 0xf
and ecx, 0xefc60000
xor ecx, edx
mov eax, ecx
shr eax, 0x12
xor eax, ecx
pop ebx
ret
Function at 0x40d930
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
push esi
push edi
mov ax, word [0x42b200]
cmp ax, 0xcb
je 0x40da3c
cmp ax, 0xcc
je 0x40da3c
lea esi, [esi]
mov edx, dword [0x439100]
test edx, edx
je 0x40d965
mov eax, dword [0x438fb0]
call edx
mov ebx, eax
jmp 0x40d96a
mov ebx, 0x438fb4
cmp word [0x438fa0], 0
jle 0x40d990
mov eax, 0x438f80
call fcn.0040dbf0
mov eax, ebx
call fcn.0040d4f0
mov eax, ebx
call fcn.0040d560
lea esi, [esi]
mov edi, dword [ebx]
jmp 0x40d9b2
mov esi, dword [edi + 4]
mov eax, dword [edi]
and eax, 1
jne 0x40d9ad
mov edx, edi
mov eax, ebx
call fcn.0040c960
jmp 0x40d9b0
and dword [edi], 0xfffffffe
mov edi, esi
test edi, edi
jne 0x40d998
mov dword [ebx], 0
mov dword [ebx + 0x88], 0
cmp word [0x438fa0], 0
jle 0x40da3c
mov edx, 0x438ec0
mov eax, ebx
call fcn.0040caa0
mov edi, eax
test edi, edi
je 0x40da0c
mov eax, dword [0x438f54]
mov dword [edi + 0xc], eax
cmp dword [0x438f54], 0
je 0x40da00
mov eax, dword [0x438f54]
mov dword [eax + 8], edi
mov eax, dword [ebx + 0x94]
mov dword [0x438f54], eax
nop
sub word [0x438fa0], 1
cmp word [0x438fa0], 0
sete bl
mov eax, 0x438f80
call fcn.0040dc10
test bl, bl
je 0x40da3c
mov eax, 0x438f80
call fcn.0040dbe0
lea esi, [esi]
pop edi
pop esi
pop ebx
ret
Function at 0x40fc90
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x114]
push ebx
push esi
push edi
mov dword [ebp - 0x10c], 0
mov dword [0x4382f0], 0
mov dword [ebp - 4], 0
push 0x104
lea eax, [ebp - 0x108]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov byte [ebp + eax - 0x108], 0
mov dword [ebp - 0x110], eax
mov ecx, eax
xor edx, edx
mov eax, ebp
call fcn.0040fe70
mov eax, dword [ebp - 0x110]
lea ecx, [eax + 1]
mov eax, dword [0x4382f0]
mov edx, dword [eax]
lea eax, [ebp - 0x108]
call fcn.00403c40
call sub.kernel32.dll_GetCommandLineA
mov dword [0x42b270], eax
mov ebx, eax
jmp 0x40fe33
add ebx, 1
movzx eax, byte [ebx]
sub eax, 1
cmp eax, 0x20
jb 0x40fd18
cmp byte [ebx], 0
je 0x40fe3c
nop
mov byte [ebp - 0x114], 0
mov edi, ebx
mov dword [ebp - 0x110], 0
jmp 0x40fd93
mov al, byte [ebx]
cmp al, 1
jb 0x40fd88
sub al, 0x20
jbe 0x40fd58
sub al, 2
je 0x40fd6c
jmp 0x40fd88
mov al, byte [ebp - 0x114]
test al, al
je 0x40fd98
add dword [ebp - 0x110], 1
jmp 0x40fd90
cmp byte [ebx + 1], 0x22
je 0x40fd83
mov al, byte [ebp - 0x114]
test al, al
sete byte [ebp - 0x114]
jmp 0x40fd90
add ebx, 1
jmp 0x40fd90
add dword [ebp - 0x110], 1
nop
add ebx, 1
cmp byte [ebx], 0
jne 0x40fd48
test dword [ebp - 0x10c], 0xffffffff
je 0x40fe2c
mov ecx, dword [ebp - 0x110]
mov edx, dword [ebp - 0x10c]
mov eax, ebp
call fcn.0040fe70
mov byte [ebp - 0x114], 0
mov ebx, edi
mov eax, dword [0x4382f0]
mov edx, dword [ebp - 0x10c]
mov esi, dword [eax + edx*4]
jmp 0x40fe23
mov al, byte [ebx]
cmp al, 1
jb 0x40fe18
sub al, 0x20
jbe 0x40fde8
sub al, 2
je 0x40fdfc
jmp 0x40fe18
mov al, byte [ebp - 0x114]
test al, al
je 0x40fe28
mov al, byte [ebx]
mov byte [esi], al
add esi, 1
jmp 0x40fe20
cmp byte [ebx + 1], 0x22
je 0x40fe13
mov al, byte [ebp - 0x114]
test al, al
sete byte [ebp - 0x114]
jmp 0x40fe20
add ebx, 1
jmp 0x40fe20
mov al, byte [ebx]
mov byte [esi], al
add esi, 1
nop
add ebx, 1
cmp byte [ebx], 0
jne 0x40fdd8
mov byte [esi], 0
nop
add dword [ebp - 0x10c], 1
cmp byte [ebx], 0
jne 0x40fd1b
mov ebx, dword [ebp - 0x10c]
mov dword [0x4382e0], ebx
lea edx, [ebx + 1]
shl edx, 2
mov eax, 0x4382f0
call fcn.0040d770
mov eax, dword [0x4382f0]
mov dword [eax + ebx*4], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x411ec0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x118]
push ebx
push esi
push edi
mov esi, eax
mov edi, edx
mov dword [ebp - 0x118], ecx
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x114], eax
mov al, byte [ebp + 8]
mov byte [ebp - 0x110], al
mov dword [ebp - 0xc], 0
xor eax, eax
push fcn.00411eb0
push ebp
push 0x410b00
push dword fs:[eax]
mov dword fs:[eax], esp
push dword [ebp - 0x114]
push dword [ebp - 0x118]
push edi
call sub.kernel32.dll_FindResourceA
mov dword [esi + 0x10], eax
test eax, eax
jne 0x411fd0
mov al, byte [ebp - 0x110]
test al, al
je 0x411f99
push 0xff
mov eax, dword [ebp - 0x118]
lea ecx, [ebp - 0x10c]
mov edx, 0xffffffff
call fcn.00404f70
lea ecx, [ebp - 0xc]
xor dx, dx
lea eax, [ebp - 0x10c]
call fcn.00408140
xor cl, cl
xor dx, dx
lea eax, [ebp - 0xc]
call fcn.00408cc0
mov eax, dword [ebp - 0xc]
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0xb
lea eax, [ebp - 8]
push eax
push 0
mov ecx, dword [str.Resource___s__not_found]
mov edx, 1
mov eax, 0x42e1bc
call fcn.00425a30
mov edx, 0x411f2a
mov ecx, ebp
call fcn.004109c0
jmp 0x411fd0
mov eax, dword [ebp - 0x118]
mov dword [ebp - 4], eax
mov dword [ebp - 8], 6
lea eax, [ebp - 8]
push eax
push 0
mov ecx, dword [str.Resource___s__not_found]
mov edx, 1
mov eax, 0x42e1bc
call fcn.00425a30
mov edx, 0x411f99
mov ecx, ebp
call fcn.004109c0
push dword [esi + 0x10]
push edi
call sub.kernel32.dll_LoadResource
mov dword [esi + 0x14], eax
test eax, eax
jne 0x412094
mov al, byte [ebp - 0x110]
test al, al
je 0x41205d
push 0xff
mov eax, dword [ebp - 0x118]
lea ecx, [ebp - 0x10c]
mov edx, 0xffffffff
call fcn.00404f70
lea ecx, [ebp - 0xc]
xor dx, dx
lea eax, [ebp - 0x10c]
call fcn.00408140
xor cl, cl
xor dx, dx
lea eax, [ebp - 0xc]
call fcn.00408cc0
mov eax, dword [ebp - 0xc]
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0xb
lea eax, [ebp - 8]
push eax
push 0
mov ecx, dword [str.Resource___s__not_found]
mov edx, 1
mov eax, 0x42e1bc
call fcn.00425a30
mov edx, 0x411fee
mov ecx, ebp
call fcn.004109c0
jmp 0x412094
mov eax, dword [ebp - 0x118]
mov dword [ebp - 4], eax
mov dword [ebp - 8], 6
lea eax, [ebp - 8]
push eax
push 0
mov ecx, dword [str.Resource___s__not_found]
mov edx, 1
mov eax, 0x42e1bc
call fcn.00425a30
mov edx, 0x41205d
mov ecx, ebp
call fcn.004109c0
push dword [esi + 0x10]
push edi
call sub.kernel32.dll_SizeofResource
mov ebx, eax
push dword [esi + 0x14]
call sub.kernel32.dll_LockResource
mov edx, eax
mov eax, esi
mov ecx, ebx
call fcn.00411bf0
xor eax, eax
pop edx
add esp, 0xc
mov dword fs:[eax], edx
mov eax, ebp
call fcn.00411eb0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x416000
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, eax
push dword [ebx + 4]
call sub.kernel32.dll_ResumeThread
cmp eax, 1
jne 0x41601c
mov dword [ebx + 0xc], 0
mov esi, esi
pop ebx
mov esp, ebp
pop ebp
ret