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

Disassembly:
push 0x450
mov eax, 0x440d3e
call fcn.0041a657
mov ebx, ecx
mov esi, dword [ebp + 8]
xor eax, eax
and dword [ebp - 0x430], 0
mov dword [ebp - 0x42c], 7
mov word [ebp - 0x440], ax
and dword [ebp - 4], eax
lea ecx, [ebp - 0x440]
call fcn.0040afca
cmp dword [ebp - 0x42c], 8
lea eax, [ebp - 0x440]
push 0x454b14
cmovae eax, dword [ebp - 0x440]
push eax
call fcn.004237e6
mov edi, eax
pop ecx
pop ecx
test edi, edi
jne 0x40b862
push 0x400
push eax
lea eax, [ebp - 0x410]
push eax
call fcn.0041e010
add esp, 0xc
lea eax, [ebp - 0x440]
cmp dword [ebp - 0x42c], 8
cmovae eax, dword [ebp - 0x440]
push eax
lea eax, [ebp - 0x410]
push str.Cannot_open_file___s_
push eax
call fcn.00405de5
add esp, 0xc
lea eax, [ebp - 0x410]
mov dword [ebp - 0x45c], eax
lea eax, [ebp - 0x45c]
push 0x459798
push eax
call fcn.0041e956
and dword [ebp - 0x418], 0
mov dword [ebp - 0x414], 0xf
mov byte [ebp - 0x428], 0
mov byte [ebp - 4], 1
cmp dword [esi + 0x14], 0x10
mov eax, dword [esi + 0x10]
jb 0x40b889
mov esi, dword [esi]
push eax
push esi
lea ecx, [ebp - 0x428]
call fcn.0040b51d
test eax, eax
je 0x40b955
xor eax, eax
cmp dword [ebx + 0x2c], eax
je 0x40b92f
mov dword [ebp - 0x444], 0xf
mov dword [ebp - 0x448], eax
mov byte [ebp - 0x458], al
mov byte [ebp - 4], 2
lea edx, [ebp - 0x428]
cmp dword [ebp - 0x414], 0x10
lea ecx, [ebx + 0x1c]
cmovae edx, dword [ebp - 0x428]
cmp dword [ecx + 0x14], 0x10
jb 0x40b8e2
mov ecx, dword [ecx]
lea eax, [ebp - 0x458]
push eax
push dword [ebp - 0x418]
call fcn.0040e3fe
cmp dword [ebp - 0x444], 0x10
lea eax, [ebp - 0x458]
push edi
cmovae eax, dword [ebp - 0x458]
push 1
push dword [ebp - 0x448]
push eax
call fcn.00423440
add esp, 0x18
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x458]
push 0
push 1
call fcn.0040489d
jmp 0x40b955
cmp dword [ebp - 0x414], 0x10
lea eax, [ebp - 0x428]
push edi
cmovae eax, dword [ebp - 0x428]
push 1
push dword [ebp - 0x418]
push eax
call fcn.00423440
add esp, 0x10
push edi
call fcn.004230d9
pop ecx
lea ecx, [ebx + 4]
lea eax, [ebp - 0x440]
cmp ecx, eax
je 0x40b973
push 0xffffffffffffffff
push 0
push eax
call fcn.00403148
push 0
push 1
lea ecx, [ebp - 0x428]
call fcn.0040489d
push 0
push 1
lea ecx, [ebp - 0x440]
call fcn.00401c54
call fcn.0041a601
ret 4
Function at 0x40ba24
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
lea eax, [esi + 4]
cmp dword [eax + 0x14], 8
jb 0x40ba36
mov eax, dword [eax]
push 0x454d84
push eax
call fcn.004237e6
mov dword [ebp - 4], eax
pop ecx
pop ecx
test eax, eax
je 0x40bab6
push ebx
push edi
mov ecx, eax
call fcn.0040aeb8
mov ebx, eax
push ebx
call fcn.00419df6
push ebx
mov edi, eax
push 0
push edi
call fcn.0041e010
push dword [ebp - 4]
push 1
push ebx
push edi
call fcn.00424ff6
push dword [ebp - 4]
call fcn.004230d9
add esp, 0x24
cmp dword [esi + 0x2c], 0
je 0x40ba9e
lea ecx, [esi + 0x1c]
cmp dword [ecx + 0x14], 0x10
jb 0x40ba8e
mov ecx, dword [ecx]
mov esi, dword [ebp + 8]
mov edx, edi
push esi
push ebx
call fcn.0040e3fe
pop ecx
pop ecx
jmp 0x40baaa
mov esi, dword [ebp + 8]
mov ecx, esi
push ebx
push edi
call fcn.00405ca6
push edi
call fcn.00419df1
mov eax, dword [esi + 0x10]
pop ecx
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x40dea5
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1010
call fcn.0041adf0
mov eax, dword [0x45c094]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, ecx
call fcn.0040dcfe
push 0x800
mov esi, eax
xor ebx, ebx
lea eax, [ebp - 0x1004]
push ebx
push eax
call fcn.0041e010
push 0x800
lea eax, [ebp - 0x804]
mov dword [ebp - 0x1008], ebx
push ebx
push eax
mov dword [ebp - 0x1010], ebx
mov dword [ebp - 0x100c], ebx
call fcn.0041e010
add esp, 0x18
lea eax, [ebp - 0x804]
mov ecx, 0x400
push ecx
push eax
lea eax, [ebp - 0x100c]
push eax
lea eax, [ebp - 0x1010]
push eax
lea eax, [ebp - 0x1008]
push eax
push ecx
lea eax, [ebp - 0x1004]
push eax
push 0x455004
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
mov ecx, dword [ebp - 0x1008]
mov edx, esi
push edi
call fcn.0040ddf8
pop ecx
mov ecx, dword [ebp - 4]
mov al, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00419b14
mov esp, ebp
pop ebp
ret

