joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4199d1
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
test byte [esi + 0x14], 2
je 0x419a2a
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 0x419a1b
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x10]
sub edx, eax
je 0x419a1b
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 0x419a2a
push 0
push dword [esi + 8]
call dword [sym.imp.USER32.dll_ShowWindow]
and byte [esi + 0x14], 0xfd
leave
ret 4

Function at 0x419a2e
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
cmp dword [ebp + 0xc], 1
push edi
mov edi, eax
jne 0x419a4e
push 0
push dword [edi + 8]
call dword [sym.imp.USER32.dll_ShowWindow]
and byte [edi + 0x14], 0xfd
jmp 0x419aab
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 0x419ab0
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 0x10]
je 0x419ab0
push 0xfffffffffffffff0
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowLongW]
test eax, 0x10000000
je 0x419aab
or byte [edi + 0x14], 4
mov al, byte [edi + 0x14]
test al, 2
jne 0x419aa2
push dword [ebp + 8]
or al, 2
mov byte [edi + 0x14], al
call fcn.00416f11
push 8
push dword [edi + 8]
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x419aab
cmp dword [edi + 0x18], esi
je 0x419aab
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], esi
jmp 0x419abf
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 0x41bc0e
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 0x41bc39
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov dword [edi], ebx
mov eax, dword [esi + 0x454]
cmp eax, ebx
je 0x41bd18
push eax
call fcn.004323ad
mov edi, eax
cmp edi, ebx
pop ecx
je 0x41bccd
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 0x41bc72
push 1
push edi
push esi
call fcn.0041a221
mov eax, dword [esi + 0x454]
cmp eax, dword [esi + 0x450]
jne 0x41bccd
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.0043263b
mov eax, dword [edi + 0x3c]
cmp eax, ebx
je 0x41bcbc
cmp word [eax], bx
je 0x41bcbc
push 1
push ebx
push ebx
push eax
push str.open
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x41bccd
mov eax, dword [edi + 0xc]
cmp eax, ebx
je 0x41bccd
mov dword [ebp - 4], 1
mov dword [ebp - 8], eax
cmp dword [ebp - 4], ebx
mov dword [esi + 0x454], ebx
je 0x41bd18
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 0x425bef
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 0x425c1e
mov ecx, dword [ebp + 0x18]
lea eax, [esi + 0x134]
mov dword [eax], ebx
and dword [ecx], 0
cmp dword [eax], 0
je 0x425c58
mov eax, ebx
pop edi
pop esi
pop ebx
pop ebp
ret 0x14
cmp eax, 2
jne 0x425c79
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 0x425c52
push edi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x425c52
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 0x425c15
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.00430eb4
jmp 0x425c17
cmp eax, 0x47
jne 0x425c9e
push dword [ebp + 0x14]
lea edi, [esi + 0x134]
mov eax, esi
mov dword [edi], ebx
call fcn.00425cf6
mov eax, dword [ebp + 0x18]
and dword [eax], 0
cmp dword [edi], 0
jmp 0x425c13
cmp eax, 0x18
jne 0x425c58
push dword [ebp + 0x10]
mov dword [esi + 0x134], ebx
call fcn.004312c2
xor edi, edi
cmp dword [ebp + 0x10], edi
je 0x425cd6
push dword [esi + 8]
jmp 0x425ccc
mov ecx, dword [eax + 0x30]
shr ecx, 3
not ecx
test bl, cl
je 0x425ce0
push dword [eax + 8]
call fcn.004323ad
cmp eax, edi
pop ecx
jne 0x425cbd
mov eax, dword [ebp + 0x10]
mov ecx, esi
call fcn.00419d5a
mov eax, dword [ebp + 0x18]
mov dword [eax], edi
cmp dword [esi + 0x134], edi
jne 0x425c15
jmp 0x425c58

Function at 0x425f63
Capabilities:
Hide graphical window

