joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40fff0
Capabilities:
Persist via run registry key
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x57e00b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x224
push ebx
push ebp
push esi
push edi
mov esi, ecx
push 4
call fcn.00567b03
mov ebx, eax
mov eax, dword [0x5e887c]
mov dword [esp + 0x128], eax
mov ecx, 0x42
xor eax, eax
lea edi, [esp + 0x12c]
rep stosd dword es:[edi], eax
add esp, 4
lea ecx, [esp + 0x14]
stosw word es:[edi], ax
push 0x10e
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov eax, dword [esi + 0x19c]
test eax, eax
je 0x4100bc
mov edx, dword [0x5f9f88]
mov dword [esp + 0x10], edx
lea eax, [esp + 0x14]
lea ecx, [esp + 0x10]
push eax
push str.__s__1
push ecx
mov dword [esp + 0x248], 0
call fcn.00563eb4
mov edi, dword [esp + 0x1c]
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x14]
mov eax, ecx
mov esi, edi
mov edi, edx
mov dword [esp + 0x23c], 0xffffffff
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x10]
call fcn.0056870c
call fcn.00578d59
mov eax, dword [eax + 4]
mov ecx, dword [eax + 0x284]
test ecx, ecx
je 0x4100fc
mov edi, 0x5e886c
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x14]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebp, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x14]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebp, ecx
js 0x41012a
lea ecx, [ebp + 1]
lea esi, [esp + 0x14]
mov eax, ecx
lea edi, [esp + 0x124]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push ebx
push str.SOFTWAREMicrosoftWindowsCurrentVersionRun_
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x410162
mov edx, dword [ebx]
lea ecx, [esp + 0x124]
push ebp
push ecx
push 1
push eax
push str.FEIQ
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov eax, dword [ebx]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ebx
call fcn.00567b2c
mov ecx, dword [esp + 0x238]
add esp, 4
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x230
ret

Function at 0x410190
Capabilities:
Delete registry value
Persist via run registry key

