joyce8/EMBER2024-capa huggingface dataset:
Function at 0x447811
Capabilities:
Create pipe

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov ecx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 0x14]
mov dword [ebp - 0xc], 0xc
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
test al, 0x10
je 0x4478f0
push ecx
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov dword [esi], eax
cmp eax, 0xffffffff
je 0x447863
push 1
push esi
push eax
call fcn.004367b3
mov eax, dword [esi]
add esp, 0xc
pop esi
mov esp, ebp
pop ebp
ret 0x14
mov dword [esi], 0
mov eax, dword [esi]
pop esi
mov esp, ebp
pop ebp
ret 0x14
mov edx, dword [ebp + 0x18]
push 0
lea ecx, [ebp - 0xc]
push ecx
push esi
push edx
call dword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
jne 0x4478cd
or eax, 0xffffffff
pop esi
mov esp, ebp
pop ebp
ret 0x14
push ecx
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov dword [esi], eax
test eax, eax
je 0x4478a3
cmp eax, 0xffffffff
jne 0x44784e
push 0
push 0x80
push 3
lea eax, [ebp - 0xc]
push eax
push 2
push 0x40000000
push 0x498c9c
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [esi], eax
cmp eax, 0xffffffff
je 0x447863
test eax, eax
je 0x447863
mov edx, dword [esi]
push 1
lea ecx, [ebp + 0x14]
push ecx
push edx
call fcn.004367b3
push esi
call fcn.004367e7
mov eax, dword [ebp + 0x14]
add esp, 0x10
mov dword [esi], eax
pop esi
mov esp, ebp
pop ebp
ret 0x14
test dword [ebp + 0xc], eax
je 0x447891
mov eax, dword [esi]
test eax, eax
je 0x447872
pop esi
mov esp, ebp
pop ebp
ret 0x14

Function at 0x447930
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x10]
xor edx, edx
push ecx
mov dword [ebp + 0x10], edx
call fcn.00436804
test al, al
je 0x447980
test ebx, ebx
je 0x447980
test edi, edi
je 0x447980
push esi
push edx
lea eax, [ebp + 0x10]
push eax
lea esi, [ecx + 0x18]
mov ecx, dword [esi]
push edi
push ebx
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x447976
push esi
call fcn.004367e7
add esp, 4
mov eax, dword [ebp + 0x10]
pop esi
pop edi
pop ebx
pop ebp
ret 0xc
pop edi
mov eax, edx
pop ebx
pop ebp
ret 0xc

