joyce8/EMBER2024-capa huggingface dataset:
Function at 0x418384
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
xor eax, eax
push 0x20e
push eax
mov dword [ebp - 4], eax
mov word [ebp - 0x214], ax
lea eax, [ebp - 0x212]
push eax
call fcn.0049a380
add esp, 0xc
push 0x104
lea eax, [ebp - 0x214]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea eax, [ebp - 0x214]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
lea eax, [ebp - 0x214]
push eax
push dword [ebp + 8]
call fcn.0043229f
mov eax, dword [ebp + 8]
leave
ret 4

Function at 0x418dd8
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
push edi
push dword [ebp + 0xc]
mov esi, eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
test edi, edi
jne 0x418df7
xor eax, eax
jmp 0x418e47
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
mov dword [ebp - 8], eax
je 0x418df3
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
mov dword [ebp - 4], eax
je 0x418df3
push ebx
lea ebx, [edi + 1]
push ebx
call fcn.0041baf7
test eax, eax
je 0x418e33
push edi
push dword [ebp - 4]
push eax
call fcn.0049cbc0
add esp, 0xc
mov eax, ebx
call fcn.00418c1c
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_FreeResource]
xor eax, eax
inc eax
pop ebx
pop edi
pop esi
leave
ret
Function at 0x418e4b
Capabilities:
Get file size
Read file on windows

Disassembly:
mov eax, 0x595290
call fcn.00593620
push ecx
push ecx
mov eax, dword [0x619864]
push ebx
push esi
push edi
mov edi, ecx
mov esi, 0x619864
xor ebx, ebx
mov ecx, esi
mov dword [ebp - 0x14], ebx
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], ebx
cmp dword [ebp + 0x14], ebx
lea eax, [edi + 0x10]
jne 0x418e83
mov eax, edi
lea edi, [ebp - 0x10]
call fcn.004013b4
mov edi, dword [ebp - 0x10]
cmp dword [edi - 0xc], ebx
je 0x418f79
mov eax, dword [0x619864]
mov ecx, esi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp + 0x14], eax
push dword [ebp + 0x10]
mov byte [ebp - 4], 1
push dword [ebp + 8]
lea eax, [ebp + 0x14]
push edi
push str._s_d._s
call fcn.0043221a
add esp, 0x10
push ebx
push 0x80
push 3
push ebx
push 1
push SysReAllocStringLen
push dword [ebp + 0x14]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
mov dword [ebp + 0x10], eax
je 0x418f6e
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
cmp edi, ebx
je 0x418f65
mov esi, dword [ebp + 0xc]
push ebx
lea eax, [ebp + 8]
push eax
push edi
lea eax, [edi + 0xa]
push eax
mov dword [ebp + 8], ebx
call fcn.0041baf7
push eax
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp eax, ebx
mov dword [ebp - 0x14], eax
je 0x418f5c
cmp dword [ebp + 8], edi
jne 0x418f5c
mov eax, edi
call fcn.00418c1c
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp + 0x14]
add eax, 0xfffffff0
call fcn.004011c0
xor esi, esi
inc esi
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.004011c0
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0x10
xor eax, eax
mov edx, esi
call fcn.00418c35
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp + 0x14]
add eax, 0xfffffff0
call fcn.004011c0
mov esi, dword [ebp - 0x14]
jmp 0x418f3e