Disassembly:
push esi
push 4
call fcn.00567b03
add esp, 4
mov esi, eax
push esi
push str.SOFTWAREMicrosoftWindowsCurrentVersionRun_
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x4101c0
mov eax, dword [esi]
push str.FEIQ
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
push esi
call fcn.00567b2c
add esp, 4
pop esi
ret
Function at 0x4101d0
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x57e047
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push esi
mov dword [esp + 0x10], 0
mov eax, dword [0x5f9f88]
mov ebx, 1
mov dword [esp + 0x20], ebx
mov dword [esp + 8], eax
push 0x200
mov byte [esp + 0x24], 2
call fcn.00567b03
add esp, 4
lea ecx, [esp + 0xc]
mov esi, eax
push ecx
push 0xf003f
push 0
push str.softwareHSToolsIPMsgEng
push reloc.WSOCK32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x41024e
mov esi, dword [esp + 0x28]
push 0x5fe7d8
mov ecx, esi
call fcn.0056877a
mov dword [esp + 0x10], ebx
jmp 0x41029c
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0xc]
lea edx, [esp + 0x14]
push edx
push esi
push 0
push 0
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x410273
push 0x5fe7d8
jmp 0x410274
push esi
lea ecx, [esp + 0xc]
call fcn.00568895
mov edx, dword [esp + 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [esp + 0x28]
lea eax, [esp + 8]
push eax
mov ecx, esi
call fcn.00568481
mov dword [esp + 0x10], ebx
lea ecx, [esp + 8]
mov byte [esp + 0x20], bl
call fcn.0056870c
lea ecx, [esp + 0x2c]
mov byte [esp + 0x20], 0
call fcn.0056870c
mov ecx, dword [esp + 0x18]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret 8
Function at 0x41f990
Capabilities:
Set file attributes

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x57f7bb
push eax
mov dword fs:[0], esp
sub esp, 0x404
push esi
mov esi, ecx
mov eax, dword [esi + 0xf690]
mov ecx, dword [eax + 8]
lea edx, [eax + 0x198]
test ecx, ecx
jne 0x41f9c7
lea edx, [eax + 0x94]
mov ecx, dword [eax + 0x1c]
test ecx, ecx
je 0x41f9d2
mov eax, ecx
jmp 0x41f9d5
mov eax, dword [eax + 0x20]
push eax
lea eax, [esp + 0xc]
push edx
push eax
call fcn.0043a910
add esp, 0xc
cmp eax, 0x104
jl 0x41fa16
push 0
lea ecx, [esp + 0xc]
push 0x5e96e0
push ecx
mov ecx, esi
call fcn.0056a944
xor eax, eax
pop esi
mov ecx, dword [esp + 0x404]
mov dword fs:[0], ecx
add esp, 0x410
ret
mov eax, dword [esi + 0xf690]
add eax, 0x10
mov ecx, dword [eax + 0xc]
test ecx, ecx
je 0x41fa2a
mov eax, ecx
jmp 0x41fa2d
mov eax, dword [eax + 0x10]
lea edx, [esp + 8]
push eax
push edx
call fcn.0043a890
add esp, 8
test eax, eax
jne 0x41fa69
push eax
lea eax, [esp + 0xc]
push 0x5e96d0
push eax
mov ecx, esi
call fcn.0056a944
xor eax, eax
pop esi
mov ecx, dword [esp + 0x404]
mov dword fs:[0], ecx
add esp, 0x410
ret
lea ecx, [esp + 8]
push ecx
lea ecx, [esp + 8]
call fcn.0056877a
push str..fiq
lea ecx, [esp + 8]
mov dword [esp + 0x414], 0
call fcn.00568ae8
mov edx, dword [esp + 4]
push 0
push 0x80
push 2
push 0
push 3
push 0x40000000
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ecx, dword [esi + 0xf690]
mov dword [ecx + 0x5c], eax
mov eax, dword [esi + 0xf690]
cmp dword [eax + 0x5c], 0xffffffff
jne 0x41fb08
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x41fadc
lea edx, [esp + 8]
push 0
push edx
push 0x5e96ec
mov ecx, esi
call fcn.0056a944
lea ecx, [esp + 4]
mov dword [esp + 0x410], 0xffffffff
call fcn.0056870c
xor eax, eax
pop esi
mov ecx, dword [esp + 0x404]
mov dword fs:[0], ecx
add esp, 0x410
ret
mov eax, dword [eax + 0x24]
test ah, 1
je 0x41fb1d
lea eax, [esp + 8]
push 1
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
lea ecx, [esp + 4]
mov dword [esp + 0x410], 0xffffffff
call fcn.0056870c
mov ecx, dword [esp + 0x408]
mov eax, 1
pop esi
mov dword fs:[0], ecx
add esp, 0x410
ret
Function at 0x41fb50
Capabilities:
Download and write a file
Receive and write data from server to client
Receive data
Receive data on socket
Write file on windows

Disassembly:
sub esp, 8
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov ecx, dword [esi + 0xf690]
mov edi, dword [ecx + 0x48]
mov ebx, dword [ecx + 0x50]
mov edx, dword [ecx + 0x48]
mov ebp, dword [ecx + 0x2c]
mov eax, dword [ecx + 0x4c]
sub edi, ebx
mov ebx, dword [ecx + 0x28]
sub ebx, edx
sbb ebp, eax
mov eax, dword [esi + 0x33b0]
mov eax, dword [eax + 0x5348]
sub eax, edi
cdq
cmp ebp, edx
jl 0x41fb96
jg 0x41fb90
cmp ebx, eax
jbe 0x41fb96
mov ebx, eax
mov dword [esp + 0x14], edx
mov edx, dword [ecx + 0x58]
mov eax, dword [ecx]
push 0
add edx, edi
mov ecx, dword [eax + 8]
push ebx
push edx
push ecx
call sub.WSOCK32.dll_recv
mov ebx, eax
test ebx, ebx
jle 0x41fcd4
mov edx, dword [esi + 0xf690]
cmp dword [edx + 0x5c], 0xffffffff
jne 0x41fbcf
mov ecx, esi
call fcn.0041f990
test eax, eax
je 0x41fcd4
mov ecx, dword [esi + 0xf690]
mov eax, ebx
cdq
add edi, ebx
mov ebp, edx
mov edx, dword [ecx + 0x48]
mov ebx, eax
mov eax, dword [ecx + 0x4c]
add edx, ebx
adc eax, ebp
cmp eax, dword [ecx + 0x2c]
jg 0x41fc02
jl 0x41fbf4
cmp edx, dword [ecx + 0x28]
jae 0x41fc02
mov eax, dword [esi + 0x33b0]
cmp dword [eax + 0x5348], edi
jne 0x41fc44
mov eax, dword [ecx + 0x58]
mov ecx, dword [ecx + 0x5c]
lea edx, [esp + 0x10]
push 0
push edx
push edi
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
cmp eax, 1
jne 0x41fcc4
cmp edi, dword [esp + 0x10]
jne 0x41fcc4
mov ecx, dword [esi + 0xf690]
mov eax, edi
cdq
mov edi, dword [ecx + 0x50]
add edi, eax
mov dword [ecx + 0x50], edi
mov eax, dword [ecx + 0x54]
adc eax, edx
mov dword [ecx + 0x54], eax
mov eax, dword [esi + 0xf690]
mov edx, dword [eax + 0x48]
add edx, ebx
mov dword [eax + 0x48], edx
mov ecx, dword [eax + 0x4c]
adc ecx, ebp
mov dword [eax + 0x4c], ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edx, dword [esi + 0xf690]
mov ecx, dword [edx]
mov edx, eax
sub edx, dword [ecx + 0x20]
cmp edx, 0x3e8
jb 0x41fc8b
mov dword [ecx + 0x20], eax
mov eax, dword [esi + 0x1c]
push 0
push 0
push 0x470
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
mov esi, dword [esi + 0xf690]
mov ecx, dword [esi + 0x4c]
mov eax, dword [esi + 0x2c]
cmp ecx, eax
jl 0x41fcb7
jg 0x41fca7
mov edx, dword [esi + 0x48]
mov eax, dword [esi + 0x28]
cmp edx, eax
jb 0x41fcb7
mov eax, dword [esi + 8]
neg eax
sbb eax, eax
add eax, 8
mov dword [esi + 0x90], eax
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 8
ret
push 0
push 0
push 0x5e96fc
mov ecx, esi
call fcn.0056a944
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 8
ret
Function at 0x437b20
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x580b48
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x34
push ebx
push esi
mov esi, ecx
push edi
mov edi, dword [sym.imp.USER32.dll_GetParent]
mov eax, dword [esi + 0x1c]
push eax
call edi
push eax
call fcn.005691a1
push eax
lea ecx, [esp + 0x30]
call fcn.0056f86b
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0xc]
push ecx
push edx
mov dword [esp + 0x50], 0
call dword [sym.imp.USER32.dll_GetClientRect]
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0x1c]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov edx, dword [esi + 0x1c]
push edx
call edi
push eax
call fcn.005691a1
lea ecx, [esp + 0x1c]
push ecx
mov ecx, eax
call fcn.0056f721
mov eax, dword [esi + 0xf0]
mov ebx, dword [sym.imp.GDI32.dll_BitBlt]
test eax, eax
jne 0x437c56
mov ecx, dword [esp + 0x30]
lea eax, [esp + 0x2c]
neg eax
sbb eax, eax
and eax, ecx
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
lea ecx, [esi + 0xec]
call fcn.0056ef8b
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
mov edi, dword [esp + 0xc]
mov edx, dword [esp + 0x30]
sub eax, ecx
mov ecx, dword [esp + 0x14]
sub ecx, edi
push eax
push ecx
push edx
lea edi, [esi + 0xfc]
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
mov ecx, edi
call fcn.0056fb13
test edi, edi
je 0x437c02
mov edi, dword [edi + 4]
mov eax, dword [esi + 0xf0]
push edi
push eax
call fcn.0056f0cc
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
mov dword [esi + 0x104], eax
mov eax, dword [esp + 0xc]
sub ecx, edx
mov edx, dword [esp + 0x14]
mov edi, dword [esp + 0x30]
sub edx, eax
lea eax, [esp + 0x2c]
push 0xcc0020
neg eax
sbb eax, eax
and eax, edi
mov edi, dword [esp + 0x24]
push edi
mov edi, dword [esp + 0x24]
push edi
push eax
push ecx
mov ecx, dword [esi + 0xf0]
push edx
push 0
push 0
push ecx
call ebx
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
mov edi, dword [esp + 0xc]
sub eax, ecx
mov ecx, dword [esp + 0x14]
lea edx, [esi + 0xec]
sub ecx, edi
test edx, edx
je 0x437c77
mov edx, dword [edx + 4]
push 0xcc0020
push 0
push 0
push edx
mov edx, dword [esp + 0x60]
push eax
push ecx
push 0
mov eax, dword [edx + 4]
push 0
push eax
call ebx
lea ecx, [esp + 0x2c]
mov dword [esp + 0x48], 0xffffffff
call fcn.0056f8dd
mov ecx, dword [esp + 0x40]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x40
ret 4
Function at 0x438620
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x580bd7
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x158
push ebx
push ebp
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov dword [esp + 0x10], esi
mov dword [esi], vtable.CMenu.0
mov dword [esi + 4], ebx
lea ebp, [esi + 0x1c]
mov dword [esp + 0x170], ebx
mov ecx, ebp
call fcn.00565731
lea ecx, [esi + 0x24]
mov byte [esp + 0x170], 1
call fcn.00565731
mov ecx, 0x11
mov eax, 0xa
mov dword [esi + 0x68], 0x599dec
mov dword [esi + 0x6c], ebx
mov dword [esi + 0x70], ecx
mov dword [esi + 0x74], ebx
mov dword [esi + 0x78], ebx
mov dword [esi + 0x7c], ebx
mov dword [esi + 0x80], eax
mov dword [esi + 0x84], 0x599de0
mov dword [esi + 0x88], ebx
mov dword [esi + 0x8c], ecx
mov dword [esi + 0x90], ebx
mov dword [esi + 0x94], ebx
mov dword [esi + 0x98], ebx
mov dword [esi + 0x9c], eax
mov dword [esi + 0xa4], ebx
mov dword [esi + 0xa0], 0x597d4c
mov edi, dword [sym.imp.USER32.dll_GetSysColor]
push 7
mov byte [esp + 0x174], 5
mov dword [esi], method.CMenu.virtual_0
call edi
push 0xe
mov dword [esi + 0x2c], eax
call edi
push 0xf
mov dword [esi + 0x30], eax
call edi
push 4
mov dword [esi + 0x34], eax
call edi
push 0xd
mov dword [esi + 0x38], eax
call edi
push 0x14
mov dword [esi + 0x3c], eax
call edi
push 0x10
mov dword [esi + 0x40], eax
call edi
push 0x11
mov dword [esi + 0x44], eax
call edi
push 0xf
mov dword [esi + 0x48], eax
call edi
push 0x14
mov dword [esi + 0x4c], eax
call edi
push 0x10
mov dword [esi + 0x50], eax
call edi
mov dword [esi + 0x54], eax
mov dword [esi + 0x58], ebx
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x60], ebx
mov dword [esi + 0x64], ebx
mov dword [esi + 0xc], ebx
mov ecx, 0x55
xor eax, eax
lea edi, [esp + 0x14]
push ebx
rep stosd dword es:[edi], eax
lea eax, [esp + 0x18]
mov dword [esp + 0x18], 0x154
push eax
push ebx
push 0x29
call dword [sym.imp.USER32.dll_SystemParametersInfoA]
lea ecx, [esp + 0xb4]
push ecx
call dword [sym.imp.GDI32.dll_CreateFontIndirectA]
mov ecx, esi
mov dword [esi + 0x10], eax
mov dword [esi + 8], ebx
call fcn.00439270
push 0xf
push 5
push 9
push 0x10
push 0x10
mov ecx, ebp
call fcn.005657f6
mov eax, 0x10
mov dword [esi + 0xa8], ebx
mov ecx, eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], ecx
mov ecx, dword [esp + 0x168]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x164
ret
Function at 0x43a650
Capabilities:
Check if file exists
Get file attributes