Function at 0x447d70
Capabilities:
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
cmp byte [ebp + 0xc], 1
push esi
mov esi, dword [ebp + 8]
jne 0x447d8e
push esi
call fcn.0043757a
add esp, 4
test al, al
jne 0x447da7
push 1
jmp 0x447d90
push 0
push 0
push esi
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
call dword [sym.imp.USER32.dll_AttachThreadInput]
pop esi
pop ebp
ret
Function at 0x448033
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
push edi
mov edi, dword [ebp + 0x18]
xor esi, esi
mov byte [0x4a85d6], 0
test edi, edi
je 0x448078
mov byte [0x4a85d7], 1
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [ebp - 8], eax
lea eax, [ebp + 0x18]
push eax
push esi
lea ecx, [ebp - 8]
push ecx
push 0x447f0d
push esi
push esi
mov dword [ebp - 4], edi
call fcn.00413ebf
add esp, 0x18
mov esi, eax
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
push edx
mov edx, dword [ebp + 8]
push eax
push ecx
push edx
call dword [sym.imp.USER32.dll_MessageBoxW]
mov edi, eax
test esi, esi
je 0x4480ab
push 0xffffffffffffffff
push esi
mov byte [0x4a85d7], 0
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [0x4a85d6], 1
jne 0x4480bd
pop edi
or eax, 0xffffffff
pop esi
mov esp, ebp
pop ebp
ret
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x448215
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push esi
call fcn.004481f8
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
push 0
lea eax, [ebp + 8]
push eax
mov eax, dword [esi]
push ecx
push edx
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [ebp + 8]
add dword [esi + 0x10], eax
adc dword [esi + 0x14], 0
pop esi
pop ebp
ret 0xc
Function at 0x4487fa
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x100
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
cmp byte [edi], 0
jne 0x44882c
cmp byte [edi + 1], 0
jne 0x44882c
cmp byte [edi + 2], 0
jne 0x44882c
cmp byte [edi + 3], 0
jne 0x44882c
cmp byte [edi + 4], 0
je 0x4489ea
mov eax, dword [esi + 0x20]
push ebx
test eax, eax
je 0x448975
push eax
call dword [sym.imp.USER32.dll_GetParent]
test eax, eax
je 0x448975
lea eax, [ebp - 0x100]
push eax
call dword [sym.imp.USER32.dll_GetKeyboardState]
test eax, eax
je 0x4488a8
cmp byte [edi], 0
mov al, 0x80
je 0x448868
xor byte [ebp - 0xf0], al
xor byte [ebp - 0x60], al
cmp byte [edi + 1], 0
je 0x448877
xor byte [ebp - 0xf0], al
xor byte [ebp - 0x5f], al
cmp byte [edi + 2], 0
je 0x448883
xor byte [ebp - 0xef], al
cmp byte [edi + 3], 0
je 0x44888f
xor byte [ebp - 0xee], al
cmp byte [edi + 4], 0
je 0x44889b
xor byte [ebp - 0xa5], al
lea ecx, [ebp - 0x100]
push ecx
call dword [sym.imp.USER32.dll_SetKeyboardState]
cmp byte [edi], 0
mov ebx, dword [sym.imp.USER32.dll_PostMessageW]
jne 0x4488b9
cmp byte [edi + 1], 0
je 0x4488d4
movzx edx, byte [esi + 0x26]
mov eax, dword [esi + 0x20]
shl edx, 0x10
or edx, 0xc0000001
push edx
push 0x10
push 0x101
push eax
call ebx
cmp byte [edi + 2], 0
je 0x4488f5
movzx ecx, byte [esi + 0x24]
mov edx, dword [esi + 0x20]
shl ecx, 0x10
or ecx, 0xc0000001
push ecx
push 0x11
push 0x101
push edx
call ebx
mov al, byte [edi + 3]
test al, al
je 0x448941
cmp byte [edi + 2], 0
jne 0x448922
cmp byte [esi + 0x1c], 0
jne 0x448922
movzx eax, byte [esi + 0x25]
mov ecx, dword [esi + 0x20]
shl eax, 0x10
or eax, 0xe0000001
push eax
push 0x12
push 0x105
push ecx
jmp 0x44893f
test al, al
je 0x448941
movzx edx, byte [esi + 0x25]
mov eax, dword [esi + 0x20]
shl edx, 0x10
or edx, 0xc0000001
push edx
push 0x12
push 0x101
push eax
call ebx
cmp byte [edi + 4], 0
je 0x4489e3
movzx ecx, byte [esi + 0x29]
mov edx, dword [esi + 0x20]
shl ecx, 0x10
or ecx, 0xc0000001
push ecx
push 0x5b
push 0x101
push edx
call ebx
push esi
call fcn.004388b8
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
cmp byte [edi], 0
je 0x44898c
movzx eax, byte [esi + 0x27]
push 2
push eax
push 0xa0
push esi
call fcn.0043882c
cmp byte [edi + 1], 0
je 0x4489a4
movzx ecx, byte [esi + 0x28]
push 2
push ecx
push 0xa1
push esi
call fcn.0043882c
cmp byte [edi + 2], 0
je 0x4489b9
movzx edx, byte [esi + 0x24]
push 2
push edx
push 0x11
push esi
call fcn.0043882c
cmp byte [edi + 3], 0
je 0x4489ce
movzx eax, byte [esi + 0x25]
push 2
push eax
push 0x12
push esi
call fcn.0043882c
cmp byte [edi + 4], 0
je 0x4489e3
movzx ecx, byte [esi + 0x29]
push 2
push ecx
push 0x5b
push esi
call fcn.0043882c
push esi
call fcn.004388b8
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x4489f2
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x100
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
cmp byte [edi], 0
jne 0x448a24
cmp byte [edi + 1], 0
jne 0x448a24
cmp byte [edi + 2], 0
jne 0x448a24
cmp byte [edi + 3], 0
jne 0x448a24
cmp byte [edi + 4], 0
je 0x448bd6
mov eax, dword [esi + 0x20]
push ebx
test eax, eax
je 0x448b61
push eax
call dword [sym.imp.USER32.dll_GetParent]
test eax, eax
je 0x448b61
lea eax, [ebp - 0x100]
push eax
call dword [sym.imp.USER32.dll_GetKeyboardState]
test eax, eax
je 0x448aa0
cmp byte [edi], 0
mov al, 0x80
je 0x448a60
or byte [ebp - 0xf0], al
or byte [ebp - 0x60], al
cmp byte [edi + 1], 0
je 0x448a6f
or byte [ebp - 0xf0], al
or byte [ebp - 0x5f], al
cmp byte [edi + 2], 0
je 0x448a7b
or byte [ebp - 0xef], al
cmp byte [edi + 3], 0
je 0x448a87
or byte [ebp - 0xee], al
cmp byte [edi + 4], 0
je 0x448a93
or byte [ebp - 0xa5], al
lea ecx, [ebp - 0x100]
push ecx
call dword [sym.imp.USER32.dll_SetKeyboardState]
cmp byte [edi], 0
mov ebx, dword [sym.imp.USER32.dll_PostMessageW]
jne 0x448ab1
cmp byte [edi + 1], 0
je 0x448ac9
movzx edx, byte [esi + 0x26]
mov eax, dword [esi + 0x20]
shl edx, 0x10
or edx, 1
push edx
push 0x10
push 0x100
push eax
call ebx
cmp byte [edi + 2], 0
je 0x448ae7
movzx ecx, byte [esi + 0x24]
mov edx, dword [esi + 0x20]
shl ecx, 0x10
or ecx, 1
push ecx
push 0x11
push 0x100
push edx
call ebx
mov al, byte [edi + 3]
test al, al
je 0x448b30
cmp byte [edi + 2], 0
jne 0x448b14
cmp byte [esi + 0x1c], 0
jne 0x448b14
movzx eax, byte [esi + 0x25]
mov ecx, dword [esi + 0x20]
shl eax, 0x10
or eax, 0x20000001
push eax
push 0x12
push 0x104
push ecx
jmp 0x448b2e
test al, al
je 0x448b30
movzx edx, byte [esi + 0x25]
mov eax, dword [esi + 0x20]
shl edx, 0x10
or edx, 1
push edx
push 0x12
push 0x100
push eax
call ebx
cmp byte [edi + 4], 0
je 0x448bcf
movzx ecx, byte [esi + 0x29]
mov edx, dword [esi + 0x20]
shl ecx, 0x10
or ecx, 1
push ecx
push 0x5b
push 0x100
push edx
call ebx
push esi
call fcn.0043888b
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
cmp byte [edi], 0
je 0x448b78
movzx eax, byte [esi + 0x27]
push 0
push eax
push 0xa0
push esi
call fcn.0043882c
cmp byte [edi + 1], 0
je 0x448b90
movzx ecx, byte [esi + 0x28]
push 0
push ecx
push 0xa1
push esi
call fcn.0043882c
cmp byte [edi + 2], 0
je 0x448ba5
movzx edx, byte [esi + 0x24]
push 0
push edx
push 0x11
push esi
call fcn.0043882c
cmp byte [edi + 3], 0
je 0x448bba
movzx eax, byte [esi + 0x25]
push 0
push eax
push 0x12
push esi
call fcn.0043882c
cmp byte [edi + 4], 0
je 0x448bcf
movzx ecx, byte [esi + 0x29]
push 0
push ecx
push 0x5b
push esi
call fcn.0043882c
push esi
call fcn.0043888b
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x448bde
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x100
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
cmp dword [edi + 0x20], 0
mov dword [esi], 0
mov word [esi + 4], 0
je 0x448c8b
lea eax, [ebp - 0x100]
push eax
call dword [sym.imp.USER32.dll_GetKeyboardState]
test eax, eax
je 0x448c81
mov al, 0x80
cmp byte [ebp - 0x60], al
je 0x448c25
cmp byte [ebp - 0xf0], al
jne 0x448c2e
cmp byte [edi + 0x1a], 0
jne 0x448c2e
mov byte [esi], 1
cmp byte [ebp - 0x5f], al
jne 0x448c3d
cmp byte [edi + 0x1b], 0
jne 0x448c3d
mov byte [esi + 1], 1
cmp byte [ebp - 0xef], al
jne 0x448c4f
cmp byte [edi + 0x1c], 0
jne 0x448c4f
mov byte [esi + 2], 1
cmp byte [ebp - 0xee], al
jne 0x448c61
cmp byte [edi + 0x1d], 0
jne 0x448c61
mov byte [esi + 3], 1
cmp byte [ebp - 0xa5], al
jne 0x448c81
cmp byte [edi + 0x1e], 0
mov eax, esi
jne 0x448d76
pop edi
mov byte [esi + 4], 1
pop esi
mov esp, ebp
pop ebp
ret 8
pop edi
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret 8
push ebx
mov ebx, dword [sym.imp.USER32.dll_GetAsyncKeyState]
push 0xa0
call ebx
mov ecx, 0x8000
test cx, ax
jne 0x448cb8
push 0xa0
call dword [sym.imp.USER32.dll_GetKeyState]
mov edx, 0x8000
test dx, ax
je 0x448cc1
cmp byte [edi + 0x1a], 0
jne 0x448cc1
mov byte [esi], 1
push 0xa1
call ebx
mov ecx, 0x8000
test cx, ax
jne 0x448ce7
push 0xa1
call dword [sym.imp.USER32.dll_GetKeyState]
mov edx, 0x8000
test dx, ax
je 0x448cf1
cmp byte [edi + 0x1b], 0
jne 0x448cf1
mov byte [esi + 1], 1
push 0x11
call ebx
mov ecx, 0x8000
test cx, ax
jne 0x448d11
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
mov edx, 0x8000
test dx, ax
je 0x448d1b
cmp byte [edi + 0x1c], 0
jne 0x448d1b
mov byte [esi + 2], 1
push 0x12
call ebx
mov ecx, 0x8000
test cx, ax
jne 0x448d3b
push 0x12
call dword [sym.imp.USER32.dll_GetKeyState]
mov edx, 0x8000
test dx, ax
je 0x448d45
cmp byte [edi + 0x1d], 0
jne 0x448d45
mov byte [esi + 3], 1
push 0x5b
call ebx
mov ecx, 0x8000
pop ebx
test cx, ax
jne 0x448d6a
push 0x5b
call dword [sym.imp.USER32.dll_GetKeyState]
mov edx, 0x8000
test dx, ax
je 0x448c81
cmp byte [edi + 0x1e], 0
mov eax, esi
jne 0x448d76
mov byte [esi + 4], 1
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8

