joyce8/EMBER2024-capa huggingface dataset:
Function at 0x473868
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffc60
push ebx
xor edx, edx
mov dword [ebp - 0x3a0], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x473a15
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x4739f6
mov dl, 1
mov eax, dword [0x41f298]
call fcn.004247b4
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
xor edx, edx
call fcn.00405f60
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x4739e5
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.0046356c
test al, al
je 0x4739d8
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x39c], eax
mov byte [ebp - 0x398], 0
lea ecx, [ebp - 0x39c]
mov edx, 0x473a24
lea eax, [ebp - 0x394]
call fcn.0040d714
push eax
push reloc.MLoad.dll_Ordinal_2
call sub.advapi32.dll_RegOpenKeyExW_1
test eax, eax
jne 0x4739d8
xor eax, eax
push ebp
push 0x4739d1
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0x200
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x314]
push eax
push 0
push 0
push 0x473a94
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW_1
test eax, eax
jne 0x4739ba
lea eax, [ebp - 0x3a0]
lea edx, [ebp - 0x314]
mov ecx, pe_nt_image_headers32
call fcn.00406148
mov edx, dword [ebp - 0x3a0]
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 0x4739ba
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x314]
mov ecx, pe_nt_image_headers32
call fcn.00406148
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4739d8
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x4738db
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x29], 0
mov dl, 1
call fcn.004245a0
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 0x473a1c
lea eax, [ebp - 0x3a0]
call fcn.00405f50
ret

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

Disassembly:
push ecx
mov eax, dword [0x4fc1c0]
cmp byte [eax + 0xa9], 0
jne 0x474476
cmp dword [0x4fc1d8], 0
jne 0x474436
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, dword [0x4f3c00]
push eax
push 3
call sub.user32.dll_SetWindowsHookExW
mov dword [0x4fc1d8], eax
cmp dword [0x4fc1d4], 0
jne 0x474451
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventW
mov dword [0x4fc1d4], eax
cmp dword [0x4fc1dc], 0
jne 0x474476
push esp
push 0
push 0
mov eax, dword [0x4f3bfc]
push eax
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x4fc1dc], eax
pop edx
ret
Function at 0x47468c
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdfc
push ebx
push esi
test dl, dl
je 0x4746a3
add esp, 0xfffffff0
call fcn.004046dc
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00429564
mov eax, dword [0x4f6054]
cmp byte [eax], 0
jne 0x4746d0
push 0
call sub.ole32.dll_OleInitialize
test eax, 0x80000000
sete al
mov byte [ebx + 0x17c], al
mov eax, dword [0x4f64e4]
cmp word [eax + 2], 0
jne 0x4746ea
mov eax, dword [0x4f64e4]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0047630c
mov eax, dword [0x4f667c]
cmp word [eax + 2], 0
jne 0x474704
mov eax, dword [0x4f667c]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0047651c
mov byte [ebx + 0x31], 0
mov dl, 1
mov eax, dword [0x42fbcc]
call fcn.00431a54
mov esi, eax
mov dword [ebx + 0x38], esi
mov dword [esi + 0xc], ebx
mov dword [esi + 8], 0x4769b0
mov dl, 1
mov eax, dword [0x41ebb4]
call fcn.0040425c
mov dword [ebx + 0x8c], eax
mov dl, 1
mov eax, dword [0x41ebb4]
call fcn.0040425c
mov dword [ebx + 0xac], eax
xor eax, eax
mov dword [ebx + 0x5c], eax
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x58], 0xff000018
mov dword [ebx + 0x74], 0x1f4
mov byte [ebx + 0x78], 1
xor eax, eax
mov dword [ebx + 0x7c], eax
mov dword [ebx + 0x70], 0x9c4
mov byte [ebx + 0x84], 0
mov byte [ebx + 0xa1], 1
mov byte [ebx + 0xb8], 1
mov dl, 1
mov eax, dword [0x43082c]
call fcn.00439524
mov esi, eax
mov dword [ebx + 0x9c], esi
push 0x4748e0
mov eax, dword [0x4f6304]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconW
mov edx, eax
mov eax, esi
call fcn.00439928
mov eax, dword [ebx + 0x9c]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x476c60
mov dl, 1
mov eax, dword [0x41ebb4]
call fcn.0040425c
mov dword [ebx + 0x94], eax
push pe_nt_image_headers32
lea eax, [ebp - 0x202]
push eax
mov eax, dword [0x4f6304]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameW_1
lea eax, [ebp - 0x202]
mov dx, 0x5c
call fcn.0040d508
test eax, eax
je 0x474812
lea edx, [eax + 2]
lea eax, [ebp - 0x202]
call fcn.0040d2b4
lea eax, [ebp - 0x202]
mov dx, 0x2e
call fcn.0040d4f0
test eax, eax
je 0x47482a
mov word [eax], 0
lea eax, [ebp - 0x202]
push eax
call sub.user32.dll_CharNextW_1
push eax
call sub.user32.dll_CharLowerW
lea eax, [ebx + 0x88]
lea edx, [ebp - 0x202]
mov ecx, pe_nt_image_headers32
call fcn.00406148
push ebx
push 0x475f90
call fcn.0046aec8
mov dword [ebx + 0x178], eax
mov byte [ebx + 0xcc], 0
mov eax, dword [0x4f6054]
cmp byte [eax], 0
jne 0x47487b
mov eax, ebx
call fcn.00474a54
mov byte [ebx + 0x55], 1
mov byte [ebx + 0x56], 1
mov byte [ebx + 0x57], 1
mov byte [ebx + 0xa2], 1
mov byte [ebx + 0xcd], 0
mov byte [ebx + 0xd8], 0
xor eax, eax
mov dword [ebx + 0xd0], eax
mov byte [ebx + 0xcf], 0
xor eax, eax
mov dword [ebx + 0xa4], eax
mov eax, ebx
call fcn.00476e88
mov eax, ebx
call fcn.00477a4c
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x4748d8
call fcn.00404734
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x474cfc
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [ebx + 0x170]
test eax, eax
je 0x474d9e
cmp dword [ebx + 0x90], 0
jne 0x474d98
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x474c74
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x8c]
cmp dword [eax + 8], 0
je 0x474d98
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_GetWindowLongW
test al, 8
je 0x474d5e
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x8c]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x474d98
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x8c]
call fcn.004214d8
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x474d6d
inc dword [ebx + 0x90]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x474fbc
Capabilities:
Enumerate gui resources
Hide graphical window

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, dword [0x4fc1c0]
cmp dword [eax + 0x170], 0
je 0x475121
test bl, bl
jne 0x47506f
cmp dword [esi + 0x98], 0
jne 0x475064
mov eax, esi
call fcn.0047789c
push eax
push 0x474ec8
call sub.user32.dll_EnumWindows
cmp dword [esi + 0x40], 0
je 0x475035
mov eax, dword [0x4fc1c0]
cmp byte [eax + 0xcf], 0
je 0x475035
mov eax, dword [esi + 0xd4]
call fcn.004075d0
mov edi, eax
cmp edi, 0
jl 0x475035
push 0
mov eax, dword [esi + 0xd4]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x47501e
mov eax, dword [esi + 0x94]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x475064
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x94]
call fcn.004214d8
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x475044
inc dword [esi + 0x98]
jmp 0x475121
cmp dword [esi + 0x98], 0
jle 0x475121
dec dword [esi + 0x98]
cmp dword [esi + 0x98], 0
jne 0x475121
cmp dword [esi + 0x40], 0
je 0x4750cc
mov eax, dword [0x4fc1c0]
cmp byte [eax + 0xcf], 0
je 0x4750cc
mov eax, dword [esi + 0xd4]
call fcn.004075d0
mov edi, eax
cmp edi, 0
jl 0x4750cc
push 5
mov eax, dword [esi + 0xd4]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x4750b5
mov eax, dword [esi + 0x94]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x4750fb
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x94]
call fcn.004214d8
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x4750db
mov eax, dword [esi + 0x94]
mov edx, dword [eax]
call dword [edx + 8]
push 0
lea eax, [esi + 0xd4]
mov ecx, 1
mov edx, dword [0x46a8d4]
call fcn.00407790
add esp, 4
pop edi
pop esi
pop ebx
ret
Function at 0x475cdc
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xfffffdfc
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa8], 0
je 0x475d47
cmp byte [ebx + 0xcf], 0
jne 0x475d47
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x170]
push eax
call sub.user32.dll_GetWindowTextW
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.0040609c
mov eax, dword [esi]
mov dword [esp + 0x200], eax
mov eax, dword [esp + 0x200]
test eax, eax
je 0x475d34
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x475d54
mov eax, esi
mov edx, dword [ebx + 0x88]
call fcn.00405f60
jmp 0x475d54
mov eax, esi
mov edx, dword [ebx + 0x88]
call fcn.00405f60
add esp, 0x204
pop esi
pop ebx
ret

Function at 0x47705c
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x80]
test esi, esi
je 0x4770ca
mov eax, esi
call fcn.0045dedc
test al, al
je 0x4770ca
mov eax, dword [ebx + 0x80]
call fcn.0045db5c
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4770ca
mov eax, dword [ebx + 0x80]
mov edx, dword [eax]
call dword [edx + 0xec]
test al, al
je 0x4770be
push 0
mov eax, dword [ebx + 0x80]
call fcn.0045db5c
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x80]
call fcn.00455144
jmp 0x4770ca
mov cl, 1
mov edx, dword [ebx + 0x70]
mov eax, ebx
call fcn.00476ea8
pop esi
pop ebx
ret
Function at 0x47832c
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa4
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0x18], ecx
mov esi, edx
mov ebx, eax
lea eax, [ebp - 0x14]
mov edx, dword [0x415ba8]
call fcn.00406900
xor eax, eax
push ebp
push 0x4784ed
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4f3c40], 0
jne 0x478380
mov ecx, dword [0x4f607c]
mov dl, 1
mov eax, dword [0x40a3d4]
call fcn.00412044
call fcn.00404c80
lea eax, [ebp - 0x2c]
xor ecx, ecx
mov edx, 0x10
call fcn.00403a48
mov eax, ebx
call fcn.00405ccc
mov dword [ebp - 0x28], eax
push esi
mov esi, 0x4784fc
lea edi, [ebp - 0x3c]
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 esi
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x10]
call fcn.00407f78
xor eax, eax
mov dword [ebp - 0xc], eax
mov eax, ebx
test eax, eax
je 0x4783c7
sub eax, 4
mov eax, dword [eax]
shr eax, 1
test eax, eax
jle 0x478493
mov dword [ebp - 0x1c], 0x20
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x5c]
push eax
call sub.kernel32.dll_GetComputerNameW
test eax, eax
je 0x47847f
lea eax, [ebp - 4]
lea edx, [ebp - 0x5c]
mov ecx, 0x10
call fcn.00406148
lea eax, [ebp - 8]
mov edx, ebx
call fcn.004061b0
mov eax, dword [ebp - 4]
test eax, eax
je 0x478422
mov edx, eax
sub edx, 0xa
cmp word [edx], 2
je 0x478422
lea eax, [ebp - 4]
mov edx, dword [ebp - 4]
call fcn.004056d0
mov ebx, eax
test ebx, ebx
je 0x47842d
sub ebx, 4
mov ebx, dword [ebx]
mov eax, dword [ebp - 8]
test eax, eax
je 0x47844a
mov edx, eax
sub edx, 0xa
cmp word [edx], 2
je 0x47844a
lea eax, [ebp - 8]
mov edx, dword [ebp - 8]
call fcn.004056d0
mov edi, eax
test edi, edi
je 0x478455
sub edi, 4
mov edi, dword [edi]
push edi
mov eax, dword [ebp - 8]
call fcn.00405fec
push eax
push ebx
mov eax, dword [ebp - 4]
call fcn.00405fec
push eax
push 1
push 0x400
call sub.kernel32.dll_CompareStringW_1
sub eax, 2
test eax, eax
sete al
jmp 0x478481
xor eax, eax
test al, al
je 0x47848c
mov ebx, 0x15
jmp 0x478498
mov ebx, 0x10
jmp 0x478498
mov ebx, 0x15
lea eax, [ebp - 0x14]
push eax
push 1
lea eax, [ebp - 0x2c]
push eax
push ebx
push 0
push esi
call dword [0x4f3c40]
call fcn.00478198
mov eax, dword [ebp - 0xc]
call fcn.00478198
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x10]
call fcn.00407f90
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4784f4
lea eax, [ebp - 0x14]
mov edx, dword [0x415ba8]
call fcn.004069d8
lea eax, [ebp - 8]
mov edx, 2
call fcn.00405f58
ret
Function at 0x47be9c
Capabilities:
Hide graphical window

Disassembly:
push ebx
add esp, 0xfffffff0
mov ebx, eax
mov eax, ebx
call fcn.0047b8d4
test byte [ebx + 0x295], 4
jne 0x47bf31
mov edx, esp
mov eax, ebx
call fcn.00454ac0
push esp
mov eax, ebx
call fcn.0045d94c
push eax
push 0
mov eax, ebx
test eax, eax
je 0x47bed1
sub eax, 0xfffffd24
push eax
push 0
push 0xfffffffffffffffb
mov eax, dword [ebx + 0x270]
push eax
mov eax, dword [eax]
call dword [eax + 0x2c]
cmp dword [ebx + 0x284], 0
jne 0x47bf02
mov ecx, dword [0x4f641c]
mov dl, 1
mov eax, dword [0x477de4]
call fcn.00412044
call fcn.00404c80
mov eax, ebx
call fcn.0047c484
cmp byte [ebx + 0x57], 0
jne 0x47bf38
mov eax, ebx
call fcn.0045db5c
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x47bf38
push 0
mov eax, ebx
call fcn.0045db5c
push eax
call sub.user32.dll_ShowWindow
jmp 0x47bf38
mov eax, ebx
call fcn.00459a90
add esp, 0x10
pop ebx
ret

Function at 0x480e24
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 8], edx
mov esi, eax
xor eax, eax
push ebp
push 0x480e8b
push dword fs:[eax]
mov dword fs:[eax], esp
push esi
call sub.user32.dll_GetWindowTextLengthW
mov ebx, eax
lea edi, [ebx + 1]
mov edx, edi
lea eax, [ebp - 4]
call fcn.00406204
push edi
mov eax, dword [ebp - 4]
call fcn.00405fec
push eax
push esi
call sub.user32.dll_GetWindowTextW
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 4]
call fcn.00405f60
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x480e92
lea eax, [ebp - 4]
call fcn.00405f50
ret

Function at 0x48588c
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov ebx, eax
push 0x40
push 0x1000
push pe_nt_image_headers32
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x485916
xor edx, edx
push ebp
push 0x4858f7
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 4]
mov dword [eax], 0x448b5050
mov dword [eax + 4], 0x44890824
mov dword [eax + 8], 0x58b0424
lea edx, [ebx + 4]
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], 0x8244489
mov dword [eax + 0x14], 0x25ff9058
mov dword [eax + 0x18], ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x485916
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x48989c
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x4898ca
mov eax, ebx
call fcn.0048a350
cmp dword [ebx + 0x40], 0
je 0x4898c3
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x48993b
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x48992d
cmp dword [ebx + 8], 0
je 0x4898ec
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x4898fe
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x48992d
cmp dword [ebx + 8], 0
je 0x4898df
cmp eax, 3
je 0x489911
dec eax
jne 0x4898df
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x4898df
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x4898df
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x489959
cmp dword [ebx + 0x14], 0xcc
je 0x489959
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.00489964
pop ebx
ret

Function at 0x49a534
Capabilities:
Create http request

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb4
push ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00405f48
mov eax, dword [ebp - 8]
call fcn.00405f48
mov eax, dword [ebp - 0xc]
call fcn.00405f48
xor eax, eax
push ebp
push 0x49a663
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0xd], 0
mov ebx, 0x14
mov dword [ebp - 0x28], 0x14
xor eax, eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], 3
mov dword [ebp - 0x4c], 1
mov dword [ebp - 0x48], 2
mov dword [ebp - 0x40], 2
mov eax, dword [ebp - 8]
call fcn.00405fec
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x34], 3
mov eax, dword [ebp - 0xc]
call fcn.00405fec
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0xc]
call fcn.00445c74
lea eax, [ebp - 0x4c]
mov dword [ebp - 0x18], eax
push 0
push 0
push 0
push 1
mov eax, dword [ebp - 4]
call fcn.00405fec
push eax
call sub.wininet.dll_InternetOpenW
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x49a648
xor eax, eax
push ebp
push 0x49a641
push dword fs:[eax]
mov dword fs:[eax], esp
push ebx
lea eax, [ebp - 0x28]
push eax
push 0x4b
push 0
call sub.wininet.dll_InternetSetOptionW
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 0xd], al
cmp byte [ebp - 0xd], 0
je 0x49a621
push 0
push 0
push 0x25
push 0
call sub.wininet.dll_InternetSetOptionW
test eax, eax
jne 0x49a625
xor eax, eax
jmp 0x49a627
mov al, 1
mov byte [ebp - 0xd], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49a648
mov eax, dword [ebp - 0x14]
push eax
call sub.wininet.dll_InternetCloseHandle
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49a66a
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00405f58
ret
Function at 0x49a674
Capabilities:
Connect to http server
Create http request

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb4
push ebx
push esi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00405f48
mov eax, dword [ebp - 8]
call fcn.00405f48
mov eax, dword [ebp - 0xc]
call fcn.00405f48
mov eax, dword [ebp + 0xc]
call fcn.00405f48
xor eax, eax
push ebp
push 0x49a7de
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0xd], 0
mov ebx, 0x14
mov dword [ebp - 0x28], 0x14
xor eax, eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], 3
mov dword [ebp - 0x4c], 1
mov dword [ebp - 0x48], 3
mov dword [ebp - 0x40], 2
mov eax, dword [ebp - 8]
call fcn.00405fec
mov esi, eax
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x34], 3
mov eax, 0x49a7f4
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x4c]
mov dword [ebp - 0x18], eax
push 0
push 0
push 0
push 1
mov eax, dword [ebp - 4]
call fcn.00405fec
push eax
call sub.wininet.dll_InternetOpenW
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x49a7bb
xor edx, edx
push ebp
push 0x49a7b4
push dword fs:[edx]
mov dword fs:[edx], esp
push 0
push 0
push 3
mov eax, dword [ebp + 0xc]
call fcn.00405fec
push eax
mov eax, dword [ebp - 0xc]
call fcn.00405fec
push eax
movzx eax, word [ebp + 8]
push eax
push esi
mov eax, dword [ebp - 0x14]
push eax
call sub.wininet.dll_InternetConnectW
test eax, eax
je 0x49a79d
push ebx
lea eax, [ebp - 0x28]
push eax
push 0x4b
mov eax, dword [ebp - 0x14]
push eax
call sub.wininet.dll_InternetSetOptionW
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 0xd], al
cmp byte [ebp - 0xd], 0
je 0x49a794
push 0
push 0
push 0x25
mov eax, dword [ebp - 0x14]
push eax
call sub.wininet.dll_InternetSetOptionW
test eax, eax
jne 0x49a798
xor eax, eax
jmp 0x49a79a
mov al, 1
mov byte [ebp - 0xd], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49a7bb
mov eax, dword [ebp - 0x14]
push eax
call sub.wininet.dll_InternetCloseHandle
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49a7e5
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00405f58
lea eax, [ebp + 0xc]
call fcn.00405f50
ret
Function at 0x49a804
Capabilities:
Create http request

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc0
push ebx
mov byte [ebp - 1], 0
mov ebx, 0x14
mov dword [ebp - 0x1c], 0x14
xor eax, eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 3
mov dword [ebp - 0x40], 1
mov dword [ebp - 0x3c], 3
mov dword [ebp - 0x34], 2
mov eax, 0x49a8cc
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x28], 3
mov eax, 0x49a8d0
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x40]
mov dword [ebp - 0xc], eax
push 0
push 0
push 0
push 1
push 0x49a8cc
call sub.wininet.dll_InternetOpenW
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x49a8c3
xor eax, eax
push ebp
push 0x49a8bc
push dword fs:[eax]
mov dword fs:[eax], esp
push ebx
lea eax, [ebp - 0x1c]
push eax
push 0x4b
mov eax, dword [ebp - 8]
push eax
call sub.wininet.dll_InternetSetOptionW
push 0
push 0
push 0x25
mov eax, dword [ebp - 8]
push eax
call sub.wininet.dll_InternetSetOptionW
mov byte [ebp - 1], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49a8c3
mov eax, dword [ebp - 8]
push eax
call sub.wininet.dll_InternetCloseHandle
ret
movzx eax, byte [ebp - 1]
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x49ac08
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb0
push ebx
xor edx, edx
mov dword [ebp - 0x50], edx
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x28], edx
mov dword [ebp - 4], edx
mov dword [ebp - 8], edx
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x49ae32
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x20], 0x105
mov eax, dword [ebp - 0x20]
call fcn.00403110
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x49ac89
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x20]
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_GetSystemDirectoryW
test eax, eax
je 0x49ac73
lea eax, [ebp - 4]
mov edx, dword [ebp - 0x10]
call fcn.0040610c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49ac90
mov eax, dword [ebp - 0x10]
call fcn.0040312c
ret

Function at 0x49c2c8
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
mov bl, 2
lea eax, [ebp - 0x14]
xor ecx, ecx
mov edx, 0x14
call fcn.00403a48
push 0x14
lea eax, [ebp - 0x14]
push eax
push 0xd
push 0x400
call sub.kernel32.dll_GetLocaleInfoW_1
test eax, eax
je 0x49c303
cmp word [ebp - 0x14], 0x31
jne 0x49c301
mov bl, 1
jmp 0x49c303
xor ebx, ebx
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x49db90
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
mov dword [ebp - 4], edx
mov esi, eax
xor ebx, ebx
mov eax, esi
call fcn.0045dedc
test al, al
je 0x49dc4f
mov byte [ebp - 9], 0
xor ebx, ebx
call sub.kernel32.dll_GetTickCount_1
mov dword [ebp - 8], eax
jmp 0x49dc2d
cmp word [esi + 0x66a], 0
je 0x49dbe1
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 9]
push eax
mov ecx, dword [ebp - 8]
mov edx, esi
mov eax, dword [esi + 0x66c]
call dword [esi + 0x668]
movzx eax, byte [esi + 0x660]
or al, byte [ebp - 9]
jne 0x49dc04
cmp dword [ebp - 4], 0
jbe 0x49dc00
call sub.kernel32.dll_GetTickCount_1
sub eax, dword [ebp - 8]
cmp eax, dword [ebp - 4]
ja 0x49dc04
xor ebx, ebx
jmp 0x49dc06
mov bl, 1
test bl, bl
jne 0x49dc4f
mov eax, dword [0x4f6634]
mov eax, dword [eax]
cmp byte [eax + 0xa0], 0
jne 0x49dc4f
mov eax, dword [0x4f6634]
mov eax, dword [eax]
call fcn.00476158
push 1
call sub.kernel32.dll_Sleep_2
test esi, esi
je 0x49dc4f
cmp byte [esi + 0x600], 0
jne 0x49dc4f
mov edx, 0xfffffdf3
mov eax, esi
call fcn.0047c2bc
cmp eax, 4
jne 0x49dbbe
mov byte [esi + 0x660], 0
test bl, bl
sete al
pop esi
pop ebx
mov esp, ebp
pop ebp
ret