Disassembly:
sub esp, 0x34
push ebx
mov ebx, dword [esp + 0x40]
push ebp
mov ebp, dword [esp + 0x40]
push esi
push edi
push ebx
push ebp
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
je 0x43a680
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x34
ret
xor eax, eax
mov ecx, 0x50
push eax
push 0x2000000
push 3
push eax
mov edi, ebx
push 1
push 0x40000000
push ebp
rep stosd dword es:[edi], eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x43a6dc
lea eax, [esp + 0x10]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetFileInformationByHandle]
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test edi, edi
je 0x43a6dc
mov ecx, 7
lea esi, [esp + 0x10]
mov edi, ebx
mov eax, 1
rep movsd dword es:[edi], dword [esi]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x34
ret
push ebp
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
xor ecx, ecx
cmp eax, 0xffffffff
pop edi
pop esi
setne cl
mov dword [ebx], eax
pop ebp
mov eax, ecx
pop ebx
add esp, 0x34
ret
Function at 0x43db80
Capabilities:
Access peb ldr_data
Get number of processors
Get process heap flags
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x5811b4
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [0x5f9f88]
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
lea edi, [esi + 0xc]
mov dword [edi], eax
mov ecx, dword [0x5f9f88]
lea ebx, [esi + 0x10]
mov dword [esp + 0x1c], 0
mov dword [ebx], ecx
mov edx, dword [0x5f9f88]
lea ebp, [esi + 0x14]
mov dword [ebp], edx
mov eax, dword [0x5f9f88]
mov dword [esi + 0x18], eax
mov ecx, dword [0x5f9f88]
mov dword [esi + 0x1c], ecx
mov edx, dword [0x5f9f88]
mov dword [esi + 0x20], edx
mov eax, dword [0x5f9f88]
mov dword [esi + 0x24], eax
mov ecx, dword [0x5f9f88]
mov dword [esi + 0x28], ecx
push fcn.0056870c
push 0x43e950
push 0x64
lea edx, [esi + 0x30]
push 4
push edx
mov byte [esp + 0x30], 7
call fcn.0055139f
push fcn.0056870c
push 0x43e950
push 0x64
lea eax, [esi + 0x1c0]
push 4
push eax
mov byte [esp + 0x30], 8
call fcn.0055139f
mov ecx, dword [0x5f9f88]
mov dword [esi + 0x350], ecx
xor eax, eax
push 0x5fe7d8
lea ecx, [esi + 0x18]
mov byte [esp + 0x20], 0xa
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
call fcn.00568895
push 0x5fe7d8
lea ecx, [esi + 0x1c]
call fcn.00568895
push 0x5fe7d8
mov ecx, edi
call fcn.00568895
push 0x5fe7d8
mov ecx, ebx
call fcn.00568895
push 0x5fe7d8
mov ecx, ebp
call fcn.00568895
push 0x5fe7d8
lea ecx, [esi + 0x350]
call fcn.00568895
push str.Mozilla
lea ecx, [esi + 0x20]
call fcn.00568895
mov ecx, dword [esp + 0x14]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x43dcc0
Capabilities:
Access peb ldr_data
Get number of processors
Get process heap flags
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x581254
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
lea edi, [esi + 0xc]
mov dword [esp + 0x1c], 0xa
mov ecx, edi
call fcn.00568697
lea ebx, [esi + 0x10]
mov ecx, ebx
call fcn.00568697
lea ebp, [esi + 0x14]
mov ecx, ebp
call fcn.00568697
lea ecx, [esi + 0x350]
mov byte [esp + 0x1c], 9
call fcn.0056870c
push fcn.0056870c
push 0x64
lea eax, [esi + 0x1c0]
push 4
push eax
mov byte [esp + 0x2c], 8
call fcn.0054fe4b
push fcn.0056870c
push 0x64
lea ecx, [esi + 0x30]
push 4
push ecx
mov byte [esp + 0x2c], 7
call fcn.0054fe4b
lea ecx, [esi + 0x28]
mov byte [esp + 0x1c], 6
call fcn.0056870c
lea ecx, [esi + 0x24]
mov byte [esp + 0x1c], 5
call fcn.0056870c
lea ecx, [esi + 0x20]
mov byte [esp + 0x1c], 4
call fcn.0056870c
lea ecx, [esi + 0x1c]
mov byte [esp + 0x1c], 3
call fcn.0056870c
lea ecx, [esi + 0x18]
mov byte [esp + 0x1c], 2
call fcn.0056870c
mov ecx, ebp
mov byte [esp + 0x1c], 1
call fcn.0056870c
mov ecx, ebx
mov byte [esp + 0x1c], 0
call fcn.0056870c
mov ecx, edi
mov dword [esp + 0x1c], 0xffffffff
call fcn.0056870c
mov ecx, dword [esp + 0x14]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x43fac0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5815d7
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push esi
mov dword [esp + 0x10], 0
mov eax, dword [0x5f9f88]
mov dword [esp + 0x24], 1
mov dword [esp + 8], eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x14], eax
lea eax, [esp + 6]
lea ecx, [esp + 0xc]
push eax
lea edx, [esp + 0xc]
push ecx
mov ecx, dword [esp + 0x38]
lea eax, [esp + 0x20]
push edx
push eax
push ecx
mov byte [esp + 0x38], 4
call fcn.00577585
mov esi, dword [esp + 0x2c]
lea edx, [esp + 8]
push edx
mov ecx, esi
call fcn.00568481
mov dword [esp + 0x10], 1
lea ecx, [esp + 0x14]
mov byte [esp + 0x24], 3
call fcn.0056870c
lea ecx, [esp + 0xc]
mov byte [esp + 0x24], 2
call fcn.0056870c
lea ecx, [esp + 8]
mov byte [esp + 0x24], 1
call fcn.0056870c
lea ecx, [esp + 0x30]
mov byte [esp + 0x24], 0
call fcn.0056870c
mov ecx, dword [esp + 0x1c]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x24
ret