Function at 0x448ef6
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov eax, dword [esi]
lea ecx, [eax + 4]
push edi
mov edi, dword [eax + edx]
mov dword [esi], ecx
xor ecx, ecx
lea eax, [edi + 1]
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00412999
mov ebx, eax
lea eax, [edi + edi]
push eax
mov eax, dword [esi]
add eax, dword [ebp + 8]
push eax
push ebx
call fcn.004124f0
lea eax, [edi + edi]
add dword [esi], eax
xor ecx, ecx
mov word [eax + ebx], cx
add esp, 0x10
xor eax, eax
test edi, edi
jle 0x448f54
xor word [ebx + eax*2], di
inc eax
cmp eax, edi
jl 0x448f4b
pop edi
pop esi
mov eax, ebx
pop ebx
pop ebp
ret 8
Function at 0x449e78
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
push edi
push esi
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x449e94
mov eax, dword [ebp + 8]
cmp byte [eax + 5], 1
jne 0x449eef
push 0
push 0
push 0xe
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
mov edi, eax
test edi, edi
jne 0x449eac
mov edi, 0x7fff
push ebx
xor ecx, ecx
lea ebx, [edi + 1]
mov eax, ebx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00412999
add esp, 4
mov esi, eax
mov eax, dword [ebp + 0xc]
push esi
push ebx
push 0xd
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
xor ecx, ecx
mov word [esi + edi*2], cx
pop ebx
test eax, eax
jg 0x449efa
push esi
call fcn.00410f86
add esp, 4
pop edi
mov eax, 1
pop esi
pop ebp
ret 8
mov edi, dword [ebp + 8]
cmp byte [edi + 0xc], cl
jne 0x449f13
push esi
call fcn.00412851
add esp, 4
push eax
push esi
call dword [sym.imp.USER32.dll_CharUpperBuffW]
mov eax, dword [edi + 0x24]
push eax
push esi
call fcn.00413606
add esp, 8
push esi
test eax, eax
je 0x449ee7
mov byte [edi + 0xe8], 1
call fcn.00410f86
add esp, 4
pop edi
xor eax, eax
pop esi
pop ebp
ret 8