Function at 0x40df5a
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.0041adf0
mov eax, dword [0x45c094]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov ebx, ecx
call fcn.0040dcfe
mov edi, 0x800
mov esi, eax
push edi
lea eax, [ebp - 0x1010]
push 0
push eax
call fcn.0041e010
xor eax, eax
push edi
push eax
mov dword [ebp - 0x1014], eax
mov dword [ebp - 0x101c], eax
mov dword [ebp - 0x1018], eax
lea eax, [ebp - 0x810]
push eax
call fcn.0041e010
add esp, 0x18
lea eax, [ebp - 0x810]
mov ecx, 0x400
push ecx
push eax
lea eax, [ebp - 0x1018]
push eax
lea eax, [ebp - 0x101c]
push eax
lea eax, [ebp - 0x1014]
push eax
push ecx
lea eax, [ebp - 0x1010]
push eax
push 0x455004
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
mov ecx, dword [ebp - 0x1014]
lea edi, [ebp - 0xf]
xor eax, eax
mov byte [ebp - 0x10], 0
stosd dword es:[edi], eax
mov edx, esi
stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x10]
push eax
call fcn.0040ddf8
push ebx
lea ecx, [ebp - 0x10]
call fcn.0040e5d7
pop ecx
pop ecx
mov ecx, dword [ebp - 4]
mov al, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00419b14
mov esp, ebp
pop ebp
ret
Function at 0x4101fe
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x254
mov eax, dword [0x45c094]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x20c]
push edi
push 0x208
xor edi, edi
mov ebx, ecx
push edi
push eax
call fcn.0041e010
mov eax, dword [esi + 0x18]
add esp, 0xc
mov dword [ebp - 0x218], eax
mov eax, dword [esi + 0x1c]
mov dword [ebp - 0x214], eax
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x210], eax
lea eax, [ebp - 0x218]
push eax
push edi
push 0x44b
push dword [esi]
call dword [sym.imp.USER32.dll_SendMessageW]
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x250], edi
mov dword [ebp - 0x244], eax
xor eax, eax
push 7
mov dword [ebp - 0x24c], edi
mov dword [ebp - 0x248], edi
mov dword [ebp - 0x240], edi
mov dword [ebp - 0x23c], edi
lea edi, [ebp - 0x234]
pop ecx
mov dword [ebp - 0x254], 0x3c
mov dword [ebp - 0x238], 5
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x254]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
push dword [ebx + 0x3c]
call dword [sym.imp.USER32.dll_HideCaret]
mov eax, dword [ebx + 0xb0]
cmp eax, dword [ebx + 0xb4]
je 0x4102dc
mov eax, dword [eax]
push dword [eax]
call dword [sym.imp.USER32.dll_SetFocus]
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00419b14
mov esp, ebp
pop ebp
ret 4
Function at 0x4143ab
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], edi
mov ebx, dword [edi + 0x2c]
mov eax, dword [edi + 0x2c]
mov edx, dword [edi + 0x3c]
add eax, 0xfffffefa
sub edx, dword [edi + 0x74]
add eax, ebx
sub edx, dword [edi + 0x6c]
mov dword [ebp - 0xc], edx
cmp dword [edi + 0x6c], eax
jb 0x41444a
mov ecx, dword [edi + 0x38]
push ebx
lea eax, [ecx + ebx]
push eax
push ecx
call fcn.0041c260
mov ecx, dword [edi + 0x4c]
add esp, 0xc
mov eax, dword [edi + 0x44]
sub dword [edi + 0x70], ebx
sub dword [edi + 0x6c], ebx
sub dword [edi + 0x5c], ebx
mov edi, ecx
mov dword [ebp - 8], ecx
lea esi, [eax + ecx*2]
lea esi, [esi - 2]
xor ecx, ecx
movzx edx, word [esi]
mov eax, edx
sub eax, ebx
cmp edx, ebx
movzx eax, ax
cmovae ecx, eax
mov word [esi], cx
sub edi, 1
jne 0x4143ff
mov edi, dword [ebp - 4]
mov eax, dword [edi + 0x40]
mov edi, ebx
lea esi, [eax + ebx*2]
lea esi, [esi - 2]
xor ecx, ecx
movzx edx, word [esi]
mov eax, edx
sub eax, ebx
cmp edx, ebx
movzx eax, ax
cmovae ecx, eax
mov word [esi], cx
sub edi, 1
jne 0x414426
mov edx, dword [ebp - 0xc]
mov edi, dword [ebp - 4]
add edx, ebx
mov esi, dword [edi]
cmp dword [esi + 4], 0
je 0x414505
mov eax, dword [edi + 0x74]
add eax, dword [edi + 0x6c]
add eax, dword [edi + 0x38]
mov dword [ebp - 0xc], eax
mov eax, dword [esi + 4]
cmp eax, edx
mov ecx, eax
cmova ecx, edx
mov dword [ebp - 8], ecx
test ecx, ecx
jne 0x414477
xor eax, eax
jmp 0x4144c8
sub eax, ecx
mov dword [esi + 4], eax
mov eax, dword [esi + 0x1c]
mov eax, dword [eax + 0x18]
cmp eax, 1
jne 0x414494
mov edx, dword [esi]
push ecx
mov ecx, dword [esi + 0x30]
call fcn.00414d52
jmp 0x4144ac
cmp eax, 2
jne 0x4144b0
mov edx, dword [esi]
test edx, edx
jne 0x4144a3
xor eax, eax
jmp 0x4144ad
push ecx
mov ecx, dword [esi + 0x30]
call fcn.00411f5d
pop ecx
mov dword [esi + 0x30], eax
push dword [ebp - 8]
push dword [esi]
push dword [ebp - 0xc]
call fcn.0041c260
mov eax, dword [ebp - 8]
add esp, 0xc
add dword [esi], eax
add dword [esi + 8], eax
add dword [edi + 0x74], eax
cmp dword [edi + 0x74], 3
jb 0x4144f0
mov edx, dword [edi + 0x6c]
mov eax, dword [edi + 0x38]
mov ecx, dword [edi + 0x58]
movzx esi, byte [edx + eax]
mov dword [edi + 0x48], esi
movzx eax, byte [edx + eax + 1]
shl esi, cl
xor esi, eax
and esi, dword [edi + 0x54]
mov dword [edi + 0x48], esi
cmp dword [edi + 0x74], 0x106
jae 0x414505
mov eax, dword [edi]
cmp dword [eax + 4], 0
jne 0x4143bc
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x417499
Capabilities:
Connect socket
Resolve dns
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x45c094]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x18], esi
test edi, edi
je 0x41750b
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, bx
jne 0x4174bf
sub ecx, edx
sar ecx, 1
lea eax, [ecx + 1]
mov dword [ebp - 0x1c], eax
cmp eax, 0x3fffffff
jg 0x41750b
add eax, eax
call fcn.0041a5c0
mov esi, esp
test esi, esi
je 0x417508
mov ecx, dword [ebp - 0x1c]
push ebx
push ebx
mov byte [esi], bl
lea eax, [ecx + ecx]
push eax
push esi
push 0xffffffffffffffff
push edi
push ebx
push 3
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov ebx, eax
neg ebx
sbb ebx, ebx
and ebx, esi
mov esi, dword [ebp - 0x18]
xor eax, eax
lea edi, [ebp - 0x14]
stosd dword es:[edi], eax
push 2
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
pop eax
push 0x7b
mov word [ebp - 0x14], ax
call dword [sym.imp.WSOCK32.dll_htons]
push ebx
mov word [ebp - 0x12], ax
call dword [sym.imp.WSOCK32.dll_inet_addr]
mov dword [ebp - 0x10], eax
cmp eax, 0xffffffff
jne 0x41754b
push ebx
call dword [sym.imp.WSOCK32.dll_gethostbyname]
test eax, eax
je 0x417574
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov eax, dword [eax]
mov dword [ebp - 0x10], eax
push 0x10
lea eax, [ebp - 0x14]
push eax
push dword [esi]
call dword [sym.imp.WSOCK32.dll_connect]
neg eax
sbb eax, eax
inc eax
lea esp, [ebp - 0x28]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00419b14
mov esp, ebp
pop ebp
ret 8
xor eax, eax
jmp 0x41755e