Function at 0x41911d
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
test byte [esi + 0x14], 2
je 0x419176
lea eax, [ebp - 0x10]
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0xc]
sub eax, ecx
je 0x419167
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x10]
sub edx, eax
je 0x419167
mov edx, dword [esi + 0x10]
push 0x11
push 0
push 0
sub ecx, edx
push ecx
sub eax, edx
push eax
push dword [ebp + 8]
push dword [esi + 8]
call dword [sym.imp.USER32.dll_SetWindowPos]
jmp 0x419176
push 0
push dword [esi + 8]
call dword [sym.imp.USER32.dll_ShowWindow]
and byte [esi + 0x14], 0xfd
leave
ret 4
Function at 0x41917a
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
cmp dword [ebp + 0xc], 1
push edi
mov edi, eax
jne 0x41919a
push 0
push dword [edi + 8]
call dword [sym.imp.USER32.dll_ShowWindow]
and byte [edi + 0x14], 0xfd
jmp 0x4191f7
lea eax, [ebp - 0x10]
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp - 4]
sub eax, dword [ebp - 0xc]
je 0x4191fc
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 0x10]
je 0x4191fc
push 0xfffffffffffffff0
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowLongW]
test eax, 0x10000000
je 0x4191f7
or byte [edi + 0x14], 4
mov al, byte [edi + 0x14]
test al, 2
jne 0x4191ee
push dword [ebp + 8]
or al, 2
mov byte [edi + 0x14], al
call fcn.0041660e
push 8
push dword [edi + 8]
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x4191f7
cmp dword [edi + 0x18], esi
je 0x4191f7
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], esi
jmp 0x41920b
push 0
push dword [edi + 8]
call dword [sym.imp.USER32.dll_ShowWindow]
and byte [edi + 0x14], 0xfd
pop edi
leave
ret 8

Function at 0x41b377
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push edi
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetFocus]
xor ebx, ebx
lea edi, [esi + 0x460]
cmp dword [edi], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
je 0x41b3a2
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov dword [edi], ebx
mov eax, dword [esi + 0x454]
cmp eax, ebx
je 0x41b481
push eax
call fcn.00431be8
mov edi, eax
cmp edi, ebx
pop ecx
je 0x41b436
mov eax, dword [edi]
push 2
push ebx
mov ecx, edi
call dword [eax + 0x38]
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x48]
test eax, eax
je 0x41b3db
push 1
push edi
push esi
call fcn.004199a7
mov eax, dword [esi + 0x454]
cmp eax, dword [esi + 0x450]
jne 0x41b436
movzx eax, word [ebp + 0x10]
movzx ecx, word [ebp + 0xc]
shl eax, 0x10
or eax, ecx
push eax
push dword [ebp + 8]
mov ecx, edi
push 0x202
call fcn.00431e76
mov eax, dword [edi + 0x3c]
cmp eax, ebx
je 0x41b425
cmp word [eax], bx
je 0x41b425
push 1
push ebx
push ebx
push eax
push str.open
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x41b436
mov eax, dword [edi + 0xc]
cmp eax, ebx
je 0x41b436
mov dword [ebp - 4], 1
mov dword [ebp - 8], eax
cmp dword [ebp - 4], ebx
mov dword [esi + 0x454], ebx
je 0x41b481
mov eax, dword [esi + 4]
push eax
mov dword [ebp - 0x14], 1
mov dword [ebp - 0x1c], eax
call dword [sym.imp.USER32.dll_GetDlgCtrlID]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x10], eax
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 8]
push dword [esi + 4]
mov dword [ebp - 0xc], eax
call dword [sym.imp.USER32.dll_GetParent]
lea ecx, [ebp - 0x1c]
push ecx
push dword [ebp - 0x18]
push 0x4e
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
pop edi
pop ebx
leave
ret 0xc
Function at 0x425364
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push ebx
xor ebx, ebx
push esi
inc ebx
cmp eax, 0xf
push edi
mov esi, ecx
jne 0x425393
mov ecx, dword [ebp + 0x18]
lea eax, [esi + 0x134]
mov dword [eax], ebx
and dword [ecx], 0
cmp dword [eax], 0
je 0x4253cd
mov eax, ebx
pop edi
pop esi
pop ebx
pop ebp
ret 0x14
cmp eax, 2
jne 0x4253ee
push dword [esi + 0xc]
mov dword [esi + 0x134], ebx
push dword [esi + 0x13c]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov edi, eax
test edi, edi
je 0x4253c7
push edi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4253c7
push 0
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [ebp + 0x18]
and dword [eax], 0
cmp dword [esi + 0x134], 0
jne 0x42538a
push dword [ebp + 0x18]
mov ecx, esi
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00430735
jmp 0x42538c
cmp eax, 0x47
jne 0x425413
push dword [ebp + 0x14]
lea edi, [esi + 0x134]
mov eax, esi
mov dword [edi], ebx
call fcn.0042546b
mov eax, dword [ebp + 0x18]
and dword [eax], 0
cmp dword [edi], 0
jmp 0x425388
cmp eax, 0x18
jne 0x4253cd
push dword [ebp + 0x10]
mov dword [esi + 0x134], ebx
call fcn.00425560
xor edi, edi
cmp dword [ebp + 0x10], edi
je 0x42544b
push dword [esi + 8]
jmp 0x425441
mov ecx, dword [eax + 0x30]
shr ecx, 3
not ecx
test bl, cl
je 0x425455
push dword [eax + 8]
call fcn.00431be8
cmp eax, edi
pop ecx
jne 0x425432
mov eax, dword [ebp + 0x10]
mov ecx, esi
call fcn.004194a6
mov eax, dword [ebp + 0x18]
mov dword [eax], edi
cmp dword [esi + 0x134], edi
jne 0x42538a
jmp 0x4253cd

Function at 0x4256f0
Capabilities:
Hide graphical window

Disassembly:
mov eax, esi
call fcn.00425734
test eax, eax
jne 0x425702
and dword [esi + 0x134], eax
ret
push dword [esi + 0x140]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x425733
push 0
push dword [esi + 0x140]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [esi + 0x140]
call dword [sym.imp.USER32.dll_DestroyWindow]
and dword [esi + 0x140], 0
ret

Function at 0x427dbb
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push esi
push dword [esp + 0xc]
mov esi, eax
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x427dd2
pop esi
ret
push edi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
je 0x427e07
push dword [esp + 0x10]
push dword [esp + 0x10]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
add eax, edi
and esi, 0xf
jbe 0x427e03
cmp edi, eax
jae 0x427e07
dec esi
movzx ecx, word [edi]
lea edi, [edi + ecx*2 + 2]
jne 0x427df5
cmp edi, eax
jb 0x427e0b
xor eax, eax
jmp 0x427e15
mov ax, word [edi]
neg ax
sbb eax, eax
and eax, edi
pop edi
pop esi
ret
Function at 0x430c49
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x5950e1
call fcn.00593620
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
and dword [ebp - 4], 0
mov dword [edi], method.wEx__.virtual_0
call fcn.00427456
mov esi, 0x61c560
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call fcn.00427456
add eax, 0x60
inc dword [eax]
mov eax, dword [eax]
mov dword [ebp - 0x10], eax
call fcn.00427456
mov ebx, eax
mov eax, dword [ebp - 0x10]
call fcn.004486a5
push esi
mov dword [eax], edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [ebp - 0x10]
xor ebx, ebx
mov dword [edi + 4], eax
mov dword [edi + 8], ebx
mov dword [edi + 0xc], ebx
mov dword [edi + 0x10], ebx
mov dword [edi + 0x14], ebx
mov dword [edi + 0x18], ebx
mov dword [edi + 0x1c], ebx
lea esi, [edi + 0x24]
mov ecx, 0x619864
mov dword [edi + 0x20], ebx
call fcn.0042fe84
lea esi, [edi + 0x3c]
mov ecx, 0x619864
mov dword [edi + 0x28], ebx
mov dword [edi + 0x2c], ebx
mov dword [edi + 0x30], ebx
mov dword [edi + 0x34], ebx
mov dword [edi + 0x38], ebx
call fcn.0042fe84
lea esi, [edi + 0x44]
mov ecx, 0x619864
mov dword [edi + 0x40], ebx
call fcn.0042fe84
lea esi, [edi + 0x48]
mov ecx, 0x619864
call fcn.0042fe84
or dword [edi + 0x4c], 0xffffffff
or dword [edi + 0x50], 0xffffffff
or dword [edi + 0x60], 0xffffffff
lea esi, [edi + 0xbc]
mov eax, esi
mov dword [edi + 0x54], ebx
mov word [edi + 0x58], bx
mov dword [edi + 0x5c], ebx
mov dword [edi + 0x64], ebx
mov dword [edi + 0x9c], ebx
mov dword [edi + 0xa0], ebx
mov dword [edi + 0xa4], ebx
mov dword [edi + 0xa8], 1
mov dword [edi + 0xac], ebx
mov dword [edi + 0xb0], ebx
mov dword [edi + 0xb4], ebx
mov dword [edi + 0xb8], ebx
call fcn.00413b6e
mov eax, esi
call fcn.00413b6e
mov byte [esi + 0x28], 0xff
lea esi, [edi + 0xf8]
mov dword [edi + 0xec], ebx
mov dword [edi + 0xf0], ebx
mov dword [edi + 0xf4], ebx
lea eax, [esi + 8]
mov dword [esi], 0x5e5268
mov dword [esi + 4], edi
call fcn.00413b6e
lea eax, [esi + 8]
call fcn.00413b6e
mov byte [esi + 0x30], 0xff
lea eax, [edi + 0x10]
mov byte [esi + 0x38], bl
push eax
mov dword [edi + 0x134], ebx
mov dword [edi + 0x138], ebx
call dword [sym.imp.USER32.dll_SetRectEmpty]
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4
Function at 0x4329b0
Capabilities:
Get proxy