Function at 0x44a45a
Capabilities:
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
mov eax, dword [esi]
push edi
push 1
push eax
call fcn.0044a0c6
mov ebx, dword [sym.imp.USER32.dll_MapVirtualKeyW]
push 0
push 0x25
call ebx
shl eax, 0x10
or eax, 1
cmp dword [ebp + 0xc], 0
push eax
jge 0x44a4bb
mov ecx, dword [esi]
push 0x25
push 0x100
push ecx
call dword [sym.imp.USER32.dll_PostMessageW]
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
push 0
call edi
push 0
push 0x25
call ebx
mov edx, dword [esi]
shl eax, 0x10
or eax, 0xc0000001
push eax
push 0x25
push 0x101
push edx
jmp 0x44a4ee
mov eax, dword [esi]
push 0x27
push 0x100
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
push 0
call edi
push 0
push 0x25
call ebx
mov ecx, dword [esi]
shl eax, 0x10
or eax, 0xc0000001
push eax
push 0x27
push 0x101
push ecx
call dword [sym.imp.USER32.dll_PostMessageW]
push 0
call edi
mov edx, dword [esi]
push 0
push edx
call fcn.0044a0c6
pop edi
pop esi
mov al, 1
pop ebx
pop ebp
ret 8
Function at 0x44be7d
Capabilities:
Check for unmoving mouse cursor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
push edi
push esi
push 0x4b9720
call fcn.004350fa
mov ecx, dword [0x4b9780]
mov edx, dword [ecx + eax*4]
mov edi, dword [edx]
cmp ebx, esi
jne 0x44befd
cmp dword [edi + 0x1a4], 0
je 0x44bedc
lea eax, [ebp - 8]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov eax, dword [edi + 0x1a4]
push 0
push esi
push ecx
push edx
push 0
push eax
call dword [sym.imp.USER32.dll_TrackPopupMenuEx]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
movzx eax, word [ebp + 0x14]
movzx ecx, word [ebp + 0x10]
shl eax, 0x10
or eax, ecx
push eax
push ebx
push 0x7b
push esi
call dword [sym.imp.USER32.dll_DefDlgProcW]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
push ebx
push 0x4b9720
call fcn.00446021
mov dword [ebp + 0xc], eax
cmp eax, 0xffffffff
je 0x44bedc
mov ecx, dword [0x4b9794]
mov edx, dword [ecx + eax*4]
mov ecx, dword [edx]
mov al, byte [ecx + 0x88]
cmp al, 0xe
je 0x44bedc
cmp al, 0xf
je 0x44bedc
cmp al, 0x13
je 0x44bedc
cmp al, 0x10
je 0x44bedc
cmp dword [ecx + 8], 0
je 0x44bedc
lea eax, [ebp - 8]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
mov ecx, dword [edi]
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 8]
push 0
push ecx
mov ecx, dword [0x4b9794]
push edx
mov edx, dword [ebp + 0xc]
push eax
mov eax, dword [ecx + edx*4]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push 0
push edx
call dword [sym.imp.USER32.dll_TrackPopupMenuEx]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x44d349
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
sub esp, 0xc
push ebx
push esi
push edi
lea eax, [ebp - 8]
push eax
lea ecx, [ebp + 8]
push ecx
push edx
push 0x4b9720
call fcn.00445f9a
test al, al
je case.0x44d3c9.8
mov eax, dword [ebp + 8]
mov ecx, dword [0x4b9780]
mov edx, dword [ecx + eax*4]
mov eax, dword [edx]
mov ecx, dword [ebp - 8]
mov edx, dword [0x4b9794]
mov dword [ebp - 4], eax
mov eax, dword [edx + ecx*4]
mov esi, dword [eax]
mov bl, byte [esi + 0x88]
mov edi, dword [esi]
lea ecx, [ebp + 0xc]
push ecx
mov byte [ebp + 0xb], bl
call fcn.00436d76
mov eax, dword [esi + 0x44]
add esp, 4
test eax, eax
js 0x44d3b3
push eax
call fcn.0044584f
movzx eax, bl
cmp eax, 0x1b
ja case.0x44d3c9.8
movzx edx, byte [eax + 0x44d56d]
mov ebx, dword [ebp + 0xc]
jmp dword [edx*4 + 0x44d549]
mov ebx, dword [ebp + 0xc]
cmp ebx, 0xfffffffe
je case.0x44d3c9.8
cmp ebx, 0xfe000000
jne 0x44d3f4
push 1
push ebx
mov dword [esi + 0x44], ebx
call fcn.004458d7
jmp 0x44d512
push ebx
push 0
push 0x1001
push edi
call dword [sym.imp.USER32.dll_SendMessageW]
push ebx
push 0
push 0x1026
push edi
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [ebp - 4]
push 1
push esi
push eax
call fcn.00435078
jmp 0x44d512
mov eax, dword [ebp + 0xc]
test eax, eax
js case.0x44d3c9.8
push 1
push eax
mov dword [esi + 0x44], eax
call fcn.004458d7
jmp 0x44d512
mov eax, dword [ebp + 0xc]
test eax, eax
js case.0x44d3c9.8
push eax
push 0
push 0x2001
push edi
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x44d512
mov eax, dword [ebp + 0xc]
test eax, eax
js case.0x44d3c9.8
push eax
push 0
push 0x111d
push edi
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x44d512
mov eax, dword [ebp + 0xc]
test eax, eax
js case.0x44d3c9.8
push 1
push eax
mov dword [esi + 0x44], eax
call fcn.004458d7
mov ecx, dword [esi + 0x30]
push 1
push 0
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
jmp 0x44d512
test ebx, ebx
js case.0x44d3c9.8
push 0xfffffffffffffff0
push edi
call dword [sym.imp.USER32.dll_GetWindowLongW]
or eax, 0xb
push eax
push 0xfffffffffffffff0
push edi
call dword [sym.imp.USER32.dll_SetWindowLongW]
push 1
push ebx
mov dword [esi + 0x44], ebx
call fcn.004458d7
mov edx, dword [ebp - 4]
push 1
push esi
push edx
call fcn.00435078
jmp 0x44d512
mov eax, dword [ebp + 0xc]
cmp eax, 0xffffffff
jl case.0x44d3c9.8
push 1
push eax
mov dword [esi + 0x44], eax
call fcn.004458d7
test byte [esi + 0x8a], 0x20
jne 0x44d512
mov eax, dword [esi]
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push eax
call edi
mov ecx, dword [esi]
push 5
push ecx
call edi
mov edx, dword [esi]
push edx
call dword [sym.imp.USER32.dll_SetFocus]
cmp dword [0x4a8604], 0
je 0x44d52d
cmp byte [ebp + 0xb], 8
jne 0x44d52d
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x44de11
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
mov edx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 4]
push ecx
push edx
push 0x4b9720
mov dword [ebp + 0xc], 0
call fcn.00445f9a
test al, al
jne 0x44de43
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebp - 4]
mov ecx, dword [0x4b9780]
mov edx, dword [ecx + eax*4]
mov eax, dword [edx]
mov ecx, dword [0x4b9794]
mov edx, dword [ebp + 8]
mov dword [ebp - 4], eax
mov eax, dword [ecx + edx*4]
push ebx
mov ebx, dword [eax]
push edi
mov edi, dword [ebx]
cmp esi, 0xffffffff
je 0x44dee9
movzx eax, byte [ebx + 0x88]
add eax, 0xfffffffe
cmp eax, 0x14
ja case.0x44de81.4
movzx ecx, byte [eax + 0x44dfad]
jmp dword [ecx*4 + 0x44df91]
pop edi
pop ebx
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 0xc
or esi, 0xe
jmp case.0x44de81.4
or esi, 3
jmp case.0x44de81.4
or esi, 4
push 0
test esi, 0x800
je 0x44deba
push 1
push 0xcf
push edi
call dword [sym.imp.USER32.dll_SendMessageW]
jmp case.0x44de81.4
push 0
push 0xcf
push edi
or esi, 0x10000
call dword [sym.imp.USER32.dll_SendMessageW]
jmp case.0x44de81.4
or esi, 0x4000000
or esi, 0x50000000
push esi
push 0xfffffffffffffff0
push edi
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov dword [ebp + 0xc], eax
mov esi, dword [ebp + 0x10]
cmp esi, 0xffffffff
je 0x44df27
push esi
push 0xffffffffffffffec
push edi
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov edx, dword [0x4b9794]
mov dword [ebp + 0xc], eax
mov eax, dword [ebp + 8]
mov ecx, dword [edx + eax*4]
mov edx, dword [ecx]
cmp byte [edx + 0x88], 0x13
jne 0x44df27
push esi
push 0
push 0x1036
push edi
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [ebp + 0xc], eax
mov al, byte [ebx + 0x8b]
cmp al, 0xff
je 0x44df4a
mov ecx, dword [ebp - 4]
movzx eax, al
cmp eax, dword [ecx + 0x194]
je 0x44df4a
push 0
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x44df56
mov edx, dword [ebp - 4]
push 1
push ebx
push edx
call fcn.00435078
mov al, byte [ebx + 0x88]
cmp al, 2
je 0x44df69
cmp al, 3
je 0x44df69
cmp esi, 0xffffffff
je 0x44df7e
mov eax, dword [ebx]
push 0x27
push 0
push 0
push 0
push 0
push 0
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
xor eax, eax
cmp dword [ebp + 0xc], eax
pop edi
pop ebx
setne al
pop esi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x44ee75
Capabilities:
Connect to http server

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp byte [ebp + 0x10], 0
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
je 0x44ee9e
mov eax, dword [ebp + 0x14]
push eax
push esi
push edi
call fcn.0044ed48
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov ebx, dword [esi + 0x70]
mov ecx, dword [edi + 0x54]
mov eax, dword [esi + 0x30]
mov edx, dword [esi + 0x10]
push 0
push 0
push ebx
push eax
movzx eax, word [esi + 0x78]
mov dword [ebp + 0x10], ecx
mov ecx, dword [esi + 0x20]
push ecx
mov ecx, dword [edi + 4]
push eax
push edx
push ecx
call dword [sym.imp.WININET.dll_InternetConnectW]
mov dword [edi], eax
push 0
test eax, eax
jne 0x44eee5
push 0xdeadbeef
push 0x15
push edi
call fcn.004466d2
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov edx, dword [ebp + 0x10]
mov esi, dword [esi + 0x60]
push edx
push accept
push esi
push eax
call dword [sym.imp.WININET.dll_FtpOpenFileW]
mov esi, eax
mov eax, dword [sym.imp.WININET.dll_InternetCloseHandle]
mov dword [ebp - 8], esi
mov dword [ebp - 4], eax
test esi, esi
jne 0x44ef14
push esi
push 0xdeadbeef
push 0x16
jmp 0x44ef5c
lea edx, [ebp + 0x10]
push edx
push esi
call dword [sym.imp.WININET.dll_FtpGetFileSize]
mov ecx, dword [ebp + 0x10]
mov dword [ebp + 0xc], eax
xor eax, eax
or eax, dword [ebp + 0xc]
xor edx, edx
or ecx, edx
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], ecx
cmp byte [ebp + 0x14], dl
je 0x44ef56
push esi
push edi
call fcn.004468fa
mov bl, al
lea eax, [ebp - 8]
push eax
call fcn.00435a34
mov al, bl
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
push 1
push 0
push 0
push edi
call fcn.004466d2
lea ecx, [ebp - 8]
push ecx
mov bl, al
call fcn.00435a34
pop edi
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret 0x10