joyce8/EMBER2024-capa huggingface dataset:
Function at 0x435480
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
mov eax, dword [0x5c49f0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0x44
lea eax, [ebp - 0x50]
mov esi, edx
push 0
push eax
mov edi, ecx
call fcn.00536540
add esp, 0xc
mov dword [ebp - 0x50], 0x44
cmp dword [ebp + 0x1c], 0x10
lea ecx, [ebp - 0x60]
lea eax, [ebp + 8]
xorps xmm0, xmm0
cmovae eax, dword [ebp + 8]
or esi, 0x8000000
push ecx
lea ecx, [ebp - 0x50]
push ecx
push 0
push 0
push esi
push 0
push 0
push 0
push eax
movups xmmword [ebp - 0x60], xmm0
call fcn.0053d158
add esp, 4
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x4354f2
xor esi, esi
jmp 0x435516
test edi, edi
je 0x435501
push 0xffffffffffffffff
push dword [ebp - 0x60]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp - 0x60]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x5c]
call esi
mov esi, 1
mov ecx, dword [ebp + 0x1c]
cmp ecx, 0x10
jb 0x43552b
inc ecx
push ecx
push dword [ebp + 8]
lea ecx, [ebp + 8]
call fcn.0042ce80
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
xor ecx, ebp
pop esi
call fcn.0053342f
mov esp, ebp
pop ebp
ret
Function at 0x435540
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x154
mov eax, dword [0x5c49f0]
xor eax, esp
mov dword [esp + 0x150], eax
push ebx
push esi
push edi
push 0x124
lea eax, [esp + 0x20]
mov dword [esp + 0x18], ecx
push 0
push eax
mov esi, edx
call fcn.00536540
mov ecx, esi
mov dword [esp + 0x24], pe_nt_image_headers32
add esp, 0xc
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x435584
sub ecx, edx
push 0
push 2
setne byte [esp + 0x1b]
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov edi, eax
cmp edi, 0xffffffff
je 0x43569c
lea eax, [esp + 0x18]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32First]
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcmpiA]
nop dword [eax]
lea eax, [esp + 0x3c]
push eax
push dword [esp + 0x18]
call ebx
test eax, eax
jne 0x435638
mov edx, dword [esp + 0x20]
lea ecx, [esp + 0x144]
call fcn.00435330
cmp byte [esp + 0x13], 0
je 0x435675
cmp byte [esi], 0
jne 0x4355f3
xor eax, eax
jmp 0x435601
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4355f8
sub eax, edx
push eax
push ecx
push esi
lea ecx, [esp + 0x150]
call fcn.0042bb60
cmp eax, 0xffffffff
jne 0x435675
mov eax, dword [esp + 0x158]
cmp eax, 0x10
jb 0x435640
inc eax
lea ecx, [esp + 0x144]
push eax
push dword [esp + 0x148]
call fcn.0042ce80
jmp 0x435640
mov dword [esp + 0x18], pe_nt_image_headers32
lea eax, [esp + 0x18]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x4355c0
or esi, 0xffffffff
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x150]
xor ecx, esp
call fcn.0053342f
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x158]
mov esi, dword [esp + 0x20]
cmp ecx, 0x10
jb 0x435657
inc ecx
push ecx
push dword [esp + 0x148]
lea ecx, [esp + 0x14c]
call fcn.0042ce80
jmp 0x435657
mov ecx, dword [esp + 0x15c]
or eax, 0xffffffff
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0053342f
mov esp, ebp
pop ebp
ret
Function at 0x435850
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55d8b0
mov eax, dword fs:[0]
push eax
sub esp, 0x408
mov eax, dword [0x5c49f0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov dword [ebp - 0x414], 0
lea eax, [ecx + 4]
mov dword [ebp - 4], 1
cmp dword [eax + 0x14], 0x10
jb 0x43589c
mov eax, dword [eax]
cmp dword [ebp + 0x38], 0x10
lea edx, [ebp + 0x24]
lea edi, [ebp + 0xc]
cmovae edx, dword [ebp + 0x24]
cmp dword [ebp + 0x20], 0x10
cmovae edi, dword [ebp + 0xc]
add ecx, 0x1c
cmp dword [ecx + 0x14], 0x10
jb 0x4358bd
mov ecx, dword [ecx]
push eax
push 0x400
lea eax, [ebp - 0x410]
push eax
push edx
push edi
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], 0
mov byte [esi], 0
cmp byte [ebp - 0x410], 0
jne 0x4358f1
xor ecx, ecx
jmp 0x435909
lea ecx, [ebp - 0x410]
lea edx, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x435900
sub ecx, edx
push ecx
lea eax, [ebp - 0x410]
mov ecx, esi
push eax
call fcn.0042c1b0
mov eax, dword [ebp + 0x20]
cmp eax, 0x10
jb 0x43592d
inc eax
lea ecx, [ebp + 0xc]
push eax
push dword [ebp + 0xc]
call fcn.0042ce80
mov ecx, dword [ebp + 0x38]
mov dword [ebp + 0x20], 0xf
mov dword [ebp + 0x1c], 0
mov byte [ebp + 0xc], 0
cmp ecx, 0x10
jb 0x435954
inc ecx
push ecx
push dword [ebp + 0x24]
lea ecx, [ebp + 0x24]
call fcn.0042ce80
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0053342f
mov esp, ebp
pop ebp
ret 0x34
Function at 0x4359e0
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55d8fe
mov eax, dword fs:[0]
push eax
sub esp, 0x578
mov eax, dword [0x5c49f0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0xffffffffffffffff
mov dword [ebp - 4], 0
lea eax, [ebp + 8]
push 0
push eax
lea ecx, [ebp - 0x428]
mov dword [ebp - 0x414], 0xf
mov dword [ebp - 0x418], 0
mov byte [ebp - 0x428], 0
call fcn.0042c2b0
push 1
push 0x5b0c88
lea ecx, [ebp - 0x428]
mov byte [ebp - 4], 1
call fcn.0042c490
cmp dword [ebp - 0x414], 0x10
lea eax, [ebp - 0x428]
cmovae eax, dword [ebp - 0x428]
push eax
push str._s.
lea eax, [ebp - 0x410]
push 0x400
push eax
call fcn.004347d0
add esp, 0x10
lea eax, [ebp - 0x568]
push eax
lea eax, [ebp - 0x410]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x435be1
nop word [eax + eax]
test byte [ebp - 0x568], 0x10
lea eax, [ebp - 0x53c]
je 0x435b70
push 0x5b13dc
push eax
call fcn.005401f5
add esp, 8
test eax, eax
je 0x435bb2
lea eax, [ebp - 0x53c]
push 0x5b13e0
push eax
call fcn.005401f5
add esp, 8
test eax, eax
je 0x435bb2
lea eax, [ebp - 0x53c]
push eax
lea edx, [ebp - 0x428]
lea ecx, [ebp - 0x580]
call fcn.0042dbd0
add esp, 4
mov esi, eax
mov byte [ebp - 4], 2
cmp dword [esi + 0x14], 0x10
jb 0x435b1e
mov esi, dword [esi]
sub esp, 0x18
mov edx, esp
mov dword [edx + 0x14], 0xf
mov dword [edx + 0x10], 0
cmp dword [edx + 0x14], 0x10
jb 0x435b3b
mov eax, dword [edx]
jmp 0x435b3d
mov eax, edx
mov byte [eax], 0
cmp byte [esi], 0
jne 0x435b49
xor ecx, ecx
jmp 0x435b59
mov ecx, esi
lea edi, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x435b50
sub ecx, edi
push ecx
push esi
mov ecx, edx
call fcn.0042c1b0
call fcn.004359e0
add esp, 0x18
mov byte [ebp - 4], 1
jmp 0x435b94
push eax
lea edx, [ebp - 0x428]
lea ecx, [ebp - 0x580]
call fcn.0042dbd0
add esp, 4
cmp dword [eax + 0x14], 0x10
jb 0x435b8d
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov eax, dword [ebp - 0x56c]
cmp eax, 0x10
jb 0x435bb2
inc eax
lea ecx, [ebp - 0x580]
push eax
push dword [ebp - 0x580]
call fcn.0042ce80
lea eax, [ebp - 0x568]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x435ab0
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [ebp + 0x1c], 0x10
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
mov eax, dword [ebp - 0x414]
cmp eax, 0x10
jb 0x435bff
inc eax
lea ecx, [ebp - 0x428]
push eax
push dword [ebp - 0x428]
call fcn.0042ce80
mov eax, dword [ebp + 0x1c]
mov byte [ebp - 0x428], 0
mov dword [ebp - 0x418], 0
mov dword [ebp - 0x414], 0xf
cmp eax, 0x10
jb 0x435c2f
inc eax
lea ecx, [ebp + 8]
push eax
push dword [ebp + 8]
call fcn.0042ce80
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0053342f
mov esp, ebp
pop ebp
ret
Function at 0x436320
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0x1c], 0x10
lea eax, [ebp + 8]
push esi
cmovae eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x436346
test al, 0x10
je 0x436346
mov esi, 1
jmp 0x436348
xor esi, esi
mov ecx, dword [ebp + 0x1c]
cmp ecx, 0x10
jb 0x43635d
inc ecx
push ecx
push dword [ebp + 8]
lea ecx, [ebp + 8]
call fcn.0042ce80
mov eax, esi
pop esi
pop ebp
ret
Function at 0x436fb0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55dae3
mov eax, dword fs:[0]
push eax
mov eax, 0x1040
call fcn.00533fa0
mov eax, dword [0x5c49f0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea ecx, [ebp - 0x1028]
mov dword [ebp - 4], 0
xor esi, esi
call fcn.00434ac0
push 9
push str.Flag.txt
lea ecx, [ebp - 0x1028]
mov byte [ebp - 4], 1
call fcn.0042c490
push 0xffffffffffffffff
push esi
lea eax, [ebp - 0x1028]
mov dword [ebp - 0x1034], 0xf
push eax
lea ecx, [ebp - 0x1048]
mov dword [ebp - 0x1038], esi
mov byte [ebp - 0x1048], 0
call fcn.0042c2b0
cmp dword [ebp - 0x1034], 0x10
lea eax, [ebp - 0x1048]
cmovae eax, dword [ebp - 0x1048]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x437060
test al, 0x10
jne 0x437060
lea edi, [esi + 1]
jmp 0x437062
xor edi, edi
mov eax, dword [ebp - 0x1034]
cmp eax, 0x10
jb 0x437080
inc eax
lea ecx, [ebp - 0x1048]
push eax
push dword [ebp - 0x1048]
call fcn.0042ce80
test edi, edi
je 0x437133
cmp dword [ebp - 0x1014], 0x10
lea eax, [ebp - 0x1028]
push 0x5b19b8
cmovae eax, dword [ebp - 0x1028]
push eax
lea eax, [ebp - 0x102c]
mov dword [ebp - 0x102c], 0
push eax
call fcn.0053ab19
add esp, 0xc
test eax, eax
jne 0x437133
push 0x1000
push eax
lea eax, [ebp - 0x1010]
push eax
call fcn.00536540
push dword [ebp - 0x102c]
lea eax, [ebp - 0x1010]
push 0x1000
push eax
call fcn.0053f385
add esp, 0x18
test eax, eax
je 0x437114
cmp dword [ebp + 0x1c], 0x10
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
push eax
lea eax, [ebp - 0x1010]
push eax
call fcn.00540791
add esp, 8
mov ecx, 1
test eax, eax
cmovne esi, ecx
mov eax, dword [ebp - 0x102c]
test eax, eax
je 0x437135
push eax
call fcn.00539ebd
add esp, 4
mov dword [ebp - 0x102c], 0
jmp 0x437135
xor esi, esi
mov eax, dword [ebp - 0x1014]
cmp eax, 0x10
jb 0x437153
inc eax
lea ecx, [ebp - 0x1028]
push eax
push dword [ebp - 0x1028]
call fcn.0042ce80
mov ecx, dword [ebp + 0x1c]
mov dword [ebp - 0x1014], 0xf
mov dword [ebp - 0x1018], 0
mov byte [ebp - 0x1028], 0
cmp ecx, 0x10
jb 0x437183
inc ecx
push ecx
push dword [ebp + 8]
lea ecx, [ebp + 8]
call fcn.0042ce80
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0053342f
mov esp, ebp
pop ebp
ret 0x18
Function at 0x4371b0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x5c49f0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
push edi
xor edi, edi
mov dword [ebp - 0x118], eax
push 0x104
lea eax, [ebp - 0x108]
mov dword [ebp - 0x114], edi
push edi
push eax
mov esi, edx
mov dword [ebp - 0x110], 1
call fcn.00536540
add esp, 0xc
mov dword [ebp - 0x10c], 0x104
lea eax, [ebp - 0x114]
push eax
push 1
push edi
push esi
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x43727d
lea eax, [ebp - 0x10c]
push eax
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x110]
push eax
push edi
push str.DisplayName
push dword [ebp - 0x114]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x437252
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x43727d
mov eax, dword [ebp - 0x10c]
cmp dword [ebx], eax
jb 0x43727d
push eax
lea eax, [ebp - 0x108]
push eax
push dword [ebp - 0x118]
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
mov eax, dword [ebp - 0x10c]
mov edi, 1
mov dword [ebx], eax
mov ecx, dword [ebp - 0x114]
test ecx, ecx
je 0x43728e
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0053342f
mov esp, ebp
pop ebp
ret

