joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44867d
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 0x4486af
cmp byte [edi + 1], 0
jne 0x4486af
cmp byte [edi + 2], 0
jne 0x4486af
cmp byte [edi + 3], 0
jne 0x4486af
cmp byte [edi + 4], 0
je 0x448861
mov eax, dword [esi + 0x20]
push ebx
test eax, eax
je 0x4487ec
push eax
call dword [sym.imp.USER32.dll_GetParent]
test eax, eax
je 0x4487ec
lea eax, [ebp - 0x100]
push eax
call dword [sym.imp.USER32.dll_GetKeyboardState]
test eax, eax
je 0x44872b
cmp byte [edi], 0
mov al, 0x80
je 0x4486eb
or byte [ebp - 0xf0], al
or byte [ebp - 0x60], al
cmp byte [edi + 1], 0
je 0x4486fa
or byte [ebp - 0xf0], al
or byte [ebp - 0x5f], al
cmp byte [edi + 2], 0
je 0x448706
or byte [ebp - 0xef], al
cmp byte [edi + 3], 0
je 0x448712
or byte [ebp - 0xee], al
cmp byte [edi + 4], 0
je 0x44871e
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 0x44873c
cmp byte [edi + 1], 0
je 0x448754
movzx edx, byte [esi + 0x26]
mov eax, dword [esi + 0x20]
shl edx, 0x10
or edx, 1
push edx
push 0x10
push pe_nt_image_headers32
push eax
call ebx
cmp byte [edi + 2], 0
je 0x448772
movzx ecx, byte [esi + 0x24]
mov edx, dword [esi + 0x20]
shl ecx, 0x10
or ecx, 1
push ecx
push 0x11
push pe_nt_image_headers32
push edx
call ebx
mov al, byte [edi + 3]
test al, al
je 0x4487bb
cmp byte [edi + 2], 0
jne 0x44879f
cmp byte [esi + 0x1c], 0
jne 0x44879f
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 0x4487b9
test al, al
je 0x4487bb
movzx edx, byte [esi + 0x25]
mov eax, dword [esi + 0x20]
shl edx, 0x10
or edx, 1
push edx
push 0x12
push pe_nt_image_headers32
push eax
call ebx
cmp byte [edi + 4], 0
je 0x44885a
movzx ecx, byte [esi + 0x29]
mov edx, dword [esi + 0x20]
shl ecx, 0x10
or ecx, 1
push ecx
push 0x5b
push pe_nt_image_headers32
push edx
call ebx
push esi
call fcn.00438588
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
cmp byte [edi], 0
je 0x448803
movzx eax, byte [esi + 0x27]
push 0
push eax
push 0xa0
push esi
call fcn.00438529
cmp byte [edi + 1], 0
je 0x44881b
movzx ecx, byte [esi + 0x28]
push 0
push ecx
push 0xa1
push esi
call fcn.00438529
cmp byte [edi + 2], 0
je 0x448830
movzx edx, byte [esi + 0x24]
push 0
push edx
push 0x11
push esi
call fcn.00438529
cmp byte [edi + 3], 0
je 0x448845
movzx eax, byte [esi + 0x25]
push 0
push eax
push 0x12
push esi
call fcn.00438529
cmp byte [edi + 4], 0
je 0x44885a
movzx ecx, byte [esi + 0x29]
push 0
push ecx
push 0x5b
push esi
call fcn.00438529
push esi
call fcn.00438588
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x448869
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 0x448916
lea eax, [ebp - 0x100]
push eax
call dword [sym.imp.USER32.dll_GetKeyboardState]
test eax, eax
je 0x44890c
mov al, 0x80
cmp byte [ebp - 0x60], al
je 0x4488b0
cmp byte [ebp - 0xf0], al
jne 0x4488b9
cmp byte [edi + 0x1a], 0
jne 0x4488b9
mov byte [esi], 1
cmp byte [ebp - 0x5f], al
jne 0x4488c8
cmp byte [edi + 0x1b], 0
jne 0x4488c8
mov byte [esi + 1], 1
cmp byte [ebp - 0xef], al
jne 0x4488da
cmp byte [edi + 0x1c], 0
jne 0x4488da
mov byte [esi + 2], 1
cmp byte [ebp - 0xee], al
jne 0x4488ec
cmp byte [edi + 0x1d], 0
jne 0x4488ec
mov byte [esi + 3], 1
cmp byte [ebp - 0xa5], al
jne 0x44890c
cmp byte [edi + 0x1e], 0
mov eax, esi
jne 0x448a01
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 0x448943
push 0xa0
call dword [sym.imp.USER32.dll_GetKeyState]
mov edx, 0x8000
test dx, ax
je 0x44894c
cmp byte [edi + 0x1a], 0
jne 0x44894c
mov byte [esi], 1
push 0xa1
call ebx
mov ecx, 0x8000
test cx, ax
jne 0x448972
push 0xa1
call dword [sym.imp.USER32.dll_GetKeyState]
mov edx, 0x8000
test dx, ax
je 0x44897c
cmp byte [edi + 0x1b], 0
jne 0x44897c
mov byte [esi + 1], 1
push 0x11
call ebx
mov ecx, 0x8000
test cx, ax
jne 0x44899c
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
mov edx, 0x8000
test dx, ax
je 0x4489a6
cmp byte [edi + 0x1c], 0
jne 0x4489a6
mov byte [esi + 2], 1
push 0x12
call ebx
mov ecx, 0x8000
test cx, ax
jne 0x4489c6
push 0x12
call dword [sym.imp.USER32.dll_GetKeyState]
mov edx, 0x8000
test dx, ax
je 0x4489d0
cmp byte [edi + 0x1d], 0
jne 0x4489d0
mov byte [esi + 3], 1
push 0x5b
call ebx
mov ecx, 0x8000
pop ebx
test cx, ax
jne 0x4489f5
push 0x5b
call dword [sym.imp.USER32.dll_GetKeyState]
mov edx, 0x8000
test dx, ax
je 0x44890c
cmp byte [edi + 0x1e], 0
mov eax, esi
jne 0x448a01
mov byte [esi + 4], 1
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8

