joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45d4ac
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x45d4e4]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x45d4c5
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x45d4d4
or bl, 4
test esi, 0x20000000
je 0x45d4df
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x463bcc
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x463bde
add esp, 0xfffffff0
call fcn.00403c84
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0042008c
mov eax, dword [0x4a561c]
mov dword [eax + 4], ebx
mov dword [eax], 0x463f70
mov eax, dword [0x4a562c]
mov dword [eax + 4], ebx
mov dword [eax], 0x463f7c
mov eax, ebx
call fcn.00463f88
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x416d78]
call fcn.00403930
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x416d78]
call fcn.00403930
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x416d78]
call fcn.00403930
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x416d78]
call fcn.00403930
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x416d78]
call fcn.00403930
mov dword [ebx + 0x7c], eax
push 0
call sub.user32.dll_GetDC
mov esi, eax
push 0x5a
push esi
call sub.gdi32.dll_GetDeviceCaps
mov dword [ebx + 0x40], eax
push esi
push 0
call sub.user32.dll_ReleaseDC
mov eax, dword [ebx + 0x58]
push eax
mov eax, 0x4603a4
push eax
push 0
push 0
mov eax, dword [0x4a5898]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x421b20]
call fcn.00423334
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x421b20]
call fcn.00423334
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x421b20]
call fcn.00423334
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.004643f0
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4642cc
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4642cc
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4642cc
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x463d1b
call fcn.00403cdc
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x4640b0
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffda0
push ebx
xor edx, edx
mov dword [ebp - 0x260], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x46425b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x46423c
mov dl, 1
mov eax, dword [0x4173dc]
call fcn.00403930
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00404770
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x46422b
inc eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
call fcn.00451f68
test al, al
je 0x46421e
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x25c], eax
mov byte [ebp - 0x258], 0
lea ecx, [ebp - 0x25c]
mov edx, 0x46426c
lea eax, [ebp - 0x254]
call fcn.00409dec
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x46421e
xor eax, eax
push ebp
push 0x464217
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], pe_nt_image_headers32
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x214]
push eax
push 0
push 0
push 0x4642a4
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x464200
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004049e0
mov edx, dword [ebp - 0x260]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov ebx, dword [eax]
call dword [ebx + 0x3c]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c]
jne 0x464200
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004049e0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46421e
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x464121
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.0041bbb0
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x34]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x464262
lea eax, [ebp - 0x260]
call fcn.00404770
ret

Function at 0x464b90
Capabilities:
Create thread
Set global application hook

Disassembly:
push ecx
mov eax, dword [0x4a6be4]
cmp byte [eax + 0xa5], 0
jne 0x464c01
cmp dword [0x4a6bfc], 0
jne 0x464bc2
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x464b4c
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x4a6bfc], eax
cmp dword [0x4a6bf8], 0
jne 0x464bdd
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x4a6bf8], eax
cmp dword [0x4a6c00], 0
jne 0x464c01
push esp
push 0
push 0
push 0x464af0
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x4a6c00], eax
pop edx
ret
Function at 0x464d38
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x464d4f
add esp, 0xfffffff0
call fcn.00403c84
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0042008c
mov eax, dword [0x4a5870]
cmp word [eax + 2], 0
jne 0x464d77
mov eax, dword [0x4a5870]
mov dword [eax + 4], ebx
mov dword [eax], fcn.004664b8
mov eax, dword [0x4a59bc]
cmp word [eax + 2], 0
jne 0x464d91
mov eax, dword [0x4a59bc]
mov dword [eax + 4], ebx
mov dword [eax], fcn.004666b0
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x416d78]
call fcn.00403930
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x416d78]
call fcn.00403930
mov dword [ebx + 0xa8], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0xff000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0x9d], 1
mov byte [ebx + 0xb4], 1
mov dl, 1
mov eax, dword [0x4226a0]
call fcn.0042a2fc
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x464f18
mov eax, dword [0x4a56e8]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.0042a6cc
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x466c60
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x4a56e8]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_1
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_OemToCharA
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.0040db98
test eax, eax
je 0x464e86
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.004097cc
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040dbc0
test eax, eax
je 0x464e9a
mov byte [eax], 0
lea eax, [ebp - 0x101]
inc eax
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.004049e0
mov eax, dword [0x4a547c]
cmp byte [eax], 0
jne 0x464ece
mov eax, ebx
call fcn.00465040
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0x9e], 1
xor eax, eax
mov dword [ebx + 0xa0], eax
mov eax, ebx
call fcn.00466e3c
mov eax, ebx
call fcn.00467800
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x464f0e
call fcn.00403cdc
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4652c0
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x4a6be4]
cmp dword [eax + 0x30], 0
je 0x46536a
cmp dword [ebx + 0x94], 0
jne 0x465364
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x465250
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x465364
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x46532a
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x465364
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.00419430
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x465339
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x465ecc
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x465f01
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00404860
jmp 0x465f0e
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.004047c4
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x467018
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x467059
mov eax, esi
call fcn.0044d550
test al, al
je 0x467059
mov eax, dword [ebx + 0x84]
call fcn.0044d24c
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x467059
push 0
mov eax, dword [ebx + 0x84]
call fcn.0044d24c
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x468a54
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffde4
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x21c], ecx
mov dword [ebp - 0x218], ecx
mov dword [ebp - 0x214], ecx
mov dword [ebp - 0x210], ecx
mov dword [ebp - 0x20c], ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x468cb4
push dword fs:[eax]
mov dword fs:[eax], esp
cmp ebx, 1
jl 0x468ab7
lea edx, [ebp - 0x20c]
mov eax, dword [ebp - 4]
call fcn.004686fc
mov eax, dword [ebp - 0x20c]
mov edx, ebx
call fcn.0040d6cc
cmp al, 1
jne 0x468ab7
dec ebx
mov dword [ebp - 8], ebx
mov eax, dword [ebp - 4]
call fcn.004689c4
test al, al
je 0x468c43
cmp dword [ebp - 8], 0
jge 0x468ad5
xor eax, eax
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
inc ebx
lea edx, [ebp - 0x210]
mov eax, dword [ebp - 4]
call fcn.004686fc
mov eax, dword [ebp - 0x210]
call fcn.00404a30
cmp ebx, eax
jge 0x468b1f
lea edx, [ebp - 0x214]
mov eax, dword [ebp - 4]
call fcn.004686fc
mov eax, dword [ebp - 0x214]
mov al, byte [eax + ebx - 1]
mov edx, dword [0x4a5c04]
and eax, 0xff
bt dword [edx], eax
jae 0x468b1f
inc ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x228]
cmp eax, dword [ebp - 8]
jg 0x468b33
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
mov ecx, ebx
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.00468a30
cmp ebx, dword [ebp - 8]
je 0x468c35
lea eax, [ebp - 0x108]
push eax
call sub.user32.dll_GetKeyboardState
mov edx, pe_nt_image_headers32
lea eax, [ebp - 0x208]
mov byte [eax], 0
inc eax
dec edx
jne 0x468b5f
mov byte [ebp - 0x1f8], 0x81
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.00403b5c
and eax, 0x7f
movzx eax, word [eax*2 + 0x4a3fd8]
mov byte [ebp + eax - 0x208], 0x81
lea eax, [ebp - 0x208]
push eax
call sub.user32.dll_SetKeyboardState
mov eax, dword [ebp - 4]
mov byte [eax + 0x23c], 1
xor eax, eax
push ebp
push 0x468c22
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.00403b5c
and eax, 0x7f
movzx eax, word [eax*2 + 0x4a3fd8]
push eax
push pe_nt_image_headers32
mov eax, dword [ebp - 4]
call fcn.0044d24c
push eax
call sub.user32.dll_SendMessageA
push 1
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.00403b5c
and eax, 0x7f
movzx eax, word [eax*2 + 0x4a3fd8]
push eax
push 0x101
mov eax, dword [ebp - 4]
call fcn.0044d24c
push eax
call sub.user32.dll_SendMessageA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x468c29
mov eax, dword [ebp - 4]
mov byte [eax + 0x23c], 0
ret
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov dword [eax + 0x230], edx
jmp 0x468c96
cmp dword [ebp - 8], 0
jge 0x468c4e
xor eax, eax
mov dword [ebp - 8], eax
lea edx, [ebp - 0x218]
mov eax, dword [ebp - 4]
call fcn.004686fc
mov eax, dword [ebp - 0x218]
call fcn.00404a30
cmp eax, dword [ebp - 8]
jg 0x468c88
lea edx, [ebp - 0x21c]
mov eax, dword [ebp - 4]
call fcn.004686fc
mov eax, dword [ebp - 0x21c]
call fcn.00404a30
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00468a30
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x468cbb
lea eax, [ebp - 0x21c]
mov edx, 5
call fcn.00404794
ret
Function at 0x4805d8
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x48], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
lea eax, [ebp - 0x10]
mov edx, dword [0x416300]
call fcn.00405208
xor eax, eax
push ebp
push 0x48071c
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4a4ac8], 0
jne 0x48062b
mov ecx, dword [0x4a54ac]
mov dl, 1
mov eax, dword [0x407cf0]
call fcn.0040cd84
call fcn.004040ec
lea eax, [ebp - 0x20]
xor ecx, ecx
mov edx, 0x10
call fcn.0040317c
mov eax, ebx
call fcn.00404fd8
mov dword [ebp - 0x1c], eax
push esi
push edi
mov esi, 0x48072c
lea edi, [ebp - 0x30]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
pop esi
lea eax, [ebp - 0x30]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0xc]
call fcn.004062a0
xor eax, eax
mov dword [ebp - 8], eax
mov eax, ebx
call fcn.00404fe8
test eax, eax
jle 0x4806c3
mov dword [ebp - 4], 0x10
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x40]
push eax
call sub.kernel32.dll_GetComputerNameA
test eax, eax
je 0x4806bc
lea eax, [ebp - 0x44]
mov edx, ebx
call fcn.004049f8
mov eax, dword [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
lea edx, [ebp - 0x40]
mov ecx, 0x10
call fcn.004049e0
mov eax, dword [ebp - 0x48]
pop edx
call fcn.00408b48
test eax, eax
jne 0x4806bc
mov ebx, 0x15
jmp 0x4806c8
mov ebx, 0x10
jmp 0x4806c8
mov ebx, 0x15
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 0x20]
push eax
push ebx
push 0
push esi
call dword [0x4a4ac8]
call fcn.00480530
mov eax, dword [ebp - 8]
call fcn.00480530
mov eax, edi
mov edx, dword [ebp - 0xc]
call fcn.004062b8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x480723
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.00404794
lea eax, [ebp - 0x10]
mov edx, dword [0x416300]
call fcn.004052d8
ret
Function at 0x48df64
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
mov ecx, 8
push 0
push 0
dec ecx
jne 0x48df6c
push ecx
push ebx
push esi
push edi
mov ebx, eax
xor eax, eax
push ebp
push 0x48e15e
push dword fs:[eax]
mov dword fs:[eax], esp
mov esi, dword [ebx + 8]
lea ecx, [ebp - 0xc]
mov edx, 0x48e174
mov eax, esi
call fcn.0048bdf0
mov edx, dword [ebp - 0xc]
lea eax, [ebx + 0xc]
call fcn.004047c4
lea ecx, [ebp - 0x10]
mov edx, 0x48e188
mov eax, esi
call fcn.0048bdf0
mov edx, dword [ebp - 0x10]
lea eax, [ebx + 0x28]
call fcn.004047c4
lea ecx, [ebp - 0x14]
mov edx, 0x48e1a0
mov eax, esi
call fcn.0048bdf0
mov edx, dword [ebp - 0x14]
lea eax, [ebx + 0x10]
call fcn.004047c4
lea ecx, [ebp - 0x18]
mov edx, 0x48e1bc
mov eax, esi
call fcn.0048bdf0
mov edx, dword [ebp - 0x18]
lea eax, [ebx + 0x14]
call fcn.004047c4
lea ecx, [ebp - 0x1c]
mov edx, 0x48e1d8
mov eax, esi
call fcn.0048bdf0
mov edx, dword [ebp - 0x1c]
lea eax, [ebx + 0x24]
call fcn.004047c4
lea ecx, [ebp - 0x24]
mov edx, 0x48e1f0
mov eax, esi
call fcn.0048bdf0
mov eax, dword [ebp - 0x24]
lea edx, [ebp - 0x20]
call fcn.00408bb8
mov eax, dword [ebp - 0x20]
or edx, 0xffffffff
call fcn.00409100
mov edi, eax
mov dword [ebx + 0x18], edi
test edi, edi
setge al
mov byte [ebx + 0x4c], al
lea ecx, [ebp - 0x28]
mov edx, 0x48e208
mov eax, esi
call fcn.0048bdf0
mov eax, dword [ebp - 0x28]
call fcn.0047f014
fstp qword [ebx + 0x30]
wait
lea ecx, [ebp - 0x2c]
mov edx, 0x48e218
mov eax, esi
call fcn.0048bdf0
mov eax, dword [ebp - 0x2c]
call fcn.0047f014
fstp qword [ebx + 0x40]
wait
lea ecx, [ebp - 0x30]
mov edx, 0x48e230
mov eax, esi
call fcn.0048bdf0
mov eax, dword [ebp - 0x30]
or edx, 0xffffffff
call fcn.00409100
inc eax
je 0x48e101
lea ecx, [ebp - 0x34]
mov edx, 0x48e230
mov eax, esi
call fcn.0048bdf0
mov eax, dword [ebp - 0x34]
call fcn.004090c4
mov edi, eax
mov eax, edi
mov ecx, 0xe10
cdq
idiv ecx
mov dword [ebp - 8], eax
mov eax, edi
mov ecx, 0xe10
cdq
idiv ecx
mov ecx, edx
mov eax, ecx
push ecx
mov ecx, 0x3c
cdq
idiv ecx
pop ecx
mov dword [ebp - 4], eax
mov eax, ecx
mov ecx, 0x3c
cdq
idiv ecx
mov edi, edx
push 0
mov ecx, edi
mov dx, word [ebp - 4]
mov ax, word [ebp - 8]
call fcn.0040ab38
fstp qword [ebp - 0x3c]
wait
call fcn.0040ae9c
fadd qword [ebp - 0x3c]
fstp qword [ebx + 0x38]
wait
jmp 0x48e11c
lea ecx, [ebp - 0x40]
mov edx, 0x48e230
mov eax, esi
call fcn.0048bdf0
mov eax, dword [ebp - 0x40]
call fcn.0047f014
fstp qword [ebx + 0x38]
wait
lea ecx, [ebp - 0x44]
mov edx, 0x48e240
mov eax, esi
call fcn.0048bdf0
mov edx, dword [ebp - 0x44]
lea eax, [ebx + 0x48]
call fcn.004047c4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48e165
lea eax, [ebp - 0x44]
mov edx, 2
call fcn.00404794
lea eax, [ebp - 0x34]
mov edx, 0xb
call fcn.00404794
ret
Function at 0x494f10
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
xor edx, edx
push ebp
push 0x494f6a
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [eax + 0x30]
call fcn.00494f00
mov ebx, eax
lea edx, [ebp - 4]
mov eax, edi
call fcn.0047db7c
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0xc]
call fcn.0047d77c
mov edx, dword [esi + 8]
mov eax, dword [ebx + 0x10]
mov ecx, dword [eax]
call dword [ecx + 8]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x494f71
lea eax, [ebp - 4]
call fcn.00404770
ret

Function at 0x49c66c
Capabilities:
Create http request

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
test dl, dl
je 0x49c67f
add esp, 0xfffffff0
call fcn.00403c84
mov ebx, edx
mov edi, eax
xor edx, edx
mov eax, edi
call fcn.00403930
push 0
push 0
push 0
push 1
push 0x49c7ac
call sub.wininet.dll_InternetOpenA
mov dword [edi + 0x18], eax
mov dword [ebp - 4], 0xa
push 4
lea eax, [ebp - 4]
push eax
push 0x49
push 0
call sub.wininet.dll_InternetSetOptionA
push 4
lea eax, [ebp - 4]
push eax
push 0x4a
push 0
call sub.wininet.dll_InternetSetOptionA
mov dl, 1
mov eax, dword [0x49c09c]
call fcn.00403930
mov esi, eax
mov dword [edi + 4], esi
lea eax, [esi + 4]
mov edx, 0x49c7b8
call fcn.004047c4
mov eax, dword [edi + 4]
add eax, 0xc
mov edx, 0x49c7c4
call fcn.004047c4
mov eax, dword [edi + 4]
add eax, 0x24
mov edx, 0x49c7d4
call fcn.004047c4
mov eax, dword [edi + 4]
add eax, 0x20
mov edx, 0x49c800
call fcn.004047c4
mov eax, dword [edi + 4]
add eax, 0x28
call fcn.00404770
mov eax, dword [edi + 4]
xor edx, edx
mov dword [eax + 0x2c], edx
call fcn.00402b4c
mov eax, 0xc
call fcn.0040319c
mov edx, dword [eax*4 + 0x4a4d7c]
mov eax, dword [edi + 4]
add eax, 0x18
call fcn.004047c4
mov esi, dword [edi + 4]
xor eax, eax
mov dword [esi + 0x2c], eax
lea eax, [esi + 0x30]
call fcn.00404770
mov eax, dword [edi + 4]
add eax, 0x34
call fcn.00404770
mov eax, dword [edi + 4]
add eax, 0x1c
call fcn.00404770
mov dl, 1
mov eax, dword [0x49c15c]
call fcn.00403930
mov dword [edi + 8], eax
mov byte [edi + 0xc], 1
mov dword [edi + 0x10], 0x4e20
xor eax, eax
mov dword [edi + 0x14], eax
mov eax, edi
test bl, bl
je 0x49c7a2
call fcn.00403cdc
pop dword fs:[0]
add esp, 0xc
mov eax, edi
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x49c858
Capabilities:
Connect to http server
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.00404c20
xor eax, eax
push ebp
push 0x49c9dd
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 9], 0
mov eax, dword [ebx + 4]
xor edx, edx
mov dword [eax + 0x38], edx
mov eax, dword [ebp - 8]
call fcn.00404770
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x10]
mov edx, dword [ebp - 4]
mov eax, ebx
call fcn.0049ca20
mov esi, 0x8400c000
mov eax, dword [ebp - 0x10]
mov edx, 0x49c9f8
call fcn.00404b7c
jne 0x49c8dd
or esi, 0x800000
or esi, 0x1000
or esi, 0x2000
cmp byte [ebx + 0xc], 0
jne 0x49c8e9
or esi, 0x200000
push 0
push 0
push 3
push 0x49ca00
push 0x49ca00
mov ax, word [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0x14]
call fcn.00404c30
push eax
mov eax, dword [ebx + 0x18]
push eax
call sub.wininet.dll_InternetConnectA
mov edi, eax
push 0
push esi
push 0
push 0x49ca00
push 0x49ca04
mov eax, dword [ebp - 0x18]
call fcn.00404c30
push eax
push 0x49ca10
push edi
call sub.wininet.dll_HttpOpenRequestA
mov esi, eax
push 4
lea eax, [ebx + 0x10]
push eax
push 2
push esi
call sub.wininet.dll_InternetSetOptionA
push 4
lea eax, [ebx + 0x10]
push eax
push 5
push esi
call sub.wininet.dll_InternetSetOptionA
push 4
lea eax, [ebx + 0x10]
push eax
push 6
push esi
call sub.wininet.dll_InternetSetOptionA
mov eax, dword [ebx + 4]
xor edx, edx
mov dword [eax + 0x2c], edx
mov ecx, 0x49ca1c
mov edx, esi
mov eax, ebx
call fcn.0049cbc8
xor eax, eax
mov dword [ebx + 0x14], eax
push 0
push 0
push 0
push 0x49ca00
push esi
call sub.wininet.dll_HttpSendRequestA
test eax, eax
jne 0x49c99b
call sub.kernel32.dll_GetLastError_1
mov dword [ebx + 0x14], eax
jmp 0x49c9ba
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp + 8]
mov edx, esi
mov eax, ebx
call fcn.0049d14c
mov byte [ebp - 9], al
push esi
call sub.wininet.dll_InternetCloseHandle
push edi
call sub.wininet.dll_InternetCloseHandle
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49c9e4
lea eax, [ebp - 0x18]
mov edx, 3
call fcn.00404794
lea eax, [ebp - 4]
call fcn.00404770
ret