Function at 0x43fb80
Capabilities:
Get common file path

Disassembly:
sub esp, 0x20c
lea eax, [esp + 4]
push esi
push eax
push 0x104
mov dword [esp + 0xc], 0
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea ecx, [esp + 0x10c]
lea edx, [esp + 8]
push ecx
push 0
push 0x5ea824
push edx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
mov esi, dword [esp + 0x214]
lea eax, [esp + 8]
push eax
mov ecx, esi
call fcn.0056877a
mov eax, esi
pop esi
add esp, 0x20c
ret
Function at 0x43fbe0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x581637
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push esi
mov dword [esp + 0x10], 0
mov eax, dword [esp + 0x34]
push 0x5fe7d8
push eax
mov dword [esp + 0x30], 2
call fcn.005503ed
add esp, 8
test eax, eax
jne 0x43fc3e
mov esi, dword [esp + 0x30]
push 0x5fe7d8
mov ecx, esi
call fcn.0056877a
mov ebx, 1
mov dword [esp + 0x10], ebx
jmp 0x43fda7
lea ecx, [esp + 0x34]
push ecx
lea ecx, [esp + 0xc]
call fcn.00568481
lea ecx, [esp + 8]
mov byte [esp + 0x28], 3
call fcn.00563f13
lea ecx, [esp + 8]
call fcn.00563ec7
push 0x5ea85c
lea ecx, [esp + 0xc]
call fcn.00563b2e
cmp eax, 0xffffffff
je 0x43fc84
push str.shutdown
lea ecx, [esp + 0x38]
call fcn.00568895
lea ecx, [esp + 0x38]
call fcn.00563f13
mov edx, dword [esp + 0x38]
push 0x5fe7d8
push edx
call fcn.005503ed
add esp, 8
mov ebx, 1
test eax, eax
push ebx
push 0
je 0x43fcb7
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x3c]
push eax
push ecx
jmp 0x43fcbe
mov edx, dword [esp + 0x3c]
push 0
push edx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
cmp eax, 0x20
jg 0x43fd85
push 0
lea ecx, [esp + 0x18]
push 0
push ecx
push 0x400
push eax
push 0
push 0x1300
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0xc]
push edx
call fcn.0056877a
lea ecx, [esp + 0xc]
mov byte [esp + 0x28], 4
call fcn.00563ec7
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
lea ecx, [esp + 8]
lea edx, [esp + 0x1c]
push ecx
push 0x5ea83c
push edx
call fcn.00568a15
push 0x5ea828
push eax
lea eax, [esp + 0x20]
mov byte [esp + 0x30], 5
push eax
call fcn.005689a1
mov esi, dword [esp + 0x30]
lea ecx, [esp + 0xc]
push ecx
push eax
push esi
mov byte [esp + 0x34], 6
call fcn.0056893b
lea ecx, [esp + 0x18]
mov dword [esp + 0x10], ebx
mov byte [esp + 0x28], 5
call fcn.0056870c
lea ecx, [esp + 0x1c]
mov byte [esp + 0x28], 4
call fcn.0056870c
lea ecx, [esp + 0xc]
mov byte [esp + 0x28], 3
call fcn.0056870c
jmp 0x43fd99
mov esi, dword [esp + 0x30]
push 0x5fe7d8
mov ecx, esi
call fcn.0056877a
mov dword [esp + 0x10], ebx
lea ecx, [esp + 8]
mov byte [esp + 0x28], 2
call fcn.0056870c
lea ecx, [esp + 0x34]
mov byte [esp + 0x28], bl
call fcn.0056870c
lea ecx, [esp + 0x38]
mov byte [esp + 0x28], 0
call fcn.0056870c
mov ecx, dword [esp + 0x20]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x24
ret
Function at 0x4416c0
Capabilities:
Access peb ldr_data
Check if file exists
Create directory

Disassembly:
push 0xffffffffffffffff
push 0x5818f0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push esi
lea ecx, [esp + 4]
mov dword [esp + 0x28], 0
call fcn.00548510
mov eax, dword [esp + 0x30]
push 0
push eax
lea ecx, [esp + 0xc]
mov byte [esp + 0x30], 1
call fcn.005485d3
xor esi, esi
test eax, eax
je 0x441724
lea ecx, [esp + 4]
call fcn.005487f3
mov edx, dword [esp + 4]
push 0x10
lea ecx, [esp + 8]
call dword [edx + 0x38]
test eax, eax
je 0x441724
mov esi, 1
lea ecx, [esp + 4]
call fcn.00548589
test esi, esi
jne 0x441745
mov eax, dword [esp + 0x30]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x441745
mov esi, 1
mov eax, dword [esp + 0x34]
test eax, eax
je 0x44175d
test esi, esi
jne 0x44175d
mov ecx, dword [esp + 0x30]
push esi
push ecx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
lea ecx, [esp + 4]
mov byte [esp + 0x28], 0
call fcn.0054854d
lea ecx, [esp + 0x30]
mov dword [esp + 0x28], 0xffffffff
call fcn.0056870c
mov ecx, dword [esp + 0x20]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x28
ret

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

Disassembly:
mov eax, dword [esp + 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x4417aa
test al, 0x10
je 0x4417aa
mov eax, 1
ret
xor eax, eax
ret