Function at 0x417578
Capabilities:
Get socket status

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
mov eax, dword [0x45c094]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
xor edx, edx
push esi
push edi
mov edi, 0x3e8
mov esi, dword [ebp + 8]
div edi
xor edi, edi
mov dword [ebp - 0x110], eax
inc edi
mov eax, dword [ecx]
xor ecx, ecx
mov dword [ebp - 0x104], eax
lea eax, [ebp - 0x110]
push eax
push ecx
push ecx
lea eax, [ebp - 0x108]
mov dword [ebp - 0x10c], edx
push eax
push ecx
mov dword [ebp - 0x108], edi
call dword [sym.imp.WSOCK32.dll_select]
cmp eax, 0xffffffff
jne 0x4175db
xor eax, eax
jmp 0x4175e6
xor ecx, ecx
test eax, eax
mov eax, edi
setne cl
mov dword [esi], ecx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00419b14
mov esp, ebp
pop ebp
ret 8
Function at 0x42493d
Capabilities:
Get common file path
Set current directory

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004247d8

Function at 0x430232
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004300b1

Function at 0x433c41
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004335af

Function at 0x433c4c
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004337ea
Function at 0x43a199
Capabilities:
Accept command line arguments
Write file on windows

Disassembly:
push 0x98
mov eax, 0x44178d
call fcn.0041a657
and dword [ebp - 0x18], 0
xor eax, eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
and dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
lea ecx, [ebp - 0x88]
call fcn.0040492f
xor ebx, ebx
inc ebx
mov byte [ebp - 4], bl
call fcn.0043b442
push eax
lea ecx, [ebp - 0x70]
call fcn.004065ad
push 0x34
lea eax, [ebp - 0xa0]
mov byte [ebp - 4], 2
push eax
mov ecx, 0x460078
call fcn.00407498
mov esi, eax
push 0x454b00
lea edx, [ebp - 0x70]
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x40]
call fcn.00402b91
push esi
mov edx, eax
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x58]
call fcn.00402c09
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x28]
call fcn.0040655c
xor edi, edi
lea ecx, [ebp - 0x58]
push edi
push ebx
call fcn.00401c54
push edi
push ebx
lea ecx, [ebp - 0x40]
call fcn.00401c54
push edi
push ebx
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 2
call fcn.00401c54
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push 0x454b14
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.004237e6
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x43a2ec
lea edx, [ebp - 0x88]
lea ecx, [ebp - 0x58]
call fcn.00409055
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x58]
cmp dword [ebp - 0x44], 0x10
push esi
push dword [ebp - 0x48]
cmovae ecx, dword [ebp - 0x58]
push ebx
push ecx
call fcn.00423440
push esi
push ebx
push ebx
push 0x454b44
call fcn.00423440
add esp, 0x20
lea ecx, [ebp - 0x40]
mov edx, 0x482d48
call fcn.00409055
cmp dword [ebp - 0x30], edi
je 0x43a2d1
cmp dword [ebp - 0x2c], 0x10
lea eax, [ebp - 0x40]
push esi
push dword [ebp - 0x30]
cmovae eax, dword [ebp - 0x40]
push ebx
push eax
call fcn.00423440
add esp, 0x10
push esi
call fcn.004230d9
pop ecx
push edi
push ebx
lea ecx, [ebp - 0x40]
call fcn.0040451f
push edi
push ebx
lea ecx, [ebp - 0x58]
call fcn.0040451f
push edi
push ebx
lea ecx, [ebp - 0x70]
call fcn.00401c54
push 0
push ebx
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 0
call fcn.00401c54
call fcn.0043b2b7
push 8
pop edi
cmp dword [0x482d8c], edi
mov esi, 0x482d78
push ecx
mov eax, esi
mov ecx, esp
cmovae eax, dword [0x482d78]
push eax
call fcn.00405e13
mov ecx, dword [0x482edc]
call fcn.0043cdc0
pop ecx
test eax, eax
je 0x43a343
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [0x482d8c], edi
cmovae esi, dword [0x482d78]
push esi
call fcn.0042303b
cmp dword [ebp - 0x18], 0
pop ecx
je 0x43a389
cmp dword [ebp - 0x14], edi
lea ecx, [ebp - 0x28]
cmovae ecx, dword [ebp - 0x28]
call fcn.0040ae91
test al, al
je 0x43a389
cmp dword [ebp - 0x14], edi
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.0042303b
pop ecx
xor edi, edi
lea ecx, [ebp - 0x28]
push edi
push ebx
call fcn.00401c54
call fcn.0041a601
ret
Function at 0x43a659
Capabilities:
Enumerate gui resources
Get graphical window text