Function at 0x43c0f0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55e0e6
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x5c49f0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
lea ecx, [esi + 0x14]
mov dword [esi], vtable.CLYCtrlBase.0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
cmp dword [ecx + 0x14], 0x10
jb 0x43c13b
mov eax, dword [ecx]
jmp 0x43c13d
mov eax, ecx
mov byte [eax], 0
mov dword [ebp - 4], 0
mov dword [esi + 0x48], 0xf
mov dword [esi + 0x44], 0
cmp dword [esi + 0x48], 0x10
jb 0x43c160
mov eax, dword [esi + 0x34]
jmp 0x43c163
lea eax, [esi + 0x34]
mov byte [eax], 0
mov byte [ebp - 4], 1
push 4
push 0x5b1b68
mov dword [esi + 4], 0
mov dword [esi + 8], 0xffffff
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
call fcn.0042c1b0
push 0
push 0x5b03e0
lea ecx, [esi + 0x34]
mov dword [esi + 0x2c], 0xcc7900
mov dword [esi + 0x30], 0xff3c32
call fcn.0042c1b0
mov dword [esi + 0x4c], 0xe
mov eax, esi
mov dword [esi + 0x50], 1
mov dword [esi + 0x54], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x43d5f0
Capabilities:
Get proxy
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1fc
mov eax, dword [0x5c49f0]
xor eax, ebp
mov dword [ebp - 4], eax
movups xmm0, xmmword [str.SoftwareMicrosoftWindowsCurrentVersionInternet_Settings]
mov eax, dword [0x5b1be8]
push esi
movups xmmword [ebp - 0x104], xmm0
push 0xc3
movups xmm0, xmmword [0x5b1bc0]
mov dword [ebp - 0xcc], eax
mov esi, ecx
lea eax, [ebp - 0xc8]
movups xmmword [ebp - 0xf4], xmm0
push 0
movups xmm0, xmmword [0x5b1bd0]
push eax
movups xmmword [ebp - 0xe4], xmm0
movq xmm0, qword [0x5b1be0]
movq qword [ebp - 0xd4], xmm0
call fcn.00536540
add esp, 0xc
lea eax, [ebp - 0x1fc]
push eax
push 0x20019
push 0
lea eax, [ebp - 0x104]
push eax
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x43d745
mov dword [ebp - 0x1f0], eax
lea eax, [ebp - 0x1f4]
push eax
lea eax, [ebp - 0x1f0]
mov dword [ebp - 0x1f4], 4
push eax
push 0
push 0
push str.ProxyEnable
push dword [ebp - 0x1fc]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x43d745
cmp dword [ebp - 0x1f0], eax
je 0x43d745
push 0xe8
push eax
lea eax, [ebp - 0x1ec]
mov dword [esi + 0x1c], 1
push eax
call fcn.00536540
add esp, 0xc
mov dword [ebp - 0x1f8], 0xe8
lea eax, [ebp - 0x1f8]
push eax
lea eax, [ebp - 0x1ec]
push eax
push 0
push 0
push str.ProxyServer
push dword [ebp - 0x1fc]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x43d745
lea eax, [ebp - 0x1ec]
push eax
lea ecx, [esi + 4]
call fcn.0042a340
push dword [ebp - 0x1fc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0053342f
mov esp, ebp
pop ebp
ret
push dword [ebp - 0x1fc]
mov dword [esi + 0x1c], 0
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
xor al, al
xor ecx, ebp
pop esi
call fcn.0053342f
mov esp, ebp
pop ebp
ret
Function at 0x43e740
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55e3f1
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x5c49f0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea eax, [ecx + 0x24c]
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x2c]
push 0xffffffffffffffff
mov dword [ebp - 0x48], 0
push 0
push eax
mov dword [ebp - 0x4c], esi
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], 0
mov byte [ebp - 0x2c], 0
call fcn.0042c2b0
push 7
push str.update
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], 1
call fcn.0042c490
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x30], 0xf
push eax
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x34], 0
mov byte [ebp - 0x44], 0
call fcn.0042c2b0
cmp dword [ebp - 0x30], 0x10
lea eax, [ebp - 0x44]
cmovae eax, dword [ebp - 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x43e7fd
test al, 0x10
je 0x43e7fd
mov edi, 1
jmp 0x43e7ff
xor edi, edi
mov eax, dword [ebp - 0x30]
cmp eax, 0x10
jb 0x43e814
inc eax
lea ecx, [ebp - 0x44]
push eax
push dword [ebp - 0x44]
call fcn.0042ce80
test edi, edi
jne 0x43e85d
push 0xffffffffffffffff
push edi
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x30], 0xf
push eax
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x34], edi
mov byte [ebp - 0x44], 0
call fcn.0042c2b0
cmp dword [ebp - 0x30], 0x10
lea eax, [ebp - 0x44]
push edi
cmovae eax, dword [ebp - 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov eax, dword [ebp - 0x30]
cmp eax, 0x10
jb 0x43e85d
inc eax
lea ecx, [ebp - 0x44]
push eax
push dword [ebp - 0x44]
call fcn.0042ce80
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x14], 0xf
cmp dword [esi + 0x14], 0x10
mov dword [esi + 0x10], 0
jb 0x43e883
mov eax, dword [esi]
jmp 0x43e885
mov eax, esi
push 0xffffffffffffffff
mov byte [eax], 0
mov ecx, esi
push 0
lea eax, [ebp - 0x2c]
push eax
call fcn.0042c2b0
push 0xb
push str.update.zip
mov ecx, esi
mov dword [ebp - 0x48], 1
call fcn.0042c490
mov ecx, dword [ebp - 0x18]
cmp ecx, 0x10
jb 0x43e8c1
inc ecx
push ecx
push dword [ebp - 0x2c]
lea ecx, [ebp - 0x2c]
call fcn.0042ce80
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0053342f
mov esp, ebp
pop ebp
ret 4
Function at 0x43ec40
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55e42e
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x5c49f0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edx, ecx
mov dword [ebp - 0x14], 0
lea ecx, [ebp - 0x2c]
call fcn.00434d30
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x14]
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
push ecx
cmovae eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov ebx, dword [ebp - 0x14]
xor edi, edi
mov dword [ebp - 0x30], eax
test ebx, ebx
jle 0x43edb3
nop dword [eax]
mov ecx, dword [eax + edi*4]
mov edx, str.__initupgrade
mov eax, ecx
nop word [eax + eax]
mov si, word [eax]
cmp si, word [edx]
jne 0x43ece6
test si, si
je 0x43ece2
mov si, word [eax + 2]
cmp si, word [edx + 2]
jne 0x43ece6
add eax, 4
add edx, 4
test si, si
jne 0x43ecc0
xor eax, eax
jmp 0x43eceb
sbb eax, eax
or eax, 1
test eax, eax
jne 0x43ecf8
mov byte [0x5c91ac], 1
jmp 0x43ed36
mov eax, str.__name
nop dword [eax]
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x43ed26
test dx, dx
je 0x43ed22
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x43ed26
add ecx, 4
add eax, 4
test dx, dx
jne 0x43ed00
xor eax, eax
jmp 0x43ed2b
sbb eax, eax
or eax, 1
test eax, eax
jne 0x43ed36
lea eax, [edi + 1]
cmp eax, ebx
jl 0x43ed43
inc edi
cmp edi, ebx
jge 0x43edb3
mov eax, dword [ebp - 0x30]
jmp 0x43ecb0
mov edx, dword [ebp - 0x30]
lea ecx, [ebp - 0x48]
mov edx, dword [edx + edi*4 + 4]
call fcn.00434f70
mov esi, eax
cmp esi, 0x5c9408
je 0x43ed9e
mov eax, dword [0x5c941c]
cmp eax, 0x10
jb 0x43ed78
inc eax
mov ecx, 0x5c9408
push eax
push dword [0x5c9408]
call fcn.0042ce80
push esi
mov ecx, 0x5c9408
mov dword [0x5c941c], 0xf
mov dword [0x5c9418], 0
mov byte [0x5c9408], 0
call fcn.0042c6c0
mov eax, dword [ebp - 0x34]
cmp eax, 0x10
jb 0x43edb3
inc eax
lea ecx, [ebp - 0x48]
push eax
push dword [ebp - 0x48]
call fcn.0042ce80
mov eax, dword [ebp - 0x18]
cmp eax, 8
jb 0x43edc8
inc eax
lea ecx, [ebp - 0x2c]
push eax
push dword [ebp - 0x2c]
call fcn.00439070
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0053342f
mov esp, ebp
pop ebp
ret
Function at 0x43ef90
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55e4c0
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x5c49f0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea ecx, [ebp - 0x58]
call fcn.0043edf0
mov dword [ebp - 4], 0
lea edx, [ebp - 0x58]
push str.flag.txt
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x5c], 0
call fcn.0042dbd0
add esp, 4
mov byte [ebp - 4], 1
lea eax, [ebp - 0x40]
cmp dword [ebp - 0x2c], 0x10
push 0x5b18fc
cmovae eax, dword [ebp - 0x40]
push eax
lea eax, [ebp - 0x5c]
push eax
call fcn.0053ab19
add esp, 0xc
cmp dword [ebp - 0x5c], 0
je 0x43f069
push 3
push 0x5b063c
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
call fcn.0042c1b0
push dword [ebp - 0x5c]
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
push 1
push dword [ebp - 0x18]
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.0053a87a
push dword [ebp - 0x5c]
call fcn.00539ebd
mov eax, dword [ebp - 0x14]
add esp, 0x14
mov dword [ebp - 0x5c], 0
cmp eax, 0x10
jb 0x43f069
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.0042ce80
mov eax, dword [ebp - 0x2c]
cmp eax, 0x10
jb 0x43f07e
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.0042ce80
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x40], 0
cmp eax, 0x10
jb 0x43f0a5
inc eax
lea ecx, [ebp - 0x58]
push eax
push dword [ebp - 0x58]
call fcn.0042ce80
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0053342f
mov esp, ebp
pop ebp
ret