Disassembly:
mov eax, 0x59725d
call fcn.00593620
sub esp, 0x428
push ebx
push esi
xor ebx, ebx
push edi
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x24], 0x104
mov esi, 0x206
push esi
lea eax, [ebp - 0x22a]
push ebx
mov dword [ebp - 4], ebx
push eax
mov word [ebp - 0x22c], bx
call fcn.0049a380
push esi
lea eax, [ebp - 0x432]
push ebx
push eax
mov word [ebp - 0x434], bx
call fcn.0049a380
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
add esp, 0x18
lea eax, [ebp - 0x1c]
push eax
push 1
push ebx
push str.SoftwareMicrosoftWindowsCurrentVersionInternet_Settings
mov edi, SysReAllocStringLen
push edi
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x1c], ebx
call esi
cmp eax, ebx
jne 0x432a54
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x20]
push eax
push str.ProxyEnable
lea eax, [ebp - 0x10]
push eax
call fcn.00433625
cmp dword [ebp - 0x10], ebx
je 0x432a54
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x10], ebx
cmp dword [ebp - 0x10], ebx
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x14], eax
je 0x432a68
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x14], ebx
je 0x432b99
lea eax, [ebp - 0x10]
push eax
push 1
push ebx
push str.SoftwareMicrosoftWindowsCurrentVersionInternet_Settings
push edi
mov dword [ebp - 0x10], ebx
call esi
cmp eax, ebx
jne 0x432b99
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
push str.ProxyServer
lea eax, [ebp - 0x14]
push eax
lea esi, [ebp - 0x24]
lea edi, [ebp - 0x22c]
call fcn.00417f65
cmp eax, ebx
jne 0x432b8b
cmp word [ebp - 0x22c], bx
je 0x432b8b
mov eax, edi
push 0x104
push eax
call fcn.0049a15d
mov esi, dword [ebp + 8]
mov edi, str.socks
lea eax, [ebp - 0x22c]
push edi
push eax
mov dword [esi], 2
call fcn.00499ea8
add esp, 0x10
cmp eax, ebx
mov dword [ebp + 8], eax
je 0x432b10
mov dword [esi], 3
push edi
call fcn.0049a28b
mov ecx, dword [ebp + 8]
lea eax, [ecx + eax*2]
push eax
lea eax, [ebp - 0x434]
push eax
call fcn.00433600
jmp 0x432b49
mov edi, str.http
lea eax, [ebp - 0x22c]
push edi
push eax
call fcn.00499ea8
cmp eax, ebx
pop ecx
pop ecx
mov dword [ebp + 8], eax
mov dword [esi], 2
jne 0x432af5
lea eax, [ebp - 0x22c]
push eax
lea eax, [ebp - 0x434]
push 0x104
push eax
call fcn.0049a30e
add esp, 0xc
lea eax, [ebp - 0x434]
push eax
lea eax, [ebp + 8]
push eax
call fcn.0043229f
mov esi, dword [ebp + 0x10]
push dword [ebp + 0xc]
mov ecx, esi
lea ebx, [ebp + 8]
mov byte [ebp - 4], 1
call fcn.00432bad
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
call fcn.004011c0
mov eax, dword [esi]
xor ebx, ebx
cmp dword [eax - 0xc], ebx
je 0x432b8b
mov dword [ebp - 0x18], 1
cmp dword [ebp - 0x10], ebx
je 0x432b99
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x18]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0xc
Function at 0x434013
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebx]
xor ecx, ecx
cmp eax, ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], ecx
je 0x4340a1
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea edx, [ebp - 4]
push edx
push ecx
lea edx, [ebp - 8]
push edx
push ecx
push dword [ebp + 8]
push eax
call edi
cmp dword [ebp - 8], 1
je 0x43404a
cmp dword [ebp - 8], 2
jne 0x4340a0
push esi
mov esi, dword [ebp + 0xc]
call fcn.00401462
mov eax, dword [ebp - 4]
shr eax, 1
inc eax
push eax
call fcn.004011f9
mov esi, eax
lea eax, [ebp - 4]
push eax
push esi
lea eax, [ebp - 8]
push eax
push 0
push dword [ebp + 8]
push dword [ebx]
call edi
test eax, eax
jne 0x43409f
mov eax, dword [ebp - 4]
shr eax, 1
and word [esi + eax*2], 0
mov esi, dword [ebp + 0xc]
mov eax, dword [esi]
test eax, eax
je 0x434091
push eax
call fcn.0049a28b
pop ecx
mov edx, esi
call fcn.004011d8
mov dword [ebp - 0xc], 1
pop esi
pop edi
mov eax, dword [ebp - 0xc]
leave
ret 8