Disassembly:
push 0x464
mov eax, 0x441891
call fcn.0041a657
mov esi, ecx
mov ecx, dword [esi]
call fcn.0043cd0f
mov edx, dword [esi]
lea ecx, [ebp - 0x448]
mov edi, eax
call fcn.0043cd2f
lea eax, [ebp - 0x470]
xor ebx, ebx
push eax
mov dword [ebp - 4], ebx
push edi
mov dword [ebp - 0x470], ebx
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov dword [ebp - 0x46c], ebx
mov dword [ebp - 0x468], ebx
mov dword [ebp - 0x464], ebx
push 0x18
lea eax, [ebp - 0x460]
mov byte [ebp - 4], 1
push eax
mov ecx, 0x460078
call fcn.00407498
mov esi, eax
cmp dword [esi + 0x14], 8
jb 0x43a6cc
mov esi, dword [esi]
mov eax, dword [ebp - 0x46c]
mov dword [ebp - 0x468], eax
mov eax, dword [ebp - 0x470]
mov dword [ebp - 0x430], eax
xor eax, eax
mov dword [ebp - 0x418], 7
mov dword [ebp - 0x41c], ebx
mov word [ebp - 0x42c], ax
mov byte [ebp - 4], 3
lea eax, [ebp - 0x46c]
mov dword [ebp - 0x414], eax
test esi, esi
je 0x43a725
push esi
call fcn.00402ee1
pop ecx
push eax
push esi
lea ecx, [ebp - 0x42c]
call fcn.00402e68
lea eax, [ebp - 0x430]
push eax
push 0x40e102
call dword [sym.imp.USER32.dll_EnumWindows]
mov esi, dword [ebp - 0x468]
lea ecx, [ebp - 0x42c]
sub esi, dword [ebp - 0x46c]
push ebx
push 1
sar esi, 2
call fcn.00401c54
push ebx
push 1
lea ecx, [ebp - 0x460]
call fcn.00401c54
cmp esi, 1
jle 0x43a806
push 0x400
lea eax, [ebp - 0x410]
push ebx
push eax
call fcn.0041e010
mov esi, dword [ebp - 0x46c]
add esp, 0xc
cmp esi, dword [ebp - 0x468]
je 0x43a81d
push 0x200
lea eax, [ebp - 0x410]
push eax
push dword [esi]
call dword [sym.imp.USER32.dll_GetWindowTextW]
cmp dword [ebp - 0x434], 8
lea eax, [ebp - 0x448]
lea ecx, [ebp - 0x410]
cmovae eax, dword [ebp - 0x448]
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x43a7e6
test dx, dx
je 0x43a7e2
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x43a7e6
add ecx, 4
add eax, 4
test dx, dx
jne 0x43a7c0
mov eax, ebx
jmp 0x43a7eb
sbb eax, eax
or eax, 1
test eax, eax
je 0x43a7fc
add esi, 4
cmp esi, dword [ebp - 0x468]
jne 0x43a792
jmp 0x43a7fe
mov edi, dword [esi]
mov esi, dword [ebp - 0x46c]
jmp 0x43a81d
mov eax, dword [ebp - 0x468]
mov esi, dword [ebp - 0x46c]
sub eax, esi
sar eax, 2
test eax, eax
je 0x43a81d
mov edi, dword [esi]
test esi, esi
je 0x43a84a
mov eax, dword [ebp - 0x464]
sub eax, esi
push 4
sar eax, 2
push eax
push esi
call fcn.00401cb5
add esp, 0xc
mov dword [ebp - 0x46c], ebx
mov dword [ebp - 0x468], ebx
mov dword [ebp - 0x464], ebx
push ebx
push 1
lea ecx, [ebp - 0x448]
call fcn.00401c54
mov eax, edi
call fcn.0041a601
ret
Function at 0x43ae6e
Capabilities:
Create thread

