joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4488e9
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 0x44891b
cmp byte [edi + 1], 0
jne 0x44891b
cmp byte [edi + 2], 0
jne 0x44891b
cmp byte [edi + 3], 0
jne 0x44891b
cmp byte [edi + 4], 0
je 0x448acd
mov eax, dword [esi + 0x20]
push ebx
test eax, eax
je 0x448a58
push eax
call dword [sym.imp.USER32.dll_GetParent]
test eax, eax
je 0x448a58
lea eax, [ebp - 0x100]
push eax
call dword [sym.imp.USER32.dll_GetKeyboardState]
test eax, eax
je 0x448997
cmp byte [edi], 0
mov al, 0x80
je 0x448957
or byte [ebp - 0xf0], al
or byte [ebp - 0x60], al
cmp byte [edi + 1], 0
je 0x448966
or byte [ebp - 0xf0], al
or byte [ebp - 0x5f], al
cmp byte [edi + 2], 0
je 0x448972
or byte [ebp - 0xef], al
cmp byte [edi + 3], 0
je 0x44897e
or byte [ebp - 0xee], al
cmp byte [edi + 4], 0
je 0x44898a
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 0x4489a8
cmp byte [edi + 1], 0
je 0x4489c0
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 0x4489de
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 0x448a27
cmp byte [edi + 2], 0
jne 0x448a0b
cmp byte [esi + 0x1c], 0
jne 0x448a0b
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 0x448a25
test al, al
je 0x448a27
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 0x448ac6
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.00438655
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
cmp byte [edi], 0
je 0x448a6f
movzx eax, byte [esi + 0x27]
push 0
push eax
push 0xa0
push esi
call fcn.004385f6
cmp byte [edi + 1], 0
je 0x448a87
movzx ecx, byte [esi + 0x28]
push 0
push ecx
push 0xa1
push esi
call fcn.004385f6
cmp byte [edi + 2], 0
je 0x448a9c
movzx edx, byte [esi + 0x24]
push 0
push edx
push 0x11
push esi
call fcn.004385f6
cmp byte [edi + 3], 0
je 0x448ab1
movzx eax, byte [esi + 0x25]
push 0
push eax
push 0x12
push esi
call fcn.004385f6
cmp byte [edi + 4], 0
je 0x448ac6
movzx ecx, byte [esi + 0x29]
push 0
push ecx
push 0x5b
push esi
call fcn.004385f6
push esi
call fcn.00438655
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x448ad5
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 0x448b82
lea eax, [ebp - 0x100]
push eax
call dword [sym.imp.USER32.dll_GetKeyboardState]
test eax, eax
je 0x448b78
mov al, 0x80
cmp byte [ebp - 0x60], al
je 0x448b1c
cmp byte [ebp - 0xf0], al
jne 0x448b25
cmp byte [edi + 0x1a], 0
jne 0x448b25
mov byte [esi], 1
cmp byte [ebp - 0x5f], al
jne 0x448b34
cmp byte [edi + 0x1b], 0
jne 0x448b34
mov byte [esi + 1], 1
cmp byte [ebp - 0xef], al
jne 0x448b46
cmp byte [edi + 0x1c], 0
jne 0x448b46
mov byte [esi + 2], 1
cmp byte [ebp - 0xee], al
jne 0x448b58
cmp byte [edi + 0x1d], 0
jne 0x448b58
mov byte [esi + 3], 1
cmp byte [ebp - 0xa5], al
jne 0x448b78
cmp byte [edi + 0x1e], 0
mov eax, esi
jne 0x448c6d
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 0x448baf
push 0xa0
call dword [sym.imp.USER32.dll_GetKeyState]
mov edx, 0x8000
test dx, ax
je 0x448bb8
cmp byte [edi + 0x1a], 0
jne 0x448bb8
mov byte [esi], 1
push 0xa1
call ebx
mov ecx, 0x8000
test cx, ax
jne 0x448bde
push 0xa1
call dword [sym.imp.USER32.dll_GetKeyState]
mov edx, 0x8000
test dx, ax
je 0x448be8
cmp byte [edi + 0x1b], 0
jne 0x448be8
mov byte [esi + 1], 1
push 0x11
call ebx
mov ecx, 0x8000
test cx, ax
jne 0x448c08
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
mov edx, 0x8000
test dx, ax
je 0x448c12
cmp byte [edi + 0x1c], 0
jne 0x448c12
mov byte [esi + 2], 1
push 0x12
call ebx
mov ecx, 0x8000
test cx, ax
jne 0x448c32
push 0x12
call dword [sym.imp.USER32.dll_GetKeyState]
mov edx, 0x8000
test dx, ax
je 0x448c3c
cmp byte [edi + 0x1d], 0
jne 0x448c3c
mov byte [esi + 3], 1
push 0x5b
call ebx
mov ecx, 0x8000
pop ebx
test cx, ax
jne 0x448c61
push 0x5b
call dword [sym.imp.USER32.dll_GetKeyState]
mov edx, 0x8000
test dx, ax
je 0x448b78
cmp byte [edi + 0x1e], 0
mov eax, esi
jne 0x448c6d
mov byte [esi + 4], 1
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8