Disassembly:
mov eax, esi
call fcn.00425fa7
test eax, eax
jne 0x425f75
and dword [esi + 0x134], eax
ret
push dword [esi + 0x140]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x425fa6
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 0x42864c
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 0x428663
pop esi
ret
push edi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
je 0x428698
push dword [esp + 0x10]
push dword [esp + 0x10]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
add eax, edi
and esi, 0xf
jbe 0x428694
cmp edi, eax
jae 0x428698
dec esi
movzx ecx, word [edi]
lea edi, [edi + ecx*2 + 2]
jne 0x428686
cmp edi, eax
jb 0x42869c
xor eax, eax
jmp 0x4286a6
mov ax, word [edi]
neg ax
sbb eax, eax
and eax, edi
pop edi
pop esi
ret
Function at 0x4313e0
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x596c59
call fcn.00595190
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.00427ce7
mov esi, 0x61e580
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call fcn.00427ce7
add eax, 0x60
inc dword [eax]
mov eax, dword [eax]
mov dword [ebp - 0x10], eax
call fcn.00427ce7
mov ebx, eax
mov eax, dword [ebp - 0x10]
call fcn.0043155c
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, 0x61b884
mov dword [edi + 0x20], ebx
call fcn.004014bd
lea esi, [edi + 0x3c]
mov ecx, 0x61b884
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.004014bd
lea esi, [edi + 0x44]
mov ecx, 0x61b884
mov dword [edi + 0x40], ebx
call fcn.004014bd
lea esi, [edi + 0x48]
mov ecx, 0x61b884
call fcn.004014bd
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.0041441d
mov eax, esi
call fcn.0041441d
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.0041441d
lea eax, [esi + 8]
call fcn.0041441d
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 0x433176
Capabilities:
Get proxy

Disassembly:
mov eax, 0x598d72
call fcn.00595190
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.0049bf00
push esi
lea eax, [ebp - 0x432]
push ebx
push eax
mov word [ebp - 0x434], bx
call fcn.0049bf00
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 0x43321a
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.00433ddd
cmp dword [ebp - 0x10], ebx
je 0x43321a
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 0x43322e
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x14], ebx
je 0x43335f
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 0x43335f
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.004187c6
cmp eax, ebx
jne 0x433351
cmp word [ebp - 0x22c], bx
je 0x433351
mov eax, edi
push 0x104
push eax
call fcn.0049bcd5
mov esi, dword [ebp + 8]
mov edi, str.socks
lea eax, [ebp - 0x22c]
push edi
push eax
mov dword [esi], 2
call fcn.0049ba20
add esp, 0x10
cmp eax, ebx
mov dword [ebp + 8], eax
je 0x4332d6
mov dword [esi], 3
push edi
call fcn.0049be03
mov ecx, dword [ebp + 8]
lea eax, [ecx + eax*2]
push eax
lea eax, [ebp - 0x434]
push eax
call fcn.00433dbd
jmp 0x43330f
mov edi, str.http
lea eax, [ebp - 0x22c]
push edi
push eax
call fcn.0049ba20
cmp eax, ebx
pop ecx
pop ecx
mov dword [ebp + 8], eax
mov dword [esi], 2
jne 0x4332bb
lea eax, [ebp - 0x22c]
push eax
lea eax, [ebp - 0x434]
push 0x104
push eax
call fcn.0049be86
add esp, 0xc
lea eax, [ebp - 0x434]
push eax
lea eax, [ebp + 8]
push eax
call fcn.00432a8a
mov esi, dword [ebp + 0x10]
push dword [ebp + 0xc]
mov ecx, esi
lea ebx, [ebp + 8]
mov byte [ebp - 4], 1
call fcn.00433373
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
call fcn.004011c0
mov eax, dword [esi]
xor ebx, ebx
cmp dword [eax - 0xc], ebx
je 0x433351
mov dword [ebp - 0x18], 1
cmp dword [ebp - 0x10], ebx
je 0x43335f
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 0x4347d0
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 0x43485e
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 0x434807
cmp dword [ebp - 8], 2
jne 0x43485d
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 0x43485c
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 0x43484e
push eax
call fcn.0049be03
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 0x434865
Capabilities:
Set registry value

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

Function at 0x434c55
Capabilities:
Get disk information
Get disk size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push esi
push edi
push dword [ebp + 8]
xor esi, esi
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 3
jne 0x434cc6
xor eax, eax
mov dword [ebp - 0xc], esi
lea edi, [ebp - 8]
stosd dword es:[edi], eax
lea eax, [ebp - 0xc]
push eax
push esi
push esi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
test eax, eax
je 0x434cc6
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
shrd ecx, eax, 0x14
shr eax, 0x14
mov dword [ebp - 8], eax
and dword [ebp - 8], 0x80000000
and eax, 0x7fffffff
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0xc], esi
fild qword [ebp - 0x14]
fild qword [ebp - 0xc]
fchs
faddp st(1)
fcomp qword [0x5f2f20]
fnstsw ax
test ah, 1
jne 0x434cc6
inc esi
pop edi
mov eax, esi
pop esi
leave
ret