Disassembly:
push 0x5c
mov eax, 0x4419b2
call fcn.0041a6c5
xor ebx, ebx
lea eax, [ebp - 0x48]
push eax
push ebx
push 0x482d00
push 0x401e9d
push ebx
push ebx
mov dword [0x482f10], ebx
mov dword [ebp - 0x48], ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 4], ebx
call fcn.0043d940
or dword [ebp - 4], 0xffffffff
mov dword [0x482f10], eax
jmp 0x43aebb
cmp dword [ebp - 0x48], 0
je 0x43aed9
push ebx
push ebx
push 0x502
push dword [ebp - 0x48]
call dword [sym.imp.USER32.dll_PostThreadMessageW]
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [0x482f10], 0
jne 0x43af92
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
mov dword [ebp - 4], 2
lea eax, [ebp - 0x44]
cmp byte [0x482e08], 0
je 0x43af2e
push 0x27
push 0x13
push eax
call fcn.0043a47a
push eax
lea ecx, [ebp - 0x2c]
call fcn.004065d5
push ebx
push 1
lea ecx, [ebp - 0x44]
call fcn.0040451f
lea ecx, [ebp - 0x2c]
call fcn.0043d4fa
jmp 0x43af4c
push 0x25
push 0x11
push eax
call fcn.0043a47a
push eax
lea ecx, [ebp - 0x2c]
call fcn.004065d5
push ebx
push 1
lea ecx, [ebp - 0x44]
call fcn.0040451f
cmp dword [ebp - 0x18], 0x10
lea eax, [ebp - 0x2c]
lea ecx, [ebp - 0x58]
cmovae eax, dword [ebp - 0x2c]
push eax
call fcn.00405edd
mov esi, 0x44ee18
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x58], esi
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x68]
call fcn.00405f14
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x5c], eax
lea eax, [ebp - 0x68]
push 0x459500
push eax
mov dword [ebp - 0x68], esi
call fcn.0041e956
call fcn.0041a612
ret

