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

Disassembly:
mov eax, 0x4ce07f
call fcn.004cc470
push ecx
push ecx
mov eax, dword [0x50dc24]
push ebx
push esi
push edi
mov edi, ecx
mov esi, 0x50dc24
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 0x4196a3
mov eax, edi
lea edi, [ebp - 0x10]
call fcn.004013bf
mov edi, dword [ebp - 0x10]
cmp dword [edi - 0xc], ebx
je 0x419799
mov eax, dword [0x50dc24]
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.004328d6
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 0x41978e
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
cmp edi, ebx
je 0x419785
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.0041c2de
push eax
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp eax, ebx
mov dword [ebp - 0x14], eax
je 0x41977c
cmp dword [ebp + 8], edi
jne 0x41977c
mov eax, edi
call fcn.0041943c
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.00419455
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 0x41975e

Function at 0x41993d
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
test byte [esi + 0x14], 2
je 0x419996
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 0x419987
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x10]
sub edx, eax
je 0x419987
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 0x419996
push 0
push dword [esi + 8]
call dword [sym.imp.USER32.dll_ShowWindow]
and byte [esi + 0x14], 0xfd
leave
ret 4
Function at 0x41999a
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
cmp dword [ebp + 0xc], 1
push edi
mov edi, eax
jne 0x4199ba
push 0
push dword [edi + 8]
call dword [sym.imp.USER32.dll_ShowWindow]
and byte [edi + 0x14], 0xfd
jmp 0x419a17
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 0x419a1c
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 0x10]
je 0x419a1c
push 0xfffffffffffffff0
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowLongW]
test eax, 0x10000000
je 0x419a17
or byte [edi + 0x14], 4
mov al, byte [edi + 0x14]
test al, 2
jne 0x419a0e
push dword [ebp + 8]
or al, 2
mov byte [edi + 0x14], al
call fcn.00416db0
push 8
push dword [edi + 8]
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x419a17
cmp dword [edi + 0x18], esi
je 0x419a17
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], esi
jmp 0x419a2b
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 0x41bb5e
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 0x41bb89
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov dword [edi], ebx
mov eax, dword [esi + 0x454]
cmp eax, ebx
je 0x41bc68
push eax
call fcn.004322a4
mov edi, eax
cmp edi, ebx
pop ecx
je 0x41bc1d
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 0x41bbc2
push 1
push edi
push esi
call fcn.0041a18d
mov eax, dword [esi + 0x454]
cmp eax, dword [esi + 0x450]
jne 0x41bc1d
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.00432532
mov eax, dword [edi + 0x3c]
cmp eax, ebx
je 0x41bc0c
cmp word [eax], bx
je 0x41bc0c
push 1
push ebx
push ebx
push eax
push str.open
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x41bc1d
mov eax, dword [edi + 0xc]
cmp eax, ebx
je 0x41bc1d
mov dword [ebp - 4], 1
mov dword [ebp - 8], eax
cmp dword [ebp - 4], ebx
mov dword [esi + 0x454], ebx
je 0x41bc68
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 0x41c4c4
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 0x41c4db
pop esi
ret
push edi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
je 0x41c510
push dword [esp + 0x10]
push dword [esp + 0x10]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
add eax, edi
and esi, 0xf
jbe 0x41c50c
cmp edi, eax
jae 0x41c510
dec esi
movzx ecx, word [edi]
lea edi, [edi + ecx*2 + 2]
jne 0x41c4fe
cmp edi, eax
jb 0x41c514
xor eax, eax
jmp 0x41c51e
mov ax, word [edi]
neg ax
sbb eax, eax
and eax, edi
pop edi
pop esi
ret
Function at 0x425b5d
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 0x425b8c
mov ecx, dword [ebp + 0x18]
lea eax, [esi + 0x134]
mov dword [eax], ebx
and dword [ecx], 0
cmp dword [eax], 0
je 0x425bc6
mov eax, ebx
pop edi
pop esi
pop ebx
pop ebp
ret 0x14
cmp eax, 2
jne 0x425be7
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 0x425bc0
push edi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x425bc0
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 0x425b83
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.00430da5
jmp 0x425b85
cmp eax, 0x47
jne 0x425c0c
push dword [ebp + 0x14]
lea edi, [esi + 0x134]
mov eax, esi
mov dword [edi], ebx
call fcn.00425c64
mov eax, dword [ebp + 0x18]
and dword [eax], 0
cmp dword [edi], 0
jmp 0x425b81
cmp eax, 0x18
jne 0x425bc6
push dword [ebp + 0x10]
mov dword [esi + 0x134], ebx
call fcn.00425d59
xor edi, edi
cmp dword [ebp + 0x10], edi
je 0x425c44
push dword [esi + 8]
jmp 0x425c3a
mov ecx, dword [eax + 0x30]
shr ecx, 3
not ecx
test bl, cl
je 0x425c4e
push dword [eax + 8]
call fcn.004322a4
cmp eax, edi
pop ecx
jne 0x425c2b
mov eax, dword [ebp + 0x10]
mov ecx, esi
call fcn.00419cc6
mov eax, dword [ebp + 0x18]
mov dword [eax], edi
cmp dword [esi + 0x134], edi
jne 0x425b83
jmp 0x425bc6