Function at 0x434cec
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x597bd6
call fcn.00595190
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
and dword [edi], 0
and dword [edi + 4], 0
mov ebx, 0x61b884
lea esi, [edi + 8]
mov ecx, ebx
call fcn.004014bd
and dword [ebp - 4], 0
lea esi, [edi + 0xc]
mov ecx, ebx
call fcn.004014bd
lea esi, [edi + 0x10]
mov ecx, ebx
mov byte [ebp - 4], 1
call fcn.004014bd
lea esi, [edi + 0x14]
mov ecx, ebx
mov byte [ebp - 4], 2
call fcn.004014bd
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 0x437a0e
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x599d27
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.0047c34b
and dword [esp + 0x10], 0
test eax, eax
mov dword [esp + 0x24], eax
jle 0x437c19
add edi, 0xa4
mov dword [esp + 0x18], edi
jmp 0x437a66
mov esi, dword [esp + 0x28]
mov eax, esi
call fcn.0047c34b
mov edi, dword [esp + 0x10]
cmp edi, eax
jae 0x437a8d
mov eax, esi
call fcn.0047c34b
cmp edi, eax
jb 0x437a85
call fcn.0049cff9
mov eax, dword [esi + 4]
mov ebx, dword [eax + edi*4]
jmp 0x437a8f
xor ebx, ebx
lea esi, [esp + 0x20]
mov eax, ebx
call fcn.00490bcc
and dword [esp + 0x24c], 0
mov eax, dword [0x61b884]
mov ecx, 0x61b884
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.0047f66d
test eax, eax
jne 0x437beb
lea esi, [esp + 0x30]
mov eax, ebx
call fcn.00490be4
mov byte [esp + 0x24c], 2
push dword [eax]
lea esi, [esp + 0x3c]
call fcn.0041da4c
mov byte [esp + 0x24c], 3
push dword [eax]
lea eax, [esp + 0x10]
push eax
call fcn.00432a8a
lea eax, [esp + 0x3c]
cmp dword [esp + 0x38], eax
je 0x437b24
push dword [esp + 0x38]
call fcn.0049cabd
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.0047fc46
push dword [esp + 0xc]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x437bdf
lea esi, [esp + 0x2c]
mov eax, ebx
call fcn.00487c0f
mov byte [esp + 0x24c], 7
push dword [eax]
lea esi, [esp + 0x140]
call fcn.0041da4c
mov byte [esp + 0x24c], 8
push dword [eax]
lea eax, [esp + 0x20]
push eax
call fcn.00432a8a
lea eax, [esp + 0x140]
cmp dword [esp + 0x13c], eax
je 0x437baa
push dword [esp + 0x13c]
call fcn.0049cabd
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.004816b0
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 0x437a62
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 0x4380f7
Capabilities:
Delete file
Move file

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

Disassembly:
mov eax, 0x5966da
call fcn.00595190
push ecx
push ecx
push ebx
push str.http:__config.i.duba.net_aldconfig_resource.png
lea eax, [ebp - 0x10]
push eax
call fcn.00432a8a
and dword [ebp - 4], 0
push 0x1f4
push 0
push 0
lea eax, [ebp - 0x10]
push edi
push eax
call fcn.004846e4
mov ebx, eax
mov eax, dword [ebp - 0x10]
add esp, 0x14
add eax, 0xfffffff0
call fcn.004011c0
test ebx, ebx
jne 0x438173
push dword [edi]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x438173
xor eax, eax
inc eax
jmp 0x438175
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ebx
leave
ret

Function at 0x438e43
Capabilities:
Terminate thread

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