Function at 0x4340a8
Capabilities:
Set registry value

Disassembly:
push edi
xor edi, edi
cmp dword [esi], edi
je 0x4340d6
push dword [esp + 0xc]
call fcn.0049a28b
pop ecx
lea eax, [eax + eax + 2]
push eax
push dword [esp + 0x10]
push 1
push edi
push dword [esp + 0x18]
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x4340d6
inc edi
mov eax, edi
pop edi
ret 8

Function at 0x4344a2
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x5960ed
call fcn.00593620
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
and dword [edi], 0
and dword [edi + 4], 0
mov ebx, 0x619864
lea esi, [edi + 8]
mov ecx, ebx
call fcn.0042fe84
and dword [ebp - 4], 0
lea esi, [edi + 0xc]
mov ecx, ebx
call fcn.0042fe84
lea esi, [edi + 0x10]
mov ecx, ebx
mov byte [ebp - 4], 1
call fcn.0042fe84
lea esi, [edi + 0x14]
mov ecx, ebx
mov byte [ebp - 4], 2
call fcn.0042fe84
xor eax, eax
mov dword [edi + 0x1c], eax
mov dword [edi + 0x20], eax
mov dword [edi + 0x24], eax
mov dword [edi + 0x2c], eax
mov dword [edi + 0x30], eax
mov dword [edi + 0x34], eax
mov ecx, dword [ebp - 0xc]
mov dword [edi + 0x3c], eax
mov dword [edi + 0x40], eax
mov dword [edi + 0x44], eax
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 4
Function at 0x43494e
Capabilities:
Create process on windows

Disassembly:
mov eax, 0x599f72
call fcn.00593620
sub esp, 0xc
push ebx
push esi
push edi
xor esi, esi
mov dword [ebp - 4], 2
mov dword [ebp - 0x14], esi
call fcn.004959f5
cmp dword [eax + 4], esi
jbe 0x43499e
lea eax, [ebp + 0x18]
push eax
lea eax, [ebp + 0x14]
push eax
lea eax, [ebp + 0xc]
push eax
lea ecx, [ebp + 0x10]
call fcn.00434b07
lea eax, [ebp - 0x10]
push eax
mov dword [ebp - 0x10], 1
call fcn.004959f5
push eax
call fcn.00496153
mov eax, dword [ebp + 0xc]
cmp dword [eax - 0xc], esi
je 0x434ad2
mov eax, dword [ebp + 0x10]
cmp dword [eax - 0xc], esi
je 0x434ad2
mov eax, dword [ebp + 0x14]
cmp dword [eax - 0xc], esi
je 0x434ad2
lea eax, [ebp - 0x10]
push 0x104
push eax
call fcn.00482a4b
pop ecx
pop ecx
mov byte [ebp - 4], 3
mov eax, dword [ebp + 0x10]
push dword [eax - 0xc]
push eax
lea eax, [ebp - 0x10]
call fcn.00431ffe
mov ebx, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
push 0x708
push 1
lea eax, [ebp + 8]
push eax
push 1
push dword [ebp - 0x10]
call fcn.00435638
cmp eax, esi
mov dword [ebp - 0x14], eax
je 0x434a12
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
jmp 0x434acd
call fcn.004959f5
cmp dword [eax + 4], esi
jbe 0x434a32
lea eax, [ebp + 8]
push eax
mov dword [ebp + 8], 2
call fcn.004959f5
push eax
call fcn.00496153
mov ebx, dword [ebp - 0x10]
push ebx
lea ecx, [ebp + 0x14]
call fcn.004824b0
test eax, eax
pop ecx
jne 0x434a4c
mov dword [ebp - 0x14], 0xfb
jmp 0x434aca
cmp dword [ebp + 0x18], esi
je 0x434a92
lea eax, [ebp + 0x18]
push 0x5e6c48
push eax
lea ecx, [ebp - 0x10]
call fcn.00437fcf
mov eax, dword [eax]
pop ecx
pop ecx
push 1
push esi
push eax
push str.explorer.exe
push str.open
push esi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
xor ecx, ecx
cmp eax, 0x20
mov eax, dword [ebp + 0x18]
setg cl
add eax, 0xfffffff0
mov edi, ecx
call fcn.004011c0
jmp 0x434aa6
push esi
xor ecx, ecx
push 0x5e4264
push ebx
inc ecx
call fcn.00480eed
add esp, 0xc
mov edi, eax
cmp edi, esi
je 0x434aca
call fcn.004959f5
cmp dword [eax + 4], esi
jbe 0x434aca
lea eax, [ebp + 0x18]
push eax
mov dword [ebp + 0x18], 3
call fcn.004959f5
push eax
call fcn.00496153
lea eax, [ebx - 0x10]
call fcn.004011c0
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
call fcn.004011c0
mov eax, dword [ebp + 0x10]
add eax, 0xfffffff0
call fcn.004011c0
mov eax, dword [ebp + 0x14]
add eax, 0xfffffff0
call fcn.004011c0
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x14]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 0x14
Function at 0x43700d
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x598182
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x238
push ebx
push esi
push edi
mov edi, ecx
mov esi, dword [edi + 0xb8]
mov eax, esi
mov dword [esp + 0x28], esi
call fcn.00490497
and dword [esp + 0x10], 0
test eax, eax
mov dword [esp + 0x24], eax
jle 0x437218
add edi, 0xa4
mov dword [esp + 0x18], edi
jmp 0x437065
mov esi, dword [esp + 0x28]
mov eax, esi
call fcn.00490497
mov edi, dword [esp + 0x10]
cmp edi, eax
jae 0x43708c
mov eax, esi
call fcn.00490497
cmp edi, eax
jb 0x437084
call fcn.0049b479
mov eax, dword [esi + 4]
mov ebx, dword [eax + edi*4]
jmp 0x43708e
xor ebx, ebx
lea esi, [esp + 0x20]
mov eax, ebx
call fcn.004902f4
and dword [esp + 0x24c], 0
mov eax, dword [0x619864]
mov ecx, 0x619864
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x14], eax
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x38]
mov byte [esp + 0x250], 1
mov edi, dword [esp + 0x24]
push eax
push edi
push dword [esp + 0x24]
call fcn.0047f0a8
test eax, eax
jne 0x4371ea
lea esi, [esp + 0x30]
mov eax, ebx
call fcn.0049030c
mov byte [esp + 0x24c], 2
push dword [eax]
lea esi, [esp + 0x3c]
call fcn.0041d191
mov byte [esp + 0x24c], 3
push dword [eax]
lea eax, [esp + 0x10]
push eax
call fcn.0043229f
lea eax, [esp + 0x3c]
cmp dword [esp + 0x38], eax
je 0x437123
push dword [esp + 0x38]
call fcn.0049af3d
pop ecx
mov byte [esp + 0x24c], 6
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
call fcn.004011c0
lea eax, [esp + 0xc]
push eax
push dword [esp + 0x1c]
call fcn.0047f681
push dword [esp + 0xc]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4371de
lea esi, [esp + 0x2c]
mov eax, ebx
call fcn.00490325
mov byte [esp + 0x24c], 7
push dword [eax]
lea esi, [esp + 0x140]
call fcn.0041d191
mov byte [esp + 0x24c], 8
push dword [eax]
lea eax, [esp + 0x20]
push eax
call fcn.0043229f
lea eax, [esp + 0x140]
cmp dword [esp + 0x13c], eax
je 0x4371a9
push dword [esp + 0x13c]
call fcn.0049af3d
pop ecx
mov byte [esp + 0x24c], 0xb
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
call fcn.004011c0
push 0
push dword [esp + 0x20]
xor ecx, ecx
push dword [esp + 0x14]
inc ecx
call fcn.00480eed
mov eax, dword [esp + 0x28]
add esp, 0xc
add eax, 0xfffffff0
call fcn.004011c0
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
call fcn.004011c0
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
call fcn.004011c0
or dword [esp + 0x24c], 0xffffffff
lea eax, [edi - 0x10]
call fcn.004011c0
inc dword [esp + 0x10]
mov eax, dword [esp + 0x10]
cmp eax, dword [esp + 0x24]
jl 0x437061
mov ecx, dword [esp + 0x244]
pop edi
pop esi
xor eax, eax
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4376f6
Capabilities:
Delete file
Move file

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x437715
push 4
push eax
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
je 0x437718
xor eax, eax
inc eax
ret 4
Function at 0x43771b
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x5969fb
call fcn.00593620
push ecx
push ecx
push ebx
push str.http:__config.i.duba.net_aldconfig_resource.png
lea eax, [ebp - 0x10]
push eax
call fcn.0043229f
and dword [ebp - 4], 0
push 0x1f4
push 0
push 0
lea eax, [ebp - 0x10]
push edi
push eax
call fcn.00483df3
mov ebx, eax
mov eax, dword [ebp - 0x10]
add esp, 0x14
add eax, 0xfffffff0
call fcn.004011c0
test ebx, ebx
jne 0x437772
push dword [edi]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x437772
xor eax, eax
inc eax
jmp 0x437774
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ebx
leave
ret

Function at 0x438043
Capabilities:
Terminate thread

Disassembly:
mov eax, dword [esi + 8]
test eax, eax
je 0x438075
push 0x3e8
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x438068
push 0
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
and dword [esi + 8], 0
xor eax, eax
inc eax
ret