Function at 0x43af98
Capabilities:
Create thread

Disassembly:
push esi
call fcn.0041f5b6
cmp dword [0x482f0c], 0
mov esi, eax
jne 0x43afe9
cmp word [0x482f8a], 3
push edi
mov edi, 0x482f80
jne 0x43afcd
mov ecx, edi
call fcn.00405db6
test al, 1
je 0x43afcd
cmp byte [0x482e06], 0
je 0x43afe8
push 0x482f14
xor eax, eax
push eax
push edi
push 0x404b9d
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x482f18], eax
pop edi
mov eax, esi
pop esi
ret
Function at 0x43b0d1
Capabilities:
Check mutex on windows

Disassembly:
push 0x5c
mov eax, 0x441a34
call fcn.0041a657
cmp byte [0x482e05], 0
je 0x43b200
push 0x482d18
lea ecx, [ebp - 0x58]
call fcn.004065ad
xor ebx, ebx
lea ecx, [ebp - 0x40]
push 0x454b30
mov dword [ebp - 4], ebx
call fcn.0040492f
push 0x454b00
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call fcn.0040492f
mov byte [ebp - 4], 2
mov esi, ebx
push dword [ebp - 0x18]
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push esi
cmovae eax, dword [ebp - 0x28]
lea ecx, [ebp - 0x58]
push eax
call fcn.00409e81
mov esi, eax
cmp esi, 0xffffffff
je 0x43b157
push 0xffffffffffffffff
push ebx
lea eax, [ebp - 0x40]
push eax
push dword [ebp - 0x18]
lea ecx, [ebp - 0x58]
push esi
call fcn.00406c3d
add esi, dword [ebp - 0x30]
jmp 0x43b120
xor esi, esi
lea ecx, [ebp - 0x28]
push ebx
inc esi
push esi
call fcn.00401c54
push ebx
push esi
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], bl
call fcn.00401c54
cmp dword [ebp - 0x44], 8
lea eax, [ebp - 0x58]
cmovae eax, dword [ebp - 0x58]
push eax
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [0x482f1c], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x43b1f6
push 0x2b
push 0x29
lea eax, [ebp - 0x40]
push eax
call fcn.0043a47a
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 3
call fcn.0043d4fa
cmp dword [ebp - 0x2c], 0x10
lea eax, [ebp - 0x40]
lea ecx, [ebp - 0x68]
cmovae eax, dword [ebp - 0x40]
push eax
call fcn.00405edd
mov esi, 0x44ee18
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 0x68], esi
lea eax, [ebp - 0x68]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x20]
call fcn.00405f14
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x20]
push 0x459500
push eax
mov dword [ebp - 0x20], esi
call fcn.0041e956
push ebx
push esi
lea ecx, [ebp - 0x58]
call fcn.00401c54
call fcn.0041a601
ret

Function at 0x43b22a
Capabilities:
Write file on windows

Disassembly:
push 0x1c
mov eax, 0x441a61
call fcn.0041a657
xor eax, eax
mov dword [ebp - 0x14], 0xf
mov bl, al
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x28], al
cmp byte [ebp + 8], 0
mov dword [ebp - 4], eax
lea eax, [ebp - 0x28]
push eax
mov eax, 0x401
lea ecx, [eax + 2]
cmovne eax, ecx
push eax
call fcn.0043b61a
cmp dword [ebp - 0x18], 0xa
jbe 0x43b29f
call fcn.0043b68c
mov esi, eax
test esi, esi
je 0x43b2a1
cmp dword [ebp - 0x14], 0x10
lea ecx, [ebp - 0x28]
push esi
cmovae ecx, dword [ebp - 0x28]
push 1
push dword [ebp - 0x18]
push ecx
call fcn.00423440
push esi
lea ebx, [eax - 1]
neg ebx
sbb bl, bl
inc bl
call fcn.004230d9
add esp, 0x14
jmp 0x43b2a1
xor bl, bl
push 0
push 1
lea ecx, [ebp - 0x28]
call fcn.0040489d
mov al, bl
call fcn.0041a601
ret 4
Function at 0x43b2b7
Capabilities:
Write file on windows