Disassembly:
sub esp, 0x14
push ebx
push ebp
push esi
mov ebx, eax
mov eax, dword [0x61e5bc]
xor esi, esi
cmp eax, esi
push edi
mov dword [esp + 0x1c], esi
je 0x438fae
mov ebp, dword [eax + 4]
jmp 0x438fb0
xor ebp, ebp
cmp ebp, esi
jne 0x438fc0
call dword [sym.imp.USER32.dll_GetActiveWindow]
mov ebp, eax
cmp ebp, esi
je 0x438fe5
call dword [sym.imp.USER32.dll_GetDesktopWindow]
cmp ebp, eax
je 0x438fe5
push ebp
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x438fe5
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.004393e8
cmp eax, esi
mov dword [esp + 0x18], eax
jne 0x43900e
push 1
push ebp
call dword [sym.imp.USER32.dll_EnableWindow]
xor eax, eax
jmp 0x4390ea
mov edx, eax
call fcn.0041a61d
mov dword [esp + 0x20], eax
mov eax, ebp
call fcn.0040eca1
cmp dword [ebx + 0x510], esi
je 0x439090
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 0x439074
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 0x439090
push esi
push edi
push dword [esp + 0x1c]
call dword [sym.imp.USER32.dll_AttachThreadInput]
mov edi, ebx
call fcn.0043e347
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 0x4390d5
push 1
push ebp
call dword [sym.imp.USER32.dll_EnableWindow]
cmp ebp, esi
je 0x4390d5
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [ebx + 4]
jne 0x4390d5
push ebp
call dword [sym.imp.USER32.dll_SetActiveWindow]
mov edx, dword [esp + 0x20]
call fcn.0041a61d
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
Function at 0x439185
Capabilities:
Create thread

Disassembly:
push edi
xor edi, edi
cmp dword [esi], edi
je 0x4391f6
cmp dword [esp + 8], edi
je 0x4391f6
mov eax, dword [esi + 8]
cmp eax, edi
je 0x4391b1
push edi
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x4391b1
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 8], edi
cmp dword [esi + 8], edi
jne 0x4391f6
push ebx
mov ebx, dword [esi]
push 0xc
call fcn.00465bfe
cmp eax, edi
pop ecx
jne 0x4391c9
xor eax, eax
jmp 0x4391e7
mov ecx, dword [esp + 0xc]
push edi
push edi
push eax
push 0x439e04
push edi
push edi
mov dword [eax], ebx
mov dword [eax + 8], edi
mov dword [eax + 4], ecx
call fcn.004a064a
add esp, 0x18
xor ecx, ecx
cmp eax, edi
setne cl
mov dword [esi + 8], eax
pop ebx
mov eax, ecx
jmp 0x4391f8
xor eax, eax
pop edi
ret 4

Function at 0x43a06d
Capabilities:
Delete file

Disassembly:
mov eax, 0x597a8a
call fcn.00595190
sub esp, 0x14
mov eax, dword [0x61b884]
push ebx
push esi
mov ebx, ecx
xor esi, esi
push edi
mov ecx, 0x61b884
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x10], esi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x18], eax
push esi
mov dword [ebp - 4], esi
mov edi, 0x61f638
mov dword [ebp - 0x1c], esi
push str.GetPacketData__d
mov esi, edi
call fcn.004870fe
pop ecx
pop ecx
lea eax, [ebp - 0x10]
push eax
push 0
mov esi, ebx
call fcn.0043a17d
push eax
push str.GetPacketData_return:_d
mov esi, edi
mov dword [ebp - 0x14], eax
call fcn.004870fe
cmp dword [ebp - 0x14], 0
pop ecx
pop ecx
jne 0x43a0e2
mov dword [ebx + 0x1c], 1
jmp 0x43a15b
push 0x28
call fcn.00465bfe
test eax, eax
pop ecx
je 0x43a0f8
push eax
call fcn.00475438
mov ebx, eax
jmp 0x43a0fa
xor ebx, ebx
test ebx, ebx
mov dword [ebp - 0x1c], ebx
je 0x43a15b
push str.Extract...
call fcn.004870fe
mov eax, dword [ebx]
pop ecx
push dword [ebp + 8]
push dword [ebp - 0x10]
push dword [ebp - 0x14]
push ebx
call dword [eax]
mov ebx, eax
xor eax, eax
test ebx, ebx
sete al
push eax
push str.Extract_return:_d
call fcn.004870fe
test ebx, ebx
pop ecx
pop ecx
je 0x43a154
xor esi, esi
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
call fcn.004011c0
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 4
mov dword [ebp - 0x20], 1
mov eax, dword [ebp - 0x18]
cmp dword [eax - 0xc], 0
je 0x43a16b
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x43a178
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc]
mov esi, dword [ebp - 0x20]
jmp 0x43a136