Function at 0x448b81
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.004128c9
mov ebx, eax
lea eax, [edi + edi]
push eax
mov eax, dword [esi]
add eax, dword [ebp + 8]
push eax
push ebx
call fcn.00412420
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 0x448bdf
xor word [ebx + eax*2], di
inc eax
cmp eax, edi
jl 0x448bd6
pop edi
pop esi
mov eax, ebx
pop ebx
pop ebp
ret 8
Function at 0x449b17
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 0x449b33
mov eax, dword [ebp + 8]
cmp byte [eax + 5], 1
jne 0x449b8e
push 0
push 0
push 0xe
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
mov edi, eax
test edi, edi
jne 0x449b4b
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.004128c9
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 0x449b99
push esi
call fcn.00410eb6
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 0x449bb2
push esi
call fcn.00412781
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.00413527
add esp, 8
push esi
test eax, eax
je 0x449b86
mov byte [edi + 0xe8], 1
call fcn.00410eb6
add esp, 4
pop edi
xor eax, eax
pop esi
pop ebp
ret 8

Function at 0x44a0f9
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.00449d4e
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 0x44a15a
mov ecx, dword [esi]
push 0x25
push pe_nt_image_headers32
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 0x44a18d
mov eax, dword [esi]
push 0x27
push pe_nt_image_headers32
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.00449d4e
pop edi
pop esi
mov al, 1
pop ebx
pop ebp
ret 8
Function at 0x44b985
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 0x4b86a0
call fcn.00434ea7
mov ecx, dword [0x4b8700]
mov edx, dword [ecx + eax*4]
mov edi, dword [edx]
cmp ebx, esi
jne 0x44ba05
cmp dword [edi + 0x1a4], 0
je 0x44b9e4
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 0x4b86a0
call fcn.00445c53
mov dword [ebp + 0xc], eax
cmp eax, 0xffffffff
je 0x44b9e4
mov ecx, dword [0x4b8714]
mov edx, dword [ecx + eax*4]
mov ecx, dword [edx]
mov al, byte [ecx + 0x88]
cmp al, 0xe
je 0x44b9e4
cmp al, 0xf
je 0x44b9e4
cmp al, 0x13
je 0x44b9e4
cmp al, 0x10
je 0x44b9e4
cmp dword [ecx + 8], 0
je 0x44b9e4
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 [0x4b8714]
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 0x44ce70
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 0x4b86a0
call fcn.00445bcc
test al, al
je case.0x44cef0.8
mov eax, dword [ebp + 8]
mov ecx, dword [0x4b8700]
mov edx, dword [ecx + eax*4]
mov eax, dword [edx]
mov ecx, dword [ebp - 8]
mov edx, dword [0x4b8714]
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.00436ab5
mov eax, dword [esi + 0x44]
add esp, 4
test eax, eax
js 0x44ceda
push eax
call fcn.00445481
movzx eax, bl
cmp eax, 0x1b
ja case.0x44cef0.8
movzx edx, byte [eax + 0x44d094]
mov ebx, dword [ebp + 0xc]
jmp dword [edx*4 + 0x44d070]
mov ebx, dword [ebp + 0xc]
cmp ebx, 0xfffffffe
je case.0x44cef0.8
cmp ebx, 0xfe000000
jne 0x44cf1b
push 1
push ebx
mov dword [esi + 0x44], ebx
call fcn.00445509
jmp 0x44d039
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.00434e25
jmp 0x44d039
mov eax, dword [ebp + 0xc]
test eax, eax
js case.0x44cef0.8
push 1
push eax
mov dword [esi + 0x44], eax
call fcn.00445509
jmp 0x44d039
mov eax, dword [ebp + 0xc]
test eax, eax
js case.0x44cef0.8
push eax
push 0
push 0x2001
push edi
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x44d039
mov eax, dword [ebp + 0xc]
test eax, eax
js case.0x44cef0.8
push eax
push 0
push 0x111d
push edi
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x44d039
mov eax, dword [ebp + 0xc]
test eax, eax
js case.0x44cef0.8
push 1
push eax
mov dword [esi + 0x44], eax
call fcn.00445509
mov ecx, dword [esi + 0x30]
push 1
push 0
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
jmp 0x44d039
test ebx, ebx
js case.0x44cef0.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.00445509
mov edx, dword [ebp - 4]
push 1
push esi
push edx
call fcn.00434e25
jmp 0x44d039
mov eax, dword [ebp + 0xc]
cmp eax, 0xffffffff
jl case.0x44cef0.8
push 1
push eax
mov dword [esi + 0x44], eax
call fcn.00445509
test byte [esi + 0x8a], 0x20
jne 0x44d039
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 [0x4a7584], 0
je 0x44d054
cmp byte [ebp + 0xb], 8
jne 0x44d054
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 0x44d938
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 0x4b86a0
mov dword [ebp + 0xc], 0
call fcn.00445bcc
test al, al
jne 0x44d96a
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebp - 4]
mov ecx, dword [0x4b8700]
mov edx, dword [ecx + eax*4]
mov eax, dword [edx]
mov ecx, dword [0x4b8714]
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 0x44da10
movzx eax, byte [ebx + 0x88]
add eax, 0xfffffffe
cmp eax, 0x14
ja case.0x44d9a8.4
movzx ecx, byte [eax + 0x44dad4]
jmp dword [ecx*4 + 0x44dab8]
pop edi
pop ebx
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 0xc
or esi, 0xe
jmp case.0x44d9a8.4
or esi, 3
jmp case.0x44d9a8.4
or esi, 4
push 0
test esi, 0x800
je 0x44d9e1
push 1
push 0xcf
push edi
call dword [sym.imp.USER32.dll_SendMessageW]
jmp case.0x44d9a8.4
push 0
push 0xcf
push edi
or esi, 0x10000
call dword [sym.imp.USER32.dll_SendMessageW]
jmp case.0x44d9a8.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 0x44da4e
push esi
push 0xffffffffffffffec
push edi
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov edx, dword [0x4b8714]
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 0x44da4e
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 0x44da71
mov ecx, dword [ebp - 4]
movzx eax, al
cmp eax, dword [ecx + 0x194]
je 0x44da71
push 0
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x44da7d
mov edx, dword [ebp - 4]
push 1
push ebx
push edx
call fcn.00434e25
mov al, byte [ebx + 0x88]
cmp al, 2
je 0x44da90
cmp al, 3
je 0x44da90
cmp esi, 0xffffffff
je 0x44daa5
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 0x44e99c
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 0x44e9c5
mov eax, dword [ebp + 0x14]
push eax
push esi
push edi
call fcn.0044e86f
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 0x44ea0c
push 0xdeadbeef
push 0x15
push edi
call fcn.00446311
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 0x44ea3b
push esi
push 0xdeadbeef
push 0x16
jmp 0x44ea83
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 0x44ea7d
push esi
push edi
call fcn.00446539
mov bl, al
lea eax, [ebp - 8]
push eax
call fcn.004357a0
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.00446311
lea ecx, [ebp - 8]
push ecx
mov bl, al
call fcn.004357a0
pop edi
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x44ea9f
Capabilities:
Connect to http server
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
push esi
mov esi, dword [ebp + 0xc]
cmp dword [esi + 0x74], 4
push edi
mov edi, dword [ebp + 8]
mov eax, dword [edi + 0x54]
mov dword [ebp + 0xc], eax
jne 0x44eac1
or dword [ebp + 0xc], 0x800000
mov ebx, dword [esi + 0x70]
mov eax, dword [esi + 0x30]
mov ecx, dword [esi + 0x20]
mov edx, dword [esi + 0x10]
push 0
push 0
push ebx
push eax
push ecx
movzx ecx, word [esi + 0x78]
push ecx
push edx
mov edx, dword [edi + 4]
push edx
call dword [sym.imp.WININET.dll_InternetConnectW]
mov dword [edi], eax
push 0
test eax, eax
jne 0x44eb02
push 0xdeadbeef
push 0xb
push edi
call fcn.00446311
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov edx, dword [ebp + 0xc]
mov ecx, dword [esi + 0x60]
push edx
push 0
push 0
push 0
push ecx
push 0
push eax
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
mov ebx, eax
mov eax, dword [sym.imp.WININET.dll_InternetCloseHandle]
mov dword [ebp - 8], ebx
mov dword [ebp - 4], eax
test ebx, ebx
jne 0x44eb4e
push ebx
push 0xdeadbeef
push 0xc
push edi
call fcn.00446311
lea ecx, [ebp - 8]
push ecx
mov bl, al
call fcn.004357a0
mov al, bl
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
cmp byte [ebp + 0x10], 0
je 0x44eb5c
push esi
push ebx
push edi
call fcn.0044655c
test dword [ebp + 0xc], 0x1000
je 0x44eb93
lea edx, [ebp + 0xc]
push edx
lea eax, [ebp + 0x10]
push eax
push 0x1f
push ebx
mov dword [ebp + 0xc], 4
call dword [sym.imp.WININET.dll_InternetQueryOptionW]
or dword [ebp + 0x10], 0x100
push 4
lea ecx, [ebp + 0x10]
push ecx
push 0x1f
push ebx
call dword [sym.imp.WININET.dll_InternetSetOptionW]
push 0
push 0
push 0
push 0
push ebx
call dword [sym.imp.WININET.dll_HttpSendRequestW]
test eax, eax
je 0x44ec31
push ebx
call fcn.0043582a
cmp eax, 0xc8
jne 0x44ec31
lea edx, [ebp + 0x10]
push edx
lea eax, [ebp + 0xc]
push eax
lea ecx, [ebp - 0x28]
push ecx
push 5
push ebx
mov dword [ebp + 0x10], 0
mov dword [ebp + 0xc], 0x20
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
lea edx, [ebp - 0x28]
push edx
call fcn.00413205
add esp, 4
cmp byte [ebp + 0x14], 0
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], edx
je 0x44ec0f
push ebx
push edi
call fcn.00446539
mov bl, al
lea eax, [ebp - 8]
push eax
call fcn.004357a0
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.00446311
lea ecx, [ebp - 8]
push ecx
mov bl, al
call fcn.004357a0
mov al, bl
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
push 0
push 0xdeadbeef
push 0xd
push edi
call fcn.00446311
lea edx, [ebp - 8]
push edx
mov bl, al
call fcn.004357a0
pop edi
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x44f008
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xe0
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, dword [ebp + 0xc]
lea eax, [ebp - 0xdc]
push eax
call fcn.00446d0c
mov ecx, dword [ebp + 0x10]
push ecx
lea edx, [ebp - 0xdc]
push edx
call fcn.00446c66
xor esi, esi
test edi, edi
je 0x44f050
lea eax, [ebp - 0xdc]
push eax
call fcn.00446cdb
xor byte [esi + ebx], al
inc esi
cmp esi, edi
jb 0x44f03c
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc

Function at 0x44f31d
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
push ecx
dec dword [0x4a20f4]
jne 0x44f32e
call fcn.00446ebe
mov ecx, dword [0x4b75a4]
mov eax, dword [ecx]
add ecx, 4
mov dword [0x4b75a4], ecx
mov ecx, eax
shr ecx, 0xb
xor eax, ecx
mov edx, eax
and edx, 0xff3a58ad
shl edx, 7
xor eax, edx
mov ecx, eax
and ecx, 0xffffdf8c
shl ecx, 0xf
xor eax, ecx
mov edx, eax
shr edx, 0x12
xor edx, eax
mov dword [ebp - 4], edx
fild dword [ebp - 4]
jns 0x44f375
fadd qword [0x49c838]
fmul qword [0x49c848]
mov esp, ebp
pop ebp
ret

Function at 0x44f4b7
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x10010
call fcn.00426460
push esi
mov esi, dword [ebp + 8]
push edi
lea edi, [esi + 0x34]
push 0x1f5
push edi
mov dword [ebp - 0x10], edi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
push 0xffff
mov dword [esi + 0x10], 0xffff
call fcn.004128c9
mov edx, dword [esi + 0x2c]
add esp, 4
push 0
mov dword [esi + 8], eax
lea eax, [ebp - 4]
push eax
push 0xffff
lea ecx, [ebp - 0x10010]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x44f5e0
push ebx
cmp dword [ebp - 4], 0
jbe 0x44f5df
lea ebx, [esi + 0x14]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esi + 0xc]
add eax, dword [ebp - 4]
cmp dword [esi + 0x10], eax
jae 0x44f594
mov ecx, dword [esi + 0xc]
add ecx, dword [ebp - 4]
mov edi, dword [esi + 8]
mov dword [ebp + 8], ecx
fild dword [ebp + 8]
jns 0x44f54d
fadd qword [0x49c838]
fmul qword [0x49c870]
fnstcw word [ebp + 0xa]
movzx eax, word [ebp + 0xa]
or eax, 0xc00
mov dword [ebp - 8], eax
fldcw word [ebp - 8]
fistp qword [ebp - 0xc]
mov eax, dword [ebp - 0xc]
push eax
mov dword [esi + 0x10], eax
fldcw word [ebp + 0xa]
call fcn.004128c9
mov edx, dword [esi + 0xc]
push edx
mov dword [esi + 8], eax
mov eax, dword [esi + 8]
push edi
push eax
call fcn.00412420
push edi
call fcn.00410eb6
mov edi, dword [ebp - 0x10]
add esp, 0x14
mov ecx, dword [ebp - 4]
mov eax, dword [esi + 0xc]
add eax, dword [esi + 8]
push ecx
lea edx, [ebp - 0x10010]
push edx
push eax
call fcn.00412420
mov ecx, dword [ebp - 4]
add dword [esi + 0xc], ecx
add esp, 0xc
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [esi + 0x2c]
push 0
lea edx, [ebp - 4]
push edx
push 0xffff
lea eax, [ebp - 0x10010]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x44f517
pop ebx
push 0x1f6
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
pop edi
mov eax, 0x1f6
pop esi
mov esp, ebp
pop ebp
ret 4