joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44a640
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x532fc0]
cmp byte [eax + 0xc], 0
je 0x44a7ad
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x44a7a6
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x533b94], 0
jne 0x44a694
push 0x44a7b4
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x44a7bc
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x533b94], eax
cmp dword [0x523c68], 0
jne 0x44a78f
push 0x44a7cc
call sub.kernel32.dll_LoadLibraryA
mov dword [0x523c68], eax
cmp dword [0x523c68], 0
je 0x44a78f
push 0x44a7d8
mov eax, dword [0x523c68]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x533b98], eax
push 0x44a7e8
mov eax, dword [0x523c68]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x533b9c], eax
push 0x44a7fc
mov eax, dword [0x523c68]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x533ba0], eax
push 0x44a814
mov eax, dword [0x523c68]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x533ba4], eax
push 0x44a82c
mov eax, dword [0x523c68]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x533ba8], eax
push 0x44a840
mov eax, dword [0x523c68]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x533bac], eax
push 0x44a858
mov eax, dword [0x523c68]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x533bb0], eax
push 0x44a870
mov eax, dword [0x523c68]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x533bb4], eax
push 0x44a88c
mov eax, dword [0x523c68]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x533bb8], eax
push 0x44a898
mov eax, dword [0x523c68]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x533bbc], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44a7ad
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x44e654
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
mov ebx, edx
mov word [ebp - 2], ax
mov eax, ebx
call fcn.00404684
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x44e6a3
push pe_nt_image_headers32
lea edx, [ebp - 0x102]
push edx
push eax
call sub.user32.dll_GetKeyNameTextA
mov eax, ebx
lea edx, [ebp - 0x102]
mov ecx, pe_nt_image_headers32
call fcn.004048f4
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x455e90
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x455ee0]
test si, 4
je 0x455ea4
or bl, 1
test si, 8
je 0x455eae
or bl, 4
test si, 1
je 0x455eb8
or bl, 8
test si, 2
je 0x455ec2
or bl, 0x10
test si, 0x10
je 0x455ecc
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x455edb
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x455ee4
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x455f1c]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x455efd
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x455f0c
or bl, 4
test esi, 0x20000000
je 0x455f17
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x45c5c4
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x45c5d6
add esp, 0xfffffff0
call fcn.00403c58
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041ecf8
mov eax, dword [0x532910]
mov dword [eax + 4], ebx
mov dword [eax], 0x45c968
mov eax, dword [0x53291c]
mov dword [eax + 4], ebx
mov dword [eax], 0x45c974
mov eax, ebx
call fcn.0045c980
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x416230]
call fcn.00403904
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x416230]
call fcn.00403904
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x416230]
call fcn.00403904
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x416230]
call fcn.00403904
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x416230]
call fcn.00403904
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, 0x458d9c
push eax
push 0
push 0
mov eax, dword [0x532b84]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x420794]
call fcn.00421fa8
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x420794]
call fcn.00421fa8
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x420794]
call fcn.00421fa8
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.0045cda0
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x45cc7c
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x45cc7c
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x45cc7c
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x45c713
call fcn.00403cb0
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x45ca60
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 0x45cc0b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x45cbec
mov dl, 1
mov eax, dword [0x4167d8]
call fcn.00403904
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00404684
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x45cbdb
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.0044a9a0
test al, al
je 0x45cbce
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, 0x45cc1c
lea eax, [ebp - 0x254]
call fcn.00409c74
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x45cbce
xor eax, eax
push ebp
push 0x45cbc7
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 0x45cc54
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x45cbb0
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004048f4
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 0x45cbb0
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004048f4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45cbce
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x45cad1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.0041ae24
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 0x45cc12
lea eax, [ebp - 0x260]
call fcn.00404684
ret

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