Function at 0x425ee9
Capabilities:
Hide graphical window

Disassembly:
mov eax, esi
call fcn.00425f2d
test eax, eax
jne 0x425efb
and dword [esi + 0x134], eax
ret
push dword [esi + 0x140]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x425f2c
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 0x4312b9
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x4cdeda
call fcn.004cc470
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
and dword [ebp - 4], 0
mov dword [edi], vtable.CBkWindow.0
call fcn.00427c13
mov esi, 0x50e968
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call fcn.00427c13
add eax, 0x60
inc dword [eax]
mov eax, dword [eax]
mov dword [ebp - 0x10], eax
call fcn.00427c13
mov ebx, eax
mov eax, dword [ebp - 0x10]
call fcn.00431435
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, 0x50dc24
mov dword [edi + 0x20], ebx
call fcn.004014c8
lea esi, [edi + 0x3c]
mov ecx, 0x50dc24
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.004014c8
lea esi, [edi + 0x44]
mov ecx, 0x50dc24
mov dword [edi + 0x40], ebx
call fcn.004014c8
lea esi, [edi + 0x48]
mov ecx, 0x50dc24
call fcn.004014c8
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.004143d8
mov eax, esi
call fcn.004143d8
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], vtable.CBkWindow::BkAnimationHandler.0
mov dword [esi + 4], edi
call fcn.004143d8
lea eax, [esi + 8]
call fcn.004143d8
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 0x433047
Capabilities:
Get proxy

Disassembly:
mov eax, 0x4cff01
call fcn.004cc470
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.00495180
push esi
lea eax, [ebp - 0x432]
push ebx
push eax
mov word [ebp - 0x434], bx
call fcn.00495180
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 0x4330eb
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.00433c4a
cmp dword [ebp - 0x10], ebx
je 0x4330eb
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 0x4330ff
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x14], ebx
je 0x433230
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 0x433230
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.00418707
cmp eax, ebx
jne 0x433222
cmp word [ebp - 0x22c], bx
je 0x433222
mov eax, edi
push 0x104
push eax
call fcn.00494f5b
mov esi, dword [ebp + 8]
mov edi, str.socks
lea eax, [ebp - 0x22c]
push edi
push eax
mov dword [esi], 2
call fcn.00494ca6
add esp, 0x10
cmp eax, ebx
mov dword [ebp + 8], eax
je 0x4331a7
mov dword [esi], 3
push edi
call fcn.00495089
mov ecx, dword [ebp + 8]
lea eax, [ecx + eax*2]
push eax
lea eax, [ebp - 0x434]
push eax
call fcn.00433c2a
jmp 0x4331e0
mov edi, str.http
lea eax, [ebp - 0x22c]
push edi
push eax
call fcn.00494ca6
cmp eax, ebx
pop ecx
pop ecx
mov dword [ebp + 8], eax
mov dword [esi], 2
jne 0x43318c
lea eax, [ebp - 0x22c]
push eax
lea eax, [ebp - 0x434]
push 0x104
push eax
call fcn.0049510c
add esp, 0xc
lea eax, [ebp - 0x434]
push eax
lea eax, [ebp + 8]
push eax
call fcn.0043295b
mov esi, dword [ebp + 0x10]
push dword [ebp + 0xc]
mov ecx, esi
lea ebx, [ebp + 8]
mov byte [ebp - 4], 1
call fcn.00433244
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
call fcn.004011c0
mov eax, dword [esi]
xor ebx, ebx
cmp dword [eax - 0xc], ebx
je 0x433222
mov dword [ebp - 0x18], 1
cmp dword [ebp - 0x10], ebx
je 0x433230
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 0x4344c0
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 0x43454e
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 0x4344f7
cmp dword [ebp - 8], 2
jne 0x43454d
push esi
mov esi, dword [ebp + 0xc]
call fcn.0040146d
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 0x43454c
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 0x43453e
push eax
call fcn.00495089
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 0x434555
Capabilities:
Set registry value