Disassembly:
push 0x1c
mov eax, 0x441a8e
call fcn.0041a657
xor eax, eax
mov dword [ebp - 0x14], 0xf
mov bl, al
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x28], al
mov dword [ebp - 4], eax
lea eax, [ebp - 0x28]
push eax
push 0x3fa
call fcn.0043b61a
call fcn.0043b32d
mov esi, eax
test esi, esi
je 0x43b319
cmp dword [ebp - 0x14], 0x10
lea ecx, [ebp - 0x28]
push esi
cmovae ecx, dword [ebp - 0x28]
push 1
push dword [ebp - 0x18]
push ecx
call fcn.00423440
push esi
lea ebx, [eax - 1]
neg ebx
sbb bl, bl
inc bl
call fcn.004230d9
add esp, 0x14
push 0
push 1
lea ecx, [ebp - 0x28]
call fcn.0040489d
mov al, bl
call fcn.0041a601
ret

Function at 0x43b3ab
Capabilities:
Write file on windows

Disassembly:
push 0x1c
mov eax, 0x441ae8
call fcn.0041a657
xor eax, eax
mov dword [ebp - 0x14], 0xf
mov bl, 1
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x28], al
mov dword [ebp - 4], eax
lea eax, [ebp - 0x28]
push eax
push 0x3fc
call fcn.0043b61a
call fcn.0043b740
mov esi, eax
test esi, esi
je 0x43b42c
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
mov eax, dword [eax]
cmp eax, dword [0x44ef0f]
jne 0x43b423
cmp dword [ebp - 0x14], 0x10
lea ecx, [ebp - 0x28]
mov eax, dword [ebp - 0x18]
cmovae ecx, dword [ebp - 0x28]
add eax, 0xfffffffc
push esi
push 1
push eax
lea eax, [ecx + 4]
push eax
call fcn.00423440
add esp, 0x10
lea ebx, [eax - 1]
neg ebx
sbb bl, bl
inc bl
push esi
call fcn.004230d9
pop ecx
jmp 0x43b42e
xor bl, bl
push 0
push 1
lea ecx, [ebp - 0x28]
call fcn.0040489d
mov al, bl
call fcn.0041a601
ret