Function at 0x448ded
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.00412ac9
mov ebx, eax
lea eax, [edi + edi]
push eax
mov eax, dword [esi]
add eax, dword [ebp + 8]
push eax
push ebx
call fcn.00412620
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 0x448e4b
xor word [ebx + eax*2], di
inc eax
cmp eax, edi
jl 0x448e42
pop edi
pop esi
mov eax, ebx
pop ebx
pop ebp
ret 8
Function at 0x449db2
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 0x449dce
mov eax, dword [ebp + 8]
cmp byte [eax + 5], 1
jne 0x449e29
push 0
push 0
push 0xe
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
mov edi, eax
test edi, edi
jne 0x449de6
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.00412ac9
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 0x449e34
push esi
call fcn.004110b6
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 0x449e4d
push esi
call fcn.00412981
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.00413736
add esp, 8
push esi
test eax, eax
je 0x449e21
mov byte [edi + 0xe8], 1
call fcn.004110b6
add esp, 4
pop edi
xor eax, eax
pop esi
pop ebp
ret 8

Function at 0x44a394
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.00449fe9
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 0x44a3f5
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 0x44a428
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.00449fe9
pop edi
pop esi
mov al, 1
pop ebx
pop ebp
ret 8
Function at 0x44bc06
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 0x4b96a0
call fcn.00434f77
mov ecx, dword [0x4b9700]
mov edx, dword [ecx + eax*4]
mov edi, dword [edx]
cmp ebx, esi
jne 0x44bc86
cmp dword [edi + 0x1a4], 0
je 0x44bc65
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 0x4b96a0
call fcn.00445f5d
mov dword [ebp + 0xc], eax
cmp eax, 0xffffffff
je 0x44bc65
mov ecx, dword [0x4b9714]
mov edx, dword [ecx + eax*4]
mov ecx, dword [edx]
mov al, byte [ecx + 0x88]
cmp al, 0xe
je 0x44bc65
cmp al, 0xf
je 0x44bc65
cmp al, 0x13
je 0x44bc65
cmp al, 0x10
je 0x44bc65
cmp dword [ecx + 8], 0
je 0x44bc65
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 [0x4b9714]
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 0x44d0bc
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 0x4b96a0
call fcn.00445ed6
test al, al
je case.0x44d13c.8
mov eax, dword [ebp + 8]
mov ecx, dword [0x4b9700]
mov edx, dword [ecx + eax*4]
mov eax, dword [edx]
mov ecx, dword [ebp - 8]
mov edx, dword [0x4b9714]
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.00436b17
mov eax, dword [esi + 0x44]
add esp, 4
test eax, eax
js 0x44d126
push eax
call fcn.0044578b
movzx eax, bl
cmp eax, 0x1b
ja case.0x44d13c.8
movzx edx, byte [eax + 0x44d2e0]
mov ebx, dword [ebp + 0xc]
jmp dword [edx*4 + 0x44d2bc]
mov ebx, dword [ebp + 0xc]
cmp ebx, 0xfffffffe
je case.0x44d13c.8
cmp ebx, 0xfe000000
jne 0x44d167
push 1
push ebx
mov dword [esi + 0x44], ebx
call fcn.00445813
jmp 0x44d285
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.00434ef5
jmp 0x44d285
mov eax, dword [ebp + 0xc]
test eax, eax
js case.0x44d13c.8
push 1
push eax
mov dword [esi + 0x44], eax
call fcn.00445813
jmp 0x44d285
mov eax, dword [ebp + 0xc]
test eax, eax
js case.0x44d13c.8
push eax
push 0
push 0x2001
push edi
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x44d285
mov eax, dword [ebp + 0xc]
test eax, eax
js case.0x44d13c.8
push eax
push 0
push 0x111d
push edi
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x44d285
mov eax, dword [ebp + 0xc]
test eax, eax
js case.0x44d13c.8
push 1
push eax
mov dword [esi + 0x44], eax
call fcn.00445813
mov ecx, dword [esi + 0x30]
push 1
push 0
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
jmp 0x44d285
test ebx, ebx
js case.0x44d13c.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.00445813
mov edx, dword [ebp - 4]
push 1
push esi
push edx
call fcn.00434ef5
jmp 0x44d285
mov eax, dword [ebp + 0xc]
cmp eax, 0xffffffff
jl case.0x44d13c.8
push 1
push eax
mov dword [esi + 0x44], eax
call fcn.00445813
test byte [esi + 0x8a], 0x20
jne 0x44d285
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 [0x4a8584], 0
je 0x44d2a0
cmp byte [ebp + 0xb], 8
jne 0x44d2a0
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 0x44db84
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 0x4b96a0
mov dword [ebp + 0xc], 0
call fcn.00445ed6
test al, al
jne 0x44dbb6
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebp - 4]
mov ecx, dword [0x4b9700]
mov edx, dword [ecx + eax*4]
mov eax, dword [edx]
mov ecx, dword [0x4b9714]
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 0x44dc5c
movzx eax, byte [ebx + 0x88]
add eax, 0xfffffffe
cmp eax, 0x14
ja case.0x44dbf4.4
movzx ecx, byte [eax + 0x44dd20]
jmp dword [ecx*4 + 0x44dd04]
pop edi
pop ebx
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 0xc
or esi, 0xe
jmp case.0x44dbf4.4
or esi, 3
jmp case.0x44dbf4.4
or esi, 4
push 0
test esi, 0x800
je 0x44dc2d
push 1
push 0xcf
push edi
call dword [sym.imp.USER32.dll_SendMessageW]
jmp case.0x44dbf4.4
push 0
push 0xcf
push edi
or esi, 0x10000
call dword [sym.imp.USER32.dll_SendMessageW]
jmp case.0x44dbf4.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 0x44dc9a
push esi
push 0xffffffffffffffec
push edi
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov edx, dword [0x4b9714]
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 0x44dc9a
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 0x44dcbd
mov ecx, dword [ebp - 4]
movzx eax, al
cmp eax, dword [ecx + 0x194]
je 0x44dcbd
push 0
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x44dcc9
mov edx, dword [ebp - 4]
push 1
push ebx
push edx
call fcn.00434ef5
mov al, byte [ebx + 0x88]
cmp al, 2
je 0x44dcdc
cmp al, 3
je 0x44dcdc
cmp esi, 0xffffffff
je 0x44dcf1
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 0x44ec3d
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 0x44ec66
mov eax, dword [ebp + 0x14]
push eax
push esi
push edi
call fcn.0044eb10
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 0x44ecad
push 0xdeadbeef
push 0x15
push edi
call fcn.004465f8
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 0x44ecdc
push esi
push 0xdeadbeef
push 0x16
jmp 0x44ed24
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 0x44ed1e
push esi
push edi
call fcn.00446820
mov bl, al
lea eax, [ebp - 8]
push eax
call fcn.00435802
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.004465f8
lea ecx, [ebp - 8]
push ecx
mov bl, al
call fcn.00435802
pop edi
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x44ed40
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 0x44ed62
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 0x44eda3
push 0xdeadbeef
push 0xb
push edi
call fcn.004465f8
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 0x44edef
push ebx
push 0xdeadbeef
push 0xc
push edi
call fcn.004465f8
lea ecx, [ebp - 8]
push ecx
mov bl, al
call fcn.00435802
mov al, bl
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
cmp byte [ebp + 0x10], 0
je 0x44edfd
push esi
push ebx
push edi
call fcn.00446843
test dword [ebp + 0xc], 0x1000
je 0x44ee34
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 0x44eed2
push ebx
call fcn.0043588c
cmp eax, 0xc8
jne 0x44eed2
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.00413405
add esp, 4
cmp byte [ebp + 0x14], 0
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], edx
je 0x44eeb0
push ebx
push edi
call fcn.00446820
mov bl, al
lea eax, [ebp - 8]
push eax
call fcn.00435802
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.004465f8
lea ecx, [ebp - 8]
push ecx
mov bl, al
call fcn.00435802
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.004465f8
lea edx, [ebp - 8]
push edx
mov bl, al
call fcn.00435802
pop edi
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x44f2dc
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.00446f5e
mov ecx, dword [ebp + 0x10]
push ecx
lea edx, [ebp - 0xdc]
push edx
call fcn.00446eb8
xor esi, esi
test edi, edi
je 0x44f324
lea eax, [ebp - 0xdc]
push eax
call fcn.00446f2d
xor byte [esi + ebx], al
inc esi
cmp esi, edi
jb 0x44f310
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc

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

Disassembly:
push ebp
mov ebp, esp
push ecx
dec dword [0x4a30f4]
jne 0x44f602
call fcn.00447110
mov ecx, dword [0x4b85a4]
mov eax, dword [ecx]
add ecx, 4
mov dword [0x4b85a4], 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 0x44f649
fadd qword [0x49d928]
fmul qword [0x49d938]
mov esp, ebp
pop ebp
ret

Function at 0x44f7a1
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x10010
call fcn.00426660
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.00412ac9
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 0x44f8ca
push ebx
cmp dword [ebp - 4], 0
jbe 0x44f8c9
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 0x44f87e
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 0x44f837
fadd qword [0x49d928]
fmul qword [0x49d960]
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.00412ac9
mov edx, dword [esi + 0xc]
push edx
mov dword [esi + 8], eax
mov eax, dword [esi + 8]
push edi
push eax
call fcn.00412620
push edi
call fcn.004110b6
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.00412620
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 0x44f801
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