Disassembly:
push ecx
mov eax, dword [0x533be0]
cmp byte [eax + 0xa5], 0
jne 0x45d5b1
cmp dword [0x533bf8], 0
jne 0x45d572
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x45d4fc
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x533bf8], eax
cmp dword [0x533bf4], 0
jne 0x45d58d
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x533bf4], eax
cmp dword [0x533bfc], 0
jne 0x45d5b1
push esp
push 0
push 0
push 0x45d4a0
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x533bfc], eax
pop edx
ret
Function at 0x45d6a8
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x45d6bf
add esp, 0xfffffff0
call fcn.00403c58
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041ecf8
mov eax, dword [0x532b64]
cmp word [eax + 2], 0
jne 0x45d6e7
mov eax, dword [0x532b64]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0045ee28
mov eax, dword [0x532cd4]
cmp word [eax + 2], 0
jne 0x45d701
mov eax, dword [0x532cd4]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0045f020
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x416230]
call fcn.00403904
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x416230]
call fcn.00403904
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 [0x421314]
call fcn.00429640
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x45d888
mov eax, dword [0x5329c0]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.00429a10
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x45f5d0
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x5329c0]
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.0040d638
test eax, eax
je 0x45d7f6
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00409654
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040d660
test eax, eax
je 0x45d80a
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.004048f4
mov eax, dword [0x532760]
cmp byte [eax], 0
jne 0x45d83e
mov eax, ebx
call fcn.0045d9b0
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.0045f7ac
mov eax, ebx
call fcn.00460170
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x45d87e
call fcn.00403cb0
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x45dc30
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x533be0]
cmp dword [eax + 0x30], 0
je 0x45dcda
cmp dword [ebx + 0x94], 0
jne 0x45dcd4
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x45dbc0
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x45dcd4
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 0x45dc9a
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x45dcd4
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.00418724
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x45dca9
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x45e83c
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 0x45e871
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.00404774
jmp 0x45e87e
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.004046d8
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x45f988
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x45f9c9
mov eax, esi
call fcn.00445fcc
test al, al
je 0x45f9c9
mov eax, dword [ebx + 0x84]
call fcn.00445cc8
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x45f9c9
push 0
mov eax, dword [ebx + 0x84]
call fcn.00445cc8
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x463090
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x4630be
mov eax, ebx
call fcn.00463b44
cmp dword [ebx + 0x40], 0
je 0x4630b7
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x46312f
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x463121
cmp dword [ebx + 8], 0
je 0x4630e0
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 0x4630f2
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x463121
cmp dword [ebx + 8], 0
je 0x4630d3
cmp eax, 3
je 0x463105
dec eax
jne 0x4630d3
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 0x4630d3
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x4630d3
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x46314d
cmp dword [ebx + 0x14], 0xcc
je 0x46314d
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.00463158
pop ebx
ret
Function at 0x474b08
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 [0x4157e0]
call fcn.00405070
xor eax, eax
push ebp
push 0x474c4c
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x5247a4], 0
jne 0x474b5b
mov ecx, dword [0x532784]
mov dl, 1
mov eax, dword [0x407af0]
call fcn.0040c8dc
call fcn.004040c0
lea eax, [ebp - 0x20]
xor ecx, ecx
mov edx, 0x10
call fcn.00403178
mov eax, ebx
call fcn.00404f20
mov dword [ebp - 0x1c], eax
push esi
push edi
mov esi, 0x474c5c
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.00406108
xor eax, eax
mov dword [ebp - 8], eax
mov eax, ebx
call fcn.00404f30
test eax, eax
jle 0x474bf3
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 0x474bec
lea eax, [ebp - 0x44]
mov edx, ebx
call fcn.0040490c
mov eax, dword [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
lea edx, [ebp - 0x40]
mov ecx, 0x10
call fcn.004048f4
mov eax, dword [ebp - 0x48]
pop edx
call fcn.0040899c
test eax, eax
jne 0x474bec
mov ebx, 0x15
jmp 0x474bf8
mov ebx, 0x10
jmp 0x474bf8
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 [0x5247a4]
call fcn.00474a60
mov eax, dword [ebp - 8]
call fcn.00474a60
mov eax, edi
mov edx, dword [ebp - 0xc]
call fcn.00406120
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x474c53
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.004046a8
lea eax, [ebp - 0x10]
mov edx, dword [0x4157e0]
call fcn.00405140
ret
Function at 0x47d3bc
Capabilities:
Connect to http server
Create http request
Read data from internet
Receive data
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffbb0
xor ecx, ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
call fcn.00404b34
xor eax, eax
push ebp
push 0x47d5b8
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x47d57e
push dword fs:[eax]
mov dword fs:[eax], esp
push ebp
lea ecx, [ebp - 0x1c]
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 0x10]
call fcn.0047d25c
pop ecx
push 0
push 0
push 0
push 0
push 0x47d5c4
call sub.wininet.dll_InternetOpenA
mov dword [ebp - 0xc], eax
push 0
push 0
push 3
push 0
push 0
push 0x50
mov eax, dword [ebp - 0x18]
call fcn.00404b44
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.wininet.dll_InternetConnectA
mov dword [ebp - 8], eax
mov eax, 0x47d5d0
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x34], 0x80000000
mov eax, 0x47d5d4
mov dword [ebp - 0x38], eax
push 0
mov eax, dword [ebp - 0x34]
push eax
lea eax, [ebp - 0x38]
push eax
push 0
push 0x47d5e4
mov eax, dword [ebp - 0x1c]
call fcn.00404b44
push eax
mov eax, dword [ebp - 0x30]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.wininet.dll_HttpOpenRequestA
mov dword [ebp - 4], eax
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 4]
push eax
call sub.wininet.dll_HttpSendRequestA
xor eax, eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], 0x400
mov eax, dword [ebp - 0x24]
call fcn.0040279c
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x24]
push eax
mov eax, dword [ebp - 0x20]
push eax
push 5
mov eax, dword [ebp - 4]
push eax
call sub.wininet.dll_HttpQueryInfoA
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 0x39], al
cmp byte [ebp - 0x39], 0
je 0x47d556
xor eax, eax
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x48]
call fcn.00404684
mov eax, dword [0x532c8c]
mov eax, dword [eax]
call fcn.0045eb7c
lea eax, [ebp - 0x40]
push eax
push 0x401
lea eax, [ebp - 0x449]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.wininet.dll_InternetReadFile
test eax, eax
je 0x47d543
cmp dword [ebp - 0x40], 0
je 0x47d543
lea eax, [ebp - 0x2c]
lea edx, [ebp - 0x449]
mov ecx, 0x401
call fcn.004048f4
lea eax, [ebp - 0x2c]
mov edx, dword [ebp - 0x40]
call fcn.00404cd0
lea eax, [ebp - 0x48]
mov edx, dword [ebp - 0x2c]
call fcn.0040494c
mov eax, dword [ebp - 0x40]
add dword [ebp - 0x44], eax
jmp 0x47d4e3
lea eax, [ebp - 0x48]
mov edx, dword [ebp - 0x44]
call fcn.00404cd0
cmp dword [ebp - 0x44], 0
setne byte [ebp - 0x39]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47d585
mov eax, dword [ebp - 0x20]
call fcn.004027bc
push ebp
call fcn.0047d390
pop ecx
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x48]
call fcn.004046d8
ret
Function at 0x48b9c0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x48bacd
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 8], 0
jl 0x48b9f3
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
cmp eax, dword [ebp - 8]
jg 0x48ba00
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x48bad7
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0x50]
cmp eax, 0x2710
jbe 0x48ba25
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [ebp - 4]
mov dword [edx + 0x50], eax
mov eax, dword [ebp - 4]
call fcn.0048b92c
mov eax, dword [ebp - 8]
lea eax, [eax + eax*2]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x54]
cmp dword [edx + eax*4 + 4], 0
jne 0x48ba9b
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x5c]
mov eax, dword [eax + 8]
cmp eax, dword [ebp - 8]
jle 0x48bac3
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x5c]
mov edx, dword [ebp - 8]
call fcn.00418724
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 8]
lea eax, [eax + eax*2]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x54]
lea ecx, [edx + eax*4]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 4]
call fcn.0048b630
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [ebp - 8]
lea edx, [edx + edx*2]
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx + 0x54]
mov dword [ecx + edx*4 + 8], eax
mov eax, dword [ebp - 8]
lea eax, [eax + eax*2]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x54]
mov eax, dword [edx + eax*4 + 4]
mov dword [ebp - 0xc], eax
jmp 0x48bac3
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [ebp - 8]
lea edx, [edx + edx*2]
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx + 0x54]
mov dword [ecx + edx*4 + 8], eax
mov eax, dword [ebp - 8]
lea eax, [eax + eax*2]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x54]
mov eax, dword [edx + eax*4 + 4]
mov dword [ebp - 0xc], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x48bad7
mov eax, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x49146c
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 0xc], 0
jle 0x491516
mov eax, dword [ebp - 4]
cmp dword [eax + 0x10], 0
jle 0x491516
mov ecx, dword [ebp - 8]
mov dl, 1
mov eax, dword [0x4911ac]
call fcn.00491878
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x49150f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0xc]
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x30]
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
call dword [edx + 0x20]
mov edx, eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
call fcn.004029d0
mov dl, 1
mov eax, dword [ebp - 0xc]
call fcn.00491b1c
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x10]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 0xc]
call fcn.0041b138
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x491516
mov eax, dword [ebp - 0xc]
call fcn.00403934
ret
mov esp, ebp
pop ebp
ret

Function at 0x494754
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
xor eax, eax
mov dword [ebp - 0x20], eax
xor eax, eax
push ebp
push 0x4947e3
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x586220
push 0x101
call sub.wsock32.dll_WSAStartup
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x4947cd
lea edx, [ebp - 0x20]
mov eax, dword [ebp - 4]
call fcn.0040bfe8
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 0xb
mov eax, dword [ebp - 4]
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0
mov eax, 0x4947f8
mov dword [ebp - 0xc], eax
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0x1c]
push eax
push 2
mov ecx, dword [0x532de8]
mov dl, 1
mov eax, dword [0x493f34]
call fcn.0040c918
call fcn.004040c0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4947ea
lea eax, [ebp - 0x20]
call fcn.00404684
ret

Function at 0x494e80
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 8], eax
xor eax, eax
mov dword [ebp - 0xc], eax
mov al, byte [0x494efc]
mov edx, dword [ebp - 4]
cmp al, byte [edx + 0x28]
je 0x494eb2
mov dword [ebp - 8], 0x401
mov eax, dword [ebp - 4]
call fcn.00495028
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0x28]
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_WSAAsyncSelect
mov al, byte [0x494efc]
mov edx, dword [ebp - 4]
cmp al, byte [edx + 0x28]
jne 0x494ef5
xor eax, eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
push 0x8004667e
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_ioctlsocket
mov esp, ebp
pop ebp
ret