Disassembly:
push edi
xor edi, edi
cmp dword [esi], edi
je 0x434583
push dword [esp + 0xc]
call fcn.00495089
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 0x434583
inc edi
mov eax, edi
pop edi
ret 8

Function at 0x434d38
Capabilities:
Create process on windows

Disassembly:
mov eax, 0x4cf97f
call fcn.004cc470
sub esp, 0xc
push ebx
push esi
push edi
mov edi, edx
mov eax, dword [edi]
xor esi, esi
cmp dword [eax - 0xc], esi
mov ebx, ecx
mov dword [ebp - 0x14], esi
je 0x434e2f
mov eax, dword [ebx]
cmp dword [eax - 0xc], esi
je 0x434e2f
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
cmp dword [eax - 0xc], esi
je 0x434e2f
lea eax, [ebp - 0x10]
push 0x104
push eax
call fcn.0047f47e
pop ecx
pop ecx
mov dword [ebp - 4], esi
mov eax, dword [ebx]
push dword [eax - 0xc]
push eax
lea eax, [ebp - 0x10]
call fcn.004326ba
mov edi, dword [edi]
push 0x708
inc esi
push esi
lea eax, [ebp + 8]
push eax
push esi
push dword [ebp - 0x10]
mov ebx, edi
mov edi, dword [ebp + 8]
call fcn.00435815
xor ebx, ebx
cmp eax, ebx
mov dword [ebp - 0x14], eax
je 0x434dc2
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
jmp 0x434e2a
mov edi, dword [ebp - 0x10]
mov ecx, dword [ebp + 0xc]
push edi
call fcn.0047eee3
test eax, eax
pop ecx
jne 0x434ddc
mov dword [ebp - 0x14], 0xfb
jmp 0x434e27
cmp dword [ebp + 0x10], ebx
je 0x434e16
lea eax, [ebp + 0xc]
push 0x4e5a48
push eax
lea ecx, [ebp - 0x10]
call fcn.00437cd7
pop ecx
pop ecx
push esi
push ebx
push dword [eax]
push str.explorer.exe
push str.open
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
call fcn.004011c0
jmp 0x434e27
push ebx
push 0x4e3074
push edi
mov ecx, esi
call fcn.0047d920
add esp, 0xc
lea eax, [edi - 0x10]
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 0xc
Function at 0x43709c
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4d0da1
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 + 0x9c]
mov eax, esi
mov dword [esp + 0x28], esi
call fcn.00478810
and dword [esp + 0x10], 0
test eax, eax
mov dword [esp + 0x24], eax
jle 0x4372a7
add edi, 0x88
mov dword [esp + 0x18], edi
jmp 0x4370f4
mov esi, dword [esp + 0x28]
mov eax, esi
call fcn.00478810
mov edi, dword [esp + 0x10]
cmp edi, eax
jae 0x43711b
mov eax, esi
call fcn.00478810
cmp edi, eax
jb 0x437113
call fcn.00496274
mov eax, dword [esi + 4]
mov ebx, dword [eax + edi*4]
jmp 0x43711d
xor ebx, ebx
lea esi, [esp + 0x20]
mov eax, ebx
call fcn.0048cb8f
and dword [esp + 0x24c], 0
mov eax, dword [0x50dc24]
mov ecx, 0x50dc24
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.0047ba17
test eax, eax
jne 0x437279
lea esi, [esp + 0x30]
mov eax, ebx
call fcn.0048cba7
mov byte [esp + 0x24c], 2
push dword [eax]
lea esi, [esp + 0x3c]
call fcn.0041dc1e
mov byte [esp + 0x24c], 3
push dword [eax]
lea eax, [esp + 0x10]
push eax
call fcn.0043295b
lea eax, [esp + 0x3c]
cmp dword [esp + 0x38], eax
je 0x4371b2
push dword [esp + 0x38]
call fcn.00495d38
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.0047bff0
push dword [esp + 0xc]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x43726d
lea esi, [esp + 0x2c]
mov eax, ebx
call fcn.00483d2e
mov byte [esp + 0x24c], 7
push dword [eax]
lea esi, [esp + 0x140]
call fcn.0041dc1e
mov byte [esp + 0x24c], 8
push dword [eax]
lea eax, [esp + 0x20]
push eax
call fcn.0043295b
lea eax, [esp + 0x140]
cmp dword [esp + 0x13c], eax
je 0x437238
push dword [esp + 0x13c]
call fcn.00495d38
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.0047d920
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 0x4370f0
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 0x43777f
Capabilities:
Delete file
Move file

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

Disassembly:
mov eax, 0x4cf97f
call fcn.004cc470
push ecx
push ecx
push ebx
push str.http:__config.i.duba.net_aldconfig_resource.png
lea eax, [ebp - 0x10]
push eax
call fcn.0043295b
and dword [ebp - 4], 0
push 0x1f4
push 0
push 0
lea eax, [ebp - 0x10]
push edi
push eax
call fcn.004807be
mov ebx, eax
mov eax, dword [ebp - 0x10]
add esp, 0x14
add eax, 0xfffffff0
call fcn.004011c0
test ebx, ebx
jne 0x4377fb
push dword [edi]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4377fb
xor eax, eax
inc eax
jmp 0x4377fd
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ebx
leave
ret

Function at 0x437d4b
Capabilities:
Terminate thread

Disassembly:
mov eax, dword [esi + 8]
test eax, eax
je 0x437d7d
push 0x3e8
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x437d70
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
Function at 0x437e99
Capabilities:
Log keystrokes

Disassembly:
sub esp, 0x14
push ebx
push ebp
push esi
mov ebx, eax
mov eax, dword [0x50e9a4]
xor esi, esi
cmp eax, esi
push edi
mov dword [esp + 0x1c], esi
je 0x437eb6
mov ebp, dword [eax + 4]
jmp 0x437eb8
xor ebp, ebp
cmp ebp, esi
jne 0x437ec8
call dword [sym.imp.USER32.dll_GetActiveWindow]
mov ebp, eax
cmp ebp, esi
je 0x437eed
call dword [sym.imp.USER32.dll_GetDesktopWindow]
cmp ebp, eax
je 0x437eed
push ebp
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x437eed
push esi
push ebp
call dword [sym.imp.USER32.dll_EnableWindow]
mov dword [esp + 0x1c], 1
push ecx
mov eax, esp
mov dword [ebx + 0x51c], esi
push ebp
mov dword [eax], esi
call fcn.004382eb
cmp eax, esi
mov dword [esp + 0x18], eax
jne 0x437f16
push 1
push ebp
call dword [sym.imp.USER32.dll_EnableWindow]
xor eax, eax
jmp 0x437ff2
mov edx, eax
call fcn.0041a56c
mov dword [esp + 0x20], eax
mov eax, ebp
call fcn.0043d293
cmp dword [ebx + 0x510], esi
je 0x437f98
push esi
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push esi
push esi
push esi
push 0x2001
mov dword [esp + 0x24], eax
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
push 0x43
push esi
push esi
push esi
push esi
push esi
push dword [esp + 0x30]
call dword [sym.imp.USER32.dll_SetWindowPos]
cmp edi, dword [esp + 0x14]
je 0x437f7c
push 1
push edi
push dword [esp + 0x1c]
call dword [sym.imp.USER32.dll_AttachThreadInput]
push dword [esp + 0x18]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
cmp edi, dword [esp + 0x14]
je 0x437f98
push esi
push edi
push dword [esp + 0x1c]
call dword [sym.imp.USER32.dll_AttachThreadInput]
mov edi, ebx
call fcn.004384a1
push 0x97
push esi
push esi
push esi
push esi
push esi
push dword [ebx + 4]
mov dword [ebx + 0x51c], esi
call dword [sym.imp.USER32.dll_SetWindowPos]
cmp dword [esp + 0x1c], esi
je 0x437fdd
push 1
push ebp
call dword [sym.imp.USER32.dll_EnableWindow]
cmp ebp, esi
je 0x437fdd
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [ebx + 4]
jne 0x437fdd
push ebp
call dword [sym.imp.USER32.dll_SetActiveWindow]
mov edx, dword [esp + 0x20]
call fcn.0041a56c
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_DestroyWindow]
mov eax, dword [ebx + 0x28]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret