joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4061d0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b7668
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x4d516c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x44], 0
push 0x4c2354
mov eax, dword [ebp + 0xc]
push eax
call fcn.00485a6d
add esp, 8
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
jne 0x406237
push 0x4c235a
mov ecx, dword [ebp + 8]
call fcn.00403340
mov ecx, dword [ebp - 0x44]
or ecx, 1
mov dword [ebp - 0x44], ecx
mov eax, dword [ebp + 8]
jmp 0x406302
push 2
push 0
mov edx, dword [ebp - 0x30]
push edx
call fcn.00485933
add esp, 0xc
mov eax, dword [ebp - 0x30]
push eax
call fcn.00485844
add esp, 4
mov dword [ebp - 0x34], eax
push 0
push 0
mov ecx, dword [ebp - 0x30]
push ecx
call fcn.00485933
add esp, 0xc
lea ecx, [ebp - 0x2c]
call fcn.00403310
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x34]
add edx, 1
push edx
call fcn.0046c9e5
add esp, 4
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x38], eax
mov ecx, dword [ebp - 0x38]
add ecx, dword [ebp - 0x34]
mov byte [ecx], 0
mov edx, dword [ebp - 0x30]
push edx
mov eax, dword [ebp - 0x34]
push eax
push 1
mov ecx, dword [ebp - 0x38]
push ecx
call fcn.004855b2
add esp, 0x10
cmp eax, dword [ebp - 0x34]
jne 0x4062bd
mov edx, dword [ebp - 0x38]
push edx
lea ecx, [ebp - 0x2c]
call fcn.00408090
mov eax, dword [ebp - 0x30]
push eax
call fcn.0048563c
add esp, 4
mov ecx, dword [ebp - 0x38]
mov dword [ebp - 0x40], ecx
mov edx, dword [ebp - 0x40]
push edx
call fcn.004818fb
add esp, 4
lea eax, [ebp - 0x2c]
push eax
mov ecx, dword [ebp + 8]
call fcn.00408000
mov ecx, dword [ebp - 0x44]
or ecx, 1
mov dword [ebp - 0x44], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.004033c0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00480a0c
mov esp, ebp
pop ebp
ret

Function at 0x406320
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 0x4c235c
mov eax, dword [ebp + 8]
push eax
call fcn.00485a6d
add esp, 8
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x406345
or eax, 0xffffffff
jmp 0x406382
mov ecx, dword [ebp + 0xc]
call fcn.00403600
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 4]
push ecx
mov ecx, dword [ebp + 0xc]
call fcn.00403600
push eax
push 1
mov ecx, dword [ebp + 0xc]
call fcn.004035a0
push eax
call fcn.004876e0
add esp, 0x10
mov dword [ebp - 8], eax
mov edx, dword [ebp - 4]
push edx
call fcn.0048563c
add esp, 4
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
Function at 0x423910
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x66c
mov eax, dword [0x4d516c]
xor eax, ebp
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x668], 0
push 0x4ba894
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [ebp - 8], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x423976
push 0
push 0x4ba8c4
call dword [sym.imp.USER32.dll_FindWindowA]
mov dword [ebp - 0x10], eax
push 0
push 0
push 0x406
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
xor eax, eax
jmp 0x423b15
push 0x4ba8dc
lea ecx, [ebp - 0x660]
push ecx
call fcn.0043ca60
add esp, 4
or dword [ebp - 0x668], 1
push eax
call fcn.004271b0
add esp, 8
movzx edx, al
test edx, edx
jne 0x4239d8
push 0x4ba90c
lea eax, [ebp - 0x664]
push eax
call fcn.0043ca60
add esp, 4
or dword [ebp - 0x668], 2
push eax
call fcn.004271b0
add esp, 8
movzx ecx, al
test ecx, ecx
jne 0x4239d8
mov dword [ebp - 0x66c], 0
jmp 0x4239e2
mov dword [ebp - 0x66c], 1
mov dl, byte [ebp - 0x66c]
mov byte [ebp - 0x659], dl
mov eax, dword [ebp - 0x668]
and eax, 2
je 0x423a0b
and dword [ebp - 0x668], 0xfffffffd
lea ecx, [ebp - 0x664]
call fcn.00427070
mov ecx, dword [ebp - 0x668]
and ecx, 1
je 0x423a28
and dword [ebp - 0x668], 0xfffffffe
lea ecx, [ebp - 0x660]
call fcn.00427070
movzx edx, byte [ebp - 0x659]
test edx, edx
je 0x423a4e
push 1
push 0x464
call fcn.00423890
add esp, 8
push 1
push 0x4a
call fcn.00423890
add esp, 8
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
mov dword [ebp - 0xc], eax
push 0
push 0
push 0
push 0
call dword [sym.imp.USER32.dll_DefWindowProcW]
push 4
call fcn.00423b50
add esp, 4
push 0
mov eax, dword [ebp + 8]
push eax
push 0
mov ecx, 0x4d6bbc
call fcn.00423b80
mov dword [ebp - 0xc], eax
mov ecx, 0x4d6bbc
call fcn.00423b40
mov ecx, dword [eax]
mov dword [0x4d6c00], ecx
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x630]
call fcn.00424130
lea edx, [ebp - 0x658]
push edx
push str.32770
mov ecx, 0x4d6bbc
call fcn.00423b30
mov eax, dword [eax]
push eax
call dword [sym.imp.USER32.dll_GetClassInfoW]
mov dword [ebp - 0x634], str.funshion_doctor_maindlg
lea ecx, [ebp - 0x658]
push ecx
call dword [sym.imp.USER32.dll_RegisterClassW]
push 0
call dword [sym.imp.USER32.dll_GetActiveWindow]
push eax
lea ecx, [ebp - 0x630]
call fcn.00427c80
mov dword [ebp - 4], eax
lea ecx, [ebp - 0x630]
call fcn.004250e0
mov ecx, 0x4d6bbc
call fcn.00423d40
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00480a0c
mov esp, ebp
pop ebp
ret 0x10
Function at 0x42d570
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], ecx
mov eax, dword [ebp - 0xc]
cmp dword [eax], 0
je 0x42d5cf
push str.Advapi32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x42d59c
mov eax, 1
jmp 0x42d5ed
push str.RegDeleteKeyTransactedW
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x42d5cd
push 0
mov edx, dword [ebp - 0xc]
mov eax, dword [edx]
push eax
push 0
push 0
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [ebp - 4]
jmp 0x42d5ed
jmp 0x42d5e8
mov eax, dword [ebp - 0xc]
cmp dword [eax + 4], 0
je 0x42d5e8
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
jmp 0x42d5ed
mov eax, 1
mov esp, ebp
pop ebp
ret 8

Function at 0x42d920
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x4d516c]
xor eax, ebp
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x230], ecx
push 0
lea ecx, [ebp - 0x18]
call fcn.0042d440
mov eax, dword [ebp - 0x230]
mov ecx, dword [eax + 4]
or ecx, 0x2001f
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x230]
mov ecx, dword [eax]
push ecx
lea ecx, [ebp - 0x18]
call fcn.0042d7f0
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x42d98d
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 0x224], edx
lea ecx, [ebp - 0x18]
call fcn.0042d470
mov eax, dword [ebp - 0x224]
jmp 0x42da1e
mov dword [ebp - 4], pe_nt_image_headers32
lea eax, [ebp - 0xc]
push eax
push 0
push 0
push 0
lea ecx, [ebp - 4]
push ecx
lea edx, [ebp - 0x220]
push edx
push 0
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x42d9f3
lea ecx, [ebp - 0x220]
push ecx
lea ecx, [ebp - 0x18]
call fcn.0042d920
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x42d9ea
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 0x228], edx
lea ecx, [ebp - 0x18]
call fcn.0042d470
mov eax, dword [ebp - 0x228]
jmp 0x42da1e
mov dword [ebp - 4], pe_nt_image_headers32
jmp 0x42d994
lea ecx, [ebp - 0x18]
call fcn.0042d630
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x230]
call fcn.0042d520
mov dword [ebp - 0x22c], eax
lea ecx, [ebp - 0x18]
call fcn.0042d470
mov eax, dword [ebp - 0x22c]
mov ecx, dword [ebp - 0x20]
xor ecx, ebp
call fcn.00480a0c
mov esp, ebp
pop ebp
ret 4
Function at 0x42e010
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0x14], ecx
xor eax, eax
jne 0x42e019
xor ecx, ecx
jne 0x42e019
xor edx, edx
cmp dword [ebp + 0xc], 0
setne dl
mov dword [ebp - 0x10], edx
cmp dword [ebp - 0x10], 0
jne 0x42e03a
mov eax, 0xd
jmp 0x42e095
xor eax, eax
jne 0x42e021
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, 1
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
lea edx, [ecx + eax*2]
mov dword [ebp - 8], edx
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 4]
lea edx, [ecx + eax*2]
mov dword [ebp - 4], edx
cmp dword [ebp - 0xc], 1
jne 0x42e04b
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
push 7
push 0
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esp, ebp
pop ebp
ret 8
Function at 0x42fce0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], ecx
push 0
push 0
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
push 0
push 0
call fcn.00481cf0
add esp, 0x18
mov dword [ebp - 8], eax
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x102
jne 0x42fd2a
push 0xffffffffffffffff
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov esp, ebp
pop ebp
ret 8
Function at 0x42fdd0
Capabilities:
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4afef8
mov eax, dword fs:[0]
push eax
mov eax, 0x2144
call fcn.00481910
mov eax, dword [0x4d516c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x2150], ecx
mov byte [ebp - 0x114], 0
push 0xff
push 0
lea eax, [ebp - 0x113]
push eax
call fcn.00481a70
add esp, 0xc
mov byte [ebp - 0x125], 1
lea ecx, [ebp - 0x124]
call fcn.004316f0
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x2150]
cmp dword [ecx + 0x54], 0
je 0x42fe6a
mov edx, dword [ebp - 0x2150]
mov eax, dword [edx + 0x3c]
push eax
mov ecx, dword [ebp - 0x2150]
call fcn.004306d0
mov ecx, dword [ebp - 0x2150]
mov ecx, dword [ecx + 0x54]
mov dword [ecx], eax
mov dword [ecx + 4], edx
mov dword [ebp - 0x2138], 0x2000
mov byte [ebp - 0x2134], 0
push 0x1fff
push 0
lea edx, [ebp - 0x2133]
push edx
call fcn.00481a70
add esp, 0xc
lea eax, [ebp - 0x130]
push eax
push 0x2000
lea ecx, [ebp - 0x2134]
push ecx
mov edx, dword [ebp - 0x2150]
mov eax, dword [edx + 0x3c]
push eax
call dword [sym.imp.WININET.dll_InternetReadFile]
mov dword [ebp - 0x12c], eax
cmp dword [ebp - 0x12c], 0
je 0x42ff3f
cmp dword [ebp - 0x130], 0
je 0x42ff3f
mov ecx, dword [ebp - 0x2150]
cmp dword [ecx + 0x58], 0
je 0x42fefc
mov edx, dword [ebp - 0x2150]
mov eax, dword [edx + 0x58]
mov ecx, dword [ebp - 0x130]
xor edx, edx
add ecx, dword [eax]
adc edx, dword [eax + 4]
mov eax, dword [ebp - 0x2150]
mov eax, dword [eax + 0x58]
mov dword [eax], ecx
mov dword [eax + 4], edx
lea ecx, [ebp - 0x2140]
push ecx
lea ecx, [ebp - 0x124]
call fcn.004317b0
mov edx, dword [eax]
mov dword [ebp - 0x213c], edx
mov eax, dword [ebp - 0x130]
lea ecx, [ebp + eax - 0x2134]
push ecx
lea edx, [ebp - 0x2134]
push edx
mov eax, dword [ebp - 0x213c]
push eax
lea ecx, [ebp - 0x124]
call fcn.004326e0
jmp 0x42ff60
cmp dword [ebp - 0x12c], 0
jne 0x42ff5e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 0x2150]
mov dword [ecx + 0x4c], eax
mov byte [ebp - 0x125], 0
jmp 0x42ff6d
mov edx, 1
test edx, edx
jne 0x42fe6a
movzx eax, byte [ebp - 0x125]
test eax, eax
je 0x42ffe0
mov ecx, dword [ebp - 0x2150]
call fcn.0042fc00
test eax, eax
je 0x42ffe0
lea ecx, [ebp - 0x2144]
push ecx
lea ecx, [ebp - 0x124]
call fcn.004317b0
mov edx, dword [eax]
push edx
lea eax, [ebp - 0x2148]
push eax
lea ecx, [ebp - 0x124]
call fcn.00431780
mov ecx, dword [eax]
push ecx
mov edx, dword [ebp - 0x2150]
mov ecx, dword [edx + 0x68]
call fcn.00432720
mov byte [ebp - 0x2149], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x124]
call fcn.00431720
mov al, byte [ebp - 0x2149]
jmp 0x43001d
mov eax, dword [ebp - 0x2150]
cmp dword [eax + 0x4c], 0xffffffff
jne 0x42fffe
mov ecx, dword [ebp - 0x2150]
mov edx, dword [ebp - 0x2150]
mov eax, dword [edx + 0x48]
mov dword [ecx + 0x4c], eax
mov byte [ebp - 0x214a], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x124]
call fcn.00431720
mov al, byte [ebp - 0x214a]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00480a0c
mov esp, ebp
pop ebp
ret
Function at 0x430090
Capabilities:
Check internet connectivity via wininet
Create http request

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4aff28
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x4d516c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x34], 0
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x2c]
call fcn.00431030
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x3c]
push ecx
lea edx, [ebp - 0x2c]
push edx
mov ecx, dword [ebp - 0x3c]
call fcn.004304d0
movzx eax, al
neg eax
sbb eax, eax
add eax, 1
mov byte [ebp - 0x35], al
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.004081d0
movzx ecx, byte [ebp - 0x35]
test ecx, ecx
je 0x43010d
xor al, al
jmp 0x430173
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp + 0xc]
mov dword [edx + 0x40], eax
push 0
lea ecx, [ebp - 0x34]
push ecx
call dword [sym.imp.WININET.dll_InternetGetConnectedState]
mov edx, dword [ebp - 0x34]
and edx, 4
sub edx, 4
neg edx
sbb edx, edx
and edx, 4
mov dword [ebp - 0x30], edx
push 0
push 0
push 0
mov eax, dword [ebp - 0x30]
push eax
push 0x4bb018
call dword [sym.imp.WININET.dll_InternetOpenA]
mov ecx, dword [ebp - 0x3c]
mov dword [ecx + 0x38], eax
mov edx, dword [ebp - 0x3c]
cmp dword [edx + 0x38], 0
jne 0x430169
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 0x3c]
mov dword [ecx + 0x4c], eax
xor al, al
jmp 0x430173
mov ecx, dword [ebp - 0x3c]
call fcn.00430610
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00480a0c
mov esp, ebp
pop ebp
ret 8

Function at 0x4306d0
Capabilities:
Check http status code
Get http content length

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 0xc], 0xffffffff
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 4], 8
mov dword [ebp - 0x14], 0
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 4]
push ecx
lea edx, [ebp - 0x20]
push edx
push 0x20000013
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.WININET.dll_HttpQueryInfoA]
test eax, eax
je 0x430740
cmp dword [ebp - 0x20], 0xc8
jne 0x430731
cmp dword [ebp - 0x1c], 0
je 0x430748
cmp dword [ebp - 0x20], 0x12e
jne 0x430740
cmp dword [ebp - 0x1c], 0
je 0x430748
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0xc]
jmp 0x43079d
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 4], 8
mov dword [ebp - 0x14], 0
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 4]
push edx
lea eax, [ebp - 0x20]
push eax
push 0x20000005
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.WININET.dll_HttpQueryInfoA]
test eax, eax
jne 0x43078b
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0xc]
jmp 0x43079d
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret 4
Function at 0x430d60
Capabilities:
Check if file exists
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b00aa
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x4d516c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x48]
call fcn.00431030
mov dword [ebp - 4], 0
mov ecx, dword [0x4c23cc]
push ecx
push 0x4bb154
lea ecx, [ebp - 0x48]
call fcn.00431180
mov dword [ebp - 0x54], eax
push 0x4bb158
lea ecx, [ebp - 0x4c]
call fcn.00431200
mov byte [ebp - 4], 1
mov dword [ebp - 0x50], 0xffffffff
mov edx, dword [ebp - 0x54]
cmp edx, dword [0x4c23cc]
je 0x430e88
mov eax, dword [ebp - 0x54]
push eax
push 0
lea ecx, [ebp - 0x2c]
push ecx
lea ecx, [ebp - 0x48]
call fcn.004311b0
mov dword [ebp - 0x60], eax
mov edx, dword [ebp - 0x60]
mov dword [ebp - 0x64], edx
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x64]
call fcn.004081f0
push eax
lea ecx, [ebp - 0x4c]
call fcn.00431320
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c]
call fcn.004081d0
lea ecx, [ebp - 0x4c]
call fcn.00426de0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x430e6c
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x58]
call fcn.00427050
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x58]
push ecx
push 0x4bb15c
lea edx, [ebp - 0x4c]
push edx
call fcn.004326b0
add esp, 0xc
push 0
lea ecx, [ebp - 0x4c]
call fcn.00426de0
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x58]
call fcn.00427070
push 0
push 0x80
push 2
push 0
push 5
push 2
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x50], eax
mov ecx, dword [ebp - 0x50]
mov dword [ebp - 0x5c], ecx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x4c]
call fcn.00427070
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x48]
call fcn.004081d0
mov eax, dword [ebp - 0x5c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00480a0c
mov esp, ebp
pop ebp
ret
Function at 0x434190
Capabilities:
Create thread
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0x5c], 0
jne 0x4341a9
xor eax, eax
jmp 0x4342a5
mov ecx, dword [ebp - 0x10]
call fcn.00435550
test eax, eax
je 0x4341fa
lea ecx, [ebp - 4]
push ecx
push 4
mov edx, dword [ebp - 0x10]
push edx
push 0x434a60
push 0
push 0
call fcn.00481cf0
add esp, 0x18
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x78], eax
mov edx, dword [ebp - 0x10]
cmp dword [edx + 0x78], 0
jne 0x4341e8
xor eax, eax
jmp 0x4342a5
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x78]
push ecx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
jmp 0x4342a3
mov edx, dword [ebp - 0x10]
cmp dword [edx + 0x80], 0
je 0x4342a3
lea eax, [ebp - 8]
push eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x80]
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x80]
mov edx, dword [edx]
push ecx
mov eax, dword [edx + 0x18]
call eax
lea ecx, [ebp - 0xc]
push ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x80]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x80]
mov eax, dword [eax]
push edx
mov ecx, dword [eax + 0x1c]
call ecx
push 0
mov edx, dword [ebp - 0xc]
neg edx
push edx
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
push 0
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x38]
push eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x34]
push edx
push 0
push 0
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x60]
push ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x80]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x80]
mov eax, dword [eax]
push edx
mov ecx, dword [eax + 0x20]
call ecx
test eax, eax
jne 0x4342a3
push 0
mov ecx, dword [ebp - 0x10]
add ecx, 4
call fcn.00436bc0
mov eax, 1
jmp 0x4342a5
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x4342e0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 0x18], ecx
push 0x4bb170
mov eax, dword [ebp + 8]
push eax
call fcn.00485a6d
add esp, 8
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x43430a
xor eax, eax
jmp 0x4343f9
push 2
push 0
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.00485933
add esp, 0xc
mov edx, dword [ebp - 0x10]
push edx
call fcn.00485844
add esp, 4
mov dword [ebp - 8], eax
push 0
push 0
mov eax, dword [ebp - 0x10]
push eax
call fcn.00485933
add esp, 0xc
mov ecx, dword [ebp - 8]
push ecx
push 0x22
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x434361
mov edx, dword [ebp - 0x10]
push edx
call fcn.0048563c
add esp, 4
xor eax, eax
jmp 0x4343f9
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x43438e
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov edx, dword [ebp - 0x10]
push edx
call fcn.0048563c
add esp, 4
xor eax, eax
jmp 0x4343f9
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 8]
push ecx
push 1
mov edx, dword [ebp - 4]
push edx
call fcn.004855b2
add esp, 0x10
cmp eax, dword [ebp - 8]
je 0x4343c3
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.0048563c
add esp, 4
xor eax, eax
jmp 0x4343f9
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov eax, dword [ebp - 0x10]
push eax
call fcn.0048563c
add esp, 4
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp - 0x14]
push edx
mov ecx, dword [ebp - 0x18]
call fcn.00433b20
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret 4
Function at 0x436f40
Capabilities:
Get common file path
Get startup folder

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b050c
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x4d516c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1c], 0
push 0x4bb20c
lea ecx, [ebp - 0x14]
call fcn.00431200
mov dword [ebp - 4], 0
push 0x4bb210
lea ecx, [ebp - 0x10]
call fcn.00431200
mov byte [ebp - 4], 1
push 0
push 0x28
push 0x104
lea ecx, [ebp - 0x10]
call fcn.00428340
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
call fcn.00443570
push 0x4bb214
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x18]
push ecx
call fcn.00431590
add esp, 0xc
mov dword [ebp - 0x20], eax
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0x24], edx
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x24]
push eax
lea ecx, [ebp - 0x14]
call fcn.00431300
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x18]
call fcn.00427070
lea ecx, [ebp - 0x14]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00427050
mov edx, dword [ebp - 0x1c]
or edx, 1
mov dword [ebp - 0x1c], edx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.00427070
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00427070
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret

Function at 0x4375f0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b0683
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x4d516c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x48]
call fcn.00431030
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 0xc]
push ecx
lea edx, [ebp - 0x48]
push edx
lea eax, [ebp - 0x2c]
push eax
call fcn.004459b0
add esp, 0xc
mov dword [ebp - 0x54], eax
mov ecx, dword [ebp - 0x54]
mov dword [ebp - 0x58], ecx
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x58]
push edx
lea ecx, [ebp - 0x48]
call fcn.004310b0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.004081d0
lea ecx, [ebp - 0x48]
call fcn.004081f0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x437692
mov dword [ebp - 0x4c], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x48]
call fcn.004081d0
mov eax, dword [ebp - 0x4c]
jmp 0x4376bc
lea ecx, [ebp - 0x48]
call fcn.004081f0
push eax
mov ecx, dword [ebp + 0x10]
call fcn.00439020
mov dword [ebp - 0x50], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x48]
call fcn.004081d0
mov eax, dword [ebp - 0x50]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00480a0c
mov esp, ebp
pop ebp
ret