joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4398d5
Capabilities:
Write file on windows

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push esi
push edi
xor esi, esi
xor edi, edi
cmp ebx, dword [edi*8 + 0x45e800]
je 0x4398f0
inc edi
cmp edi, 0x17
jb 0x4398e1
cmp edi, 0x17
jae 0x439a70
push ebp
push 3
call fcn.00442d7b
cmp eax, 1
pop ecx
je 0x439a3c
push 3
call fcn.00442d7b
test eax, eax
pop ecx
jne 0x439924
cmp dword [0x45e514], 1
je 0x439a3c
cmp ebx, 0xfc
je 0x439a6f
push str.Runtime_Error__n_nProgram:
mov ebx, 0x314
push ebx
mov ebp, 0x461dc0
push ebp
call fcn.00436d68
add esp, 0xc
test eax, eax
je 0x43995a
push esi
push esi
push esi
push esi
push esi
call fcn.00432afe
add esp, 0x14
push 0x104
mov esi, 0x461dd9
push esi
push 0
mov byte [0x461edd], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x43999e
push str._program_name_unknown_
push 0x2fb
push esi
call fcn.00436d68
add esp, 0xc
test eax, eax
je 0x43999e
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.00432afe
add esp, 0x14
push esi
call fcn.004364f0
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x4399e3
push esi
call fcn.004364f0
sub esi, 0x3b
add eax, esi
push 3
mov ecx, 0x4620d4
push 0x45099c
sub ecx, eax
push ecx
push eax
call fcn.0043743b
add esp, 0x14
test eax, eax
je 0x4399e3
xor esi, esi
push esi
push esi
push esi
push esi
push esi
call fcn.00432afe
add esp, 0x14
jmp 0x4399e5
xor esi, esi
push 0x450998
push ebx
push ebp
call fcn.00436f0e
add esp, 0xc
test eax, eax
je 0x439a05
push esi
push esi
push esi
push esi
push esi
call fcn.00432afe
add esp, 0x14
push dword [edi*8 + 0x45e804]
push ebx
push ebp
call fcn.00436f0e
add esp, 0xc
test eax, eax
je 0x439a27
push esi
push esi
push esi
push esi
push esi
call fcn.00432afe
add esp, 0x14
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
push ebp
call fcn.00442bbe
add esp, 0xc
jmp 0x439a6f
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ebp, eax
cmp ebp, esi
je 0x439a6f
cmp ebp, 0xffffffff
je 0x439a6f
push 0
lea eax, [esp + 0x14]
push eax
lea esi, [edi*8 + 0x45e804]
push dword [esi]
call fcn.004364f0
pop ecx
push eax
push dword [esi]
push ebp
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x442bbe
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.00439b88
xor ebx, ebx
cmp dword [0x462368], ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
jne 0x442c94
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x442d74
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x4513e8
push edi
call esi
cmp eax, ebx
je 0x442d74
push eax
call fcn.00439b1a
mov dword [esp], 0x4513d8
push edi
mov dword [0x462368], eax
call esi
push eax
call fcn.00439b1a
mov dword [esp], 0x4513c4
push edi
mov dword [0x46236c], eax
call esi
push eax
call fcn.00439b1a
mov dword [0x462370], eax
lea eax, [ebp - 0xc]
push eax
call fcn.00436af5
test eax, eax
pop ecx
pop ecx
je 0x442c62
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00432afe
add esp, 0x14
cmp dword [ebp - 0xc], 2
jne 0x442c94
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.00439b1a
cmp eax, ebx
pop ecx
mov dword [0x462378], eax
je 0x442c94
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00439b1a
pop ecx
mov dword [0x462374], eax
mov eax, dword [0x462374]
mov ecx, dword [ebp - 8]
cmp eax, ecx
je 0x442d19
cmp dword [0x462378], ecx
je 0x442d19
push eax
call fcn.00439b91
push dword [0x462378]
mov esi, eax
call fcn.00439b91
cmp esi, ebx
pop ecx
pop ecx
mov edi, eax
je 0x442d19
cmp edi, ebx
je 0x442d19
call esi
cmp eax, ebx
je 0x442ce6
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x442ce6
test byte [ebp - 0x18], 1
jne 0x442d19
lea eax, [ebp - 0x10]
push eax
call fcn.00436b2c
test eax, eax
pop ecx
je 0x442d01
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00432afe
add esp, 0x14
cmp dword [ebp - 0x10], 4
jb 0x442d10
or dword [ebp + 0x10], 0x200000
jmp 0x442d54
or dword [ebp + 0x10], 0x40000
jmp 0x442d54
mov eax, dword [0x46236c]
cmp eax, dword [ebp - 8]
je 0x442d54
push eax
call fcn.00439b91
cmp eax, ebx
pop ecx
je 0x442d54
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x442d54
mov eax, dword [0x462370]
cmp eax, dword [ebp - 8]
je 0x442d54
push eax
call fcn.00439b91
cmp eax, ebx
pop ecx
je 0x442d54
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x462368]
call fcn.00439b91
cmp eax, ebx
pop ecx
je 0x442d74
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x442d76
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4035ac
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebx
xor ebx, ebx
imul edx, dword [ebx + 0x751008], 0x8088405
inc edx
mov dword [ebx + 0x751008], edx
mul edx
mov eax, edx
pop ebx
ret

Function at 0x41cf00
Capabilities:
Decompress data using aplib

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push ebp
mov esi, dword [ebp - 4]
mov edi, dword [ebp - 8]
cld
mov dl, 0x80
mov al, byte [esi]
add esi, 1
mov byte [edi], al
add edi, 1
mov ebx, 2
add dl, dl
jne 0x41cf31
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x41cf19
add dl, dl
jne 0x41cf3c
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x41cf8d
xor eax, eax
add dl, dl
jne 0x41cf49
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x41d02a
add dl, dl
jne 0x41cf58
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x41cf63
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x41cf6e
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x41cf79
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x41cf83
mov ebx, edi
sub ebx, eax
mov al, byte [ebx]
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x41cf28
mov eax, 1
add dl, dl
jne 0x41cf9b
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x41cfa6
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x41cf92
sub eax, ebx
mov ebx, 1
jne 0x41cfd9
mov ecx, 1
add dl, dl
jne 0x41cfbf
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x41cfca
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x41cfb6
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x41cf28
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x41cff0
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x41cffb
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x41cfe7
cmp eax, 0x7d00
sbb ecx, 0xffffffff
cmp eax, 0x500
sbb ecx, 0xffffffff
cmp eax, 0x80
adc ecx, 0
cmp eax, 0x80
adc ecx, 0
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x41cf28
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x41d04b
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x41cf28
pop ebp
sub edi, dword [ebp - 8]
mov dword [ebp - 0xc], edi
pop edi
pop esi
pop ebx
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
Function at 0x41f04c
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov ebx, edx
xor edx, edx
push ebp
push 0x73553a
push dword fs:[edx]
mov dword fs:[edx], esp
xor edx, edx
mov dword [ebp - 8], edx
mov esi, ebx
xor ecx, ecx
cmp byte [eax + 0x6a], 0
je 0x41f09b
mov eax, ebx
xor edx, edx
push edx
push eax
mov eax, dword [esi + 0x3c]
cdq
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
mov edx, dword [eax + 0x88]
test edx, edx
je 0x41f0ba
mov ecx, edx
add ecx, ebx
jmp 0x41f0ba
mov eax, ebx
xor edx, edx
push edx
push eax
mov eax, dword [esi + 0x3c]
cdq
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
mov edx, dword [eax + 0x78]
test edx, edx
je 0x41f0ba
mov ecx, edx
add ecx, ebx
test ecx, ecx
je 0x41f12c
mov esi, dword [ecx + 0x18]
mov eax, dword [ecx + 0x1c]
add eax, ebx
mov dword [ebp - 0x10], eax
mov edi, dword [ecx + 0x20]
add edi, ebx
mov eax, dword [ecx + 0x24]
add eax, ebx
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
cmp eax, 0xffff
jbe 0x41f115
test esi, esi
jbe 0x41f12c
mov eax, dword [edi]
add eax, ebx
mov edx, dword [ebp - 4]
call fcn.004088ec
test eax, eax
jne 0x41f107
mov eax, dword [ebp - 0xc]
movzx eax, word [eax]
shl eax, 2
add eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov dword [ebp - 8], eax
jmp 0x41f12c
add dword [ebp - 0xc], 2
add edi, 4
dec esi
test esi, esi
ja 0x41f0e4
jmp 0x41f12c
mov edx, eax
sub edx, dword [ecx + 0x10]
cmp edx, dword [ecx + 0x14]
jae 0x41f12c
mov eax, edx
shl eax, 2
add eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x735541
ret
Function at 0x420284
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov word [ebp - 4], cx
mov byte [ebp - 1], dl
xor eax, eax
push ebp
push 0x73689f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
call fcn.00404cd0
xor ebx, ebx
mov eax, ebx
and eax, 0x80000001
jns 0x4202bf
dec eax
or eax, 0xfffffffe
inc eax
test eax, eax
jne 0x4202d8
lea eax, [ebp - 0x10]
mov edx, dword [0x753348]
mov edx, dword [edx]
mov edx, dword [edx + 0xc]
call fcn.00404d30
jmp 0x4202eb
lea eax, [ebp - 0x10]
mov edx, dword [0x753348]
mov edx, dword [edx]
mov edx, dword [edx + 0x10]
call fcn.00404d30
lea eax, [ebp - 0x10]
mov edx, ebx
sar edx, 1
jns 0x4202f7
adc edx, 0
mov edx, dword [edx*4 + 0x752178]
call fcn.00404f20
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
mov eax, dword [ebp - 0x10]
call fcn.00404f04
push eax
call fcn.00406b1c
mov esi, eax
cmp esi, 0xffffffff
je 0x420471
mov eax, 0x40
call fcn.00403268
mov edi, eax
push 0
lea eax, [ebp - 8]
push eax
push 0x40
push edi
push esi
call fcn.00406d7c
test eax, eax
je 0x420464
mov eax, edi
cmp word [eax], 0x5a4d
jne 0x420464
push 0
push 0
mov eax, dword [eax + 0x3c]
push eax
push esi
call fcn.00406ddc
mov eax, edi
call fcn.00403288
mov eax, 0x18
call fcn.00403268
mov edi, eax
push 0
lea eax, [ebp - 8]
push eax
push 0x18
push edi
push esi
call fcn.00406d7c
test eax, eax
je 0x420464
mov eax, edi
cmp dword [eax], 0x4550
jne 0x420464
add eax, 4
mov dword [ebp - 0xc], eax
cmp byte [ebp - 1], 0
je 0x420402
mov eax, dword [ebp - 0xc]
cmp word [eax], 0x8664
jne 0x420402
mov eax, edi
call fcn.00403288
mov eax, 0xf0
call fcn.00403268
mov edi, eax
push 0
lea eax, [ebp - 8]
push eax
push 0xf0
push edi
push esi
call fcn.00406d7c
test eax, eax
je 0x420402
mov eax, edi
mov dx, word [eax + 0x44]
cmp dx, word [ebp - 4]
jne 0x420402
mov eax, dword [eax + 0x10]
mov edx, dword [ebp + 0xc]
mov dword [edx], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x10]
call fcn.00404d0c
cmp byte [ebp - 1], 0
jne 0x420464
mov eax, dword [ebp - 0xc]
cmp word [eax], 0x14c
jb 0x420464
mov eax, dword [ebp - 0xc]
cmp word [eax], 0x150
ja 0x420464
mov eax, edi
call fcn.00403288
mov eax, 0xe0
call fcn.00403268
mov edi, eax
push 0
lea eax, [ebp - 8]
push eax
push 0xe0
push edi
push esi
call fcn.00406d7c
test eax, eax
je 0x420464
mov eax, edi
mov dx, word [eax + 0x44]
cmp dx, word [ebp - 4]
jne 0x420464
mov eax, dword [eax + 0x10]
mov edx, dword [ebp + 0xc]
mov dword [edx], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x10]
call fcn.00404d0c
mov eax, edi
call fcn.00403288
push esi
call fcn.00406ad4
mov eax, dword [ebp + 8]
mov eax, dword [eax]
xor edx, edx
call fcn.0040502c
jne 0x420489
inc ebx
cmp ebx, 0x19
jne 0x4202b1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x7368a6
lea eax, [ebp - 0x10]
call fcn.00404cd0
ret
Function at 0x409c51
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
sub esp, 0x64
push fcn.00409c51
xor esi, esi
push esi
push esi
push esi
push esi
push esi
push esi
mov eax, dword [0x41e634]
test eax, eax
je 0x409c88
push 0
push dword [0x41e634]
call dword [sym.imp.USER32.DLL_ShowWindow]
call fcn.0041becb
push 0xffffffffffffffeb
mov ebx, dword [ebp + 8]
push dword [ebx]
call dword [sym.imp.USER32.DLL_GetWindowLongA]
call fcn.0041becb
mov dword [ebp - 0x88], eax
fldz
mov eax, dword [ebp - 0x88]
call fcn.00419e5a
fcompp
fnstsw ax
sahf
jne 0x409cb9
jmp 0x409d0a
push 5
mov ebx, dword [ebp - 0x88]
mov dword [ebp - 0x2c], ebx
mov ebx, dword [ebp + 0x10]
mov eax, dword [ebx]
imul eax, eax, 0x10c
mov ebx, dword [ebp - 0x2c]
add ebx, eax
push dword [ebx + 0x110]
call dword [sym.imp.USER32.DLL_ShowWindow]
call fcn.0041becb
mov ebx, dword [ebp - 0x88]
mov dword [ebp - 0x2c], ebx
mov ebx, dword [ebp + 0x10]
mov eax, dword [ebx]
imul eax, eax, 0x10c
mov ebx, dword [ebp - 0x2c]
add ebx, eax
mov eax, dword [ebx + 0x110]
mov dword [0x41e634], eax
lea esp, [ebp - 0xc]
pop edi
pop esi
pop ebx
pop ebp
ret 0xc

Function at 0x40ade2
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
sub esp, 0x64
push fcn.0040ade2
xor esi, esi
mov ecx, 0x45
push esi
dec ecx
jne 0x40adf7
push 0
push 0
push 0
push 0
mov edx, dword [ebp + 8]
call fcn.0041c470
mov ebx, esp
add ebx, 0xc
call fcn.0041bc3a
push 0xff
lea ebx, [ebp - 0x188]
push ebx
mov edx, dword [ebp + 0x14]
call fcn.0041c470
mov ebx, esp
add ebx, 0x14
call fcn.0041bc3a
mov edx, dword [ebp + 0x10]
call fcn.0041c470
mov ebx, esp
add ebx, 0x14
call fcn.0041bc3a
mov edx, dword [ebp + 0xc]
call fcn.0041c470
mov ebx, esp
add ebx, 0x14
call fcn.0041bc3a
call dword [sym.imp.KERNEL32.DLL_GetPrivateProfileStringA]
push eax
mov ebx, esp
mov eax, dword [ebx + 0x10]
call fcn.0041a83e
mov ebx, esp
mov eax, dword [ebx + 0xc]
call fcn.0041a83e
mov ebx, esp
mov eax, dword [ebx + 8]
call fcn.0041a83e
mov ebx, esp
mov eax, dword [ebx + 4]
call fcn.0041a83e
pop eax
add esp, 0x10
call fcn.0041becb
lea ebx, [ebp - 0x188]
call fcn.0041c346
lea ebx, [ebp - 0x88]
call fcn.0041bb88
call fcn.0041c3df
mov eax, dword [ebp - 0x88]
lea esp, [ebp - 0xc]
pop edi
pop esi
pop ebx
pop ebp
ret 0x10
Function at 0x40aed3
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
sub esp, 0x64
push fcn.0040aed3
xor esi, esi
push esi
push esi
push esi
push esi
push esi
push 0
push 0
push 0
mov edx, dword [ebp + 8]
call fcn.0041c470
mov ebx, esp
add ebx, 8
call fcn.0041bc3a
movsx eax, word [ebp + 0x14]
push eax
mov edx, dword [ebp + 0x10]
call fcn.0041c470
mov ebx, esp
add ebx, 0xc
call fcn.0041bc3a
mov edx, dword [ebp + 0xc]
call fcn.0041c470
mov ebx, esp
add ebx, 0xc
call fcn.0041bc3a
call dword [sym.imp.KERNEL32.DLL_GetPrivateProfileIntA]
push eax
mov ebx, esp
mov eax, dword [ebx + 0xc]
call fcn.0041a83e
mov ebx, esp
mov eax, dword [ebx + 8]
call fcn.0041a83e
mov ebx, esp
mov eax, dword [ebx + 4]
call fcn.0041a83e
pop eax
add esp, 0xc
call fcn.0041becb
mov word [ebp - 0x88], ax
call fcn.0041c3df
movsx eax, word [ebp - 0x88]
lea esp, [ebp - 0xc]
pop edi
pop esi
pop ebx
pop ebp
ret 0x10
Function at 0x40bbc4
Capabilities:
Create thread
Inject thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
sub esp, 0x64
push fcn.0040bbc4
xor esi, esi
xor edi, edi
push esi
push esi
push esi
push esi
push esi
push esi
push esi
push esi
push esi
push esi
push esi
lea ebx, [ebp - 0x98]
push ebx
push dword [ebp + 8]
call dword [sym.imp.USER32.DLL_GetWindowThreadProcessId]
call fcn.0041becb
push dword [ebp - 0x98]
push 0
push 0x1f0fff
call dword [sym.imp.KERNEL32.DLL_OpenProcess]
call fcn.0041becb
mov esi, eax
push 4
push 0x1000
push 0x1000
push 0
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.DLL_VirtualAllocEx]
call fcn.0041becb
mov dword [ebp - 0x9c], eax
lea ebx, [ebp - 0x94]
push ebx
push 0x1000
mov ebx, dword [ebp + 0xc]
push ebx
push dword [ebp - 0x9c]
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.DLL_WriteProcessMemory]
call fcn.0041becb
mov ebx, dword [ebp + 0x14]
mov eax, ebx
test eax, eax
je 0x40bca9
push 4
push 0x1000
mov ebx, dword [ebp + 0x14]
push dword [ebx]
push 0
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.DLL_VirtualAllocEx]
call fcn.0041becb
mov dword [ebp - 0xa0], eax
lea ebx, [ebp - 0x94]
push ebx
mov ebx, dword [ebp + 0x14]
push dword [ebx]
mov ebx, dword [ebp + 0x10]
push ebx
push dword [ebp - 0xa0]
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.DLL_WriteProcessMemory]
call fcn.0041becb
lea ebx, [ebp - 0x94]
push ebx
push 0
push dword [ebp - 0xa0]
push dword [ebp - 0x9c]
push 0
push 0
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.DLL_CreateRemoteThread]
call fcn.0041becb
mov edi, eax
fild qword [0x41f36c]
call fcn.00419e77
push eax
mov eax, edi
push eax
call dword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
call fcn.0041becb
push 0x8000
push 0
push dword [ebp - 0x9c]
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.DLL_VirtualFreeEx]
call fcn.0041becb
mov ebx, dword [ebp + 0x14]
mov eax, ebx
test eax, eax
je 0x40bd2f
push 0x8000
push 0
push dword [ebp - 0xa0]
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.DLL_VirtualFreeEx]
call fcn.0041becb
mov eax, edi
push eax
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
call fcn.0041becb
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
call fcn.0041becb
mov eax, dword [ebp - 0x88]
lea esp, [ebp - 0xc]
pop edi
pop esi
pop ebx
pop ebp
ret 0x10
Function at 0x415ec4
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
sub esp, 0x64
push fcn.00415ec4
xor esi, esi
push esi
push esi
push esi
push esi
push esi
push esi
mov ecx, dword [0x41e660]
mov eax, 0x3e9
call fcn.00419369
call fcn.004193a4
lea ebx, [ebp - 0x8c]
call fcn.0041bb88
mov edx, dword [ebp - 0x8c]
call fcn.0041c470
mov edx, 0x41f170
call fcn.0041c484
call fcn.0041be2a
jne 0x415fad
call fcn.0040fc3b
call fcn.00411548
mov dword [0x41e690], 1
mov ecx, dword [0x41e660]
mov eax, 0x3e9
call fcn.00419369
mov edx, 0x41f17c
call fcn.0041c484
call fcn.004193d8
xor ebx, ebx
mov ecx, dword [0x41e660]
mov eax, 0x3ee
call fcn.00418dfd
xor ebx, ebx
mov ecx, dword [0x41e660]
mov eax, 0x3ef
call fcn.00418dfd
mov edx, 0x41f188
call fcn.0041c484
mov edx, 0x41eb38
call fcn.0041c484
call fcn.0041bdb9
mov edx, 0x41f198
call fcn.0041c484
call fcn.0041bdb9
sub esp, 4
mov ebx, esp
call fcn.0041bbfb
call fcn.0040cc2a
jmp 0x4160d9
mov edx, dword [ebp - 0x8c]
call fcn.0041c470
mov edx, 0x41f17c
call fcn.0041c484
call fcn.0041be2a
jne 0x4160d9
mov edx, 0x41f188
call fcn.0041c484
mov edx, 0x41eb38
call fcn.0041c484
call fcn.0041bdb9
mov edx, 0x41f1ac
call fcn.0041c484
call fcn.0041bdb9
sub esp, 4
mov ebx, esp
call fcn.0041bbfb
call fcn.0040cc2a
mov ecx, dword [0x41e660]
mov eax, 0x3e9
call fcn.00419369
mov edx, 0x41f170
call fcn.0041c484
call fcn.004193d8
mov ebx, 1
mov ecx, dword [0x41e660]
mov eax, 0x3ee
call fcn.00418dfd
mov ebx, 1
mov ecx, dword [0x41e660]
mov eax, 0x3ef
call fcn.00418dfd
push 0
push dword [0x41e6ac]
call dword [sym.imp.KERNEL32.DLL_TerminateThread]
call fcn.0041becb
mov eax, dword [0x41e6ac]
mov ebx, 0x41e6d0
call fcn.00417e63
push 0
push dword [0x41e6b0]
call dword [sym.imp.KERNEL32.DLL_TerminateThread]
call fcn.0041becb
mov eax, dword [0x41e6b0]
mov ebx, 0x41e6d0
call fcn.00417e63
push 0
push dword [0x41e6b4]
call dword [sym.imp.KERNEL32.DLL_TerminateThread]
call fcn.0041becb
mov eax, dword [0x41e6b4]
mov ebx, 0x41e6d0
call fcn.00417e63
push 0
push dword [0x41e6b8]
call dword [sym.imp.KERNEL32.DLL_TerminateThread]
call fcn.0041becb
mov eax, dword [0x41e6b8]
mov ebx, 0x41e6d0
call fcn.00417e63
call fcn.0041c3df
mov eax, dword [ebp - 0x88]
lea esp, [ebp - 0xc]
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x4173fe
Capabilities:
Accept command line arguments
Allocate thread local storage
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov ebx, 0x41e000
test word [0x4173e0], 4
jne 0x417419
jmp 0x417794
jmp fcn.00417632
push 0
call dword [sym.imp.OLE32.DLL_CoInitialize]
call fcn.0041752e
mov dword [ebx + 0x2ac], 1
lea eax, [ebx + 0x470]
push eax
call dword [sym.imp.KERNEL32.DLL_GetVersionExA]
sub esp, 0x44
mov dword [esp], 0x44
mov dword [esp + 0x2c], 0
push esp
call dword [sym.imp.KERNEL32.DLL_GetStartupInfoA]
mov eax, 0xa
test dword [esp + 0x2c], 1
je 0x4177e5
movzx eax, word [esp + 0x30]
add esp, 0x44
mov dword [ebx + 0x2a0], eax
call dword [sym.imp.KERNEL32.DLL_GetCommandLineA]
call fcn.004175d4
mov dword [ebx + 0x29c], eax
push 0
call dword [sym.imp.KERNEL32.DLL_GetModuleHandleA]
mov dword [ebx + 0x2a8], eax
call fcn.0041741e
push 0xff
jb 0x41784f
pop eax
call fcn.00417490
push eax
mov ebx, 0x41e000
mov ecx, dword [ebx + 0xd8]
call fcn.0041785b
mov ecx, dword [ebx + 0xb0]
jecxz 0x41783f
push ecx
call dword [sym.imp.KERNEL32.DLL_FindClose]
mov edi, dword [ebx + 0x2d8]
call fcn.00417495
call fcn.0041747c
call dword [sym.imp.OLE32.DLL_CoUninitialize]
call dword [sym.imp.KERNEL32.DLL_ExitProcess]

Function at 0x41741e
Capabilities:
Allocate thread local storage

Disassembly:
call dword [sym.imp.KERNEL32.DLL_TlsAlloc]
cmp eax, 0xffffffff
stc
je 0x41747b
mov dword [ebx + 0x28c], eax
mov dword [ebx + 0x294], 0
mov dword [ebx + 0x290], 0
call fcn.004176c5
jb 0x41747b
mov dword [ebx + 0x290], eax
mov word [eax + 0x78], 8
call fcn.0041746a
dec ebp
push ebx
and byte [ebx + 0x61], dl
outsb dx, byte [esi]
jae 0x417484
push ebx
jb 0x4174d1
add byte [esi - 4], bl
mov bl, 0x8c
add al, byte [eax]
add bh, bh
adc eax, sym.imp.KERNEL32.DLL_TlsFree
ret

Function at 0x417ea0
Capabilities:
Resume thread

Disassembly:
push eax
call dword [sym.imp.KERNEL32.DLL_ResumeThread]
jmp 0x417e86

Function at 0x417eb7
Capabilities:
Suspend thread

Disassembly:
mov dword [ebx], eax
ret
push eax
call dword [sym.imp.KERNEL32.DLL_SuspendThread]
jmp 0x417e86