joyce8/EMBER2024-capa huggingface dataset:
Function at 0x466e98
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff94
push ebx
push esi
push edi
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0x1f8], 0
je 0x466eb4
cmp dword [esi + 4], 0
je 0x466ee1
test byte [ebx + 0x55], 1
jne 0x466ed3
mov eax, ebx
call fcn.00465a38
test eax, eax
jne 0x466ed3
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x466ff1
mov edx, esi
mov eax, ebx
call fcn.004669bc
jmp 0x466ff1
push 0
call sub.user32.dll_GetDC
mov edi, eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x64]
push eax
push edi
call sub.gdi32.dll_CreateCompatibleBitmap
mov dword [ebp - 8], eax
push edi
push 0
call sub.user32.dll_ReleaseDC
push 0
call sub.gdi32.dll_CreateCompatibleDC
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_SelectObject
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x466fea
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.00468d40
push eax
call sub.user32.dll_BeginPaint
mov edi, eax
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 4]
mov edx, 0x14
mov eax, ebx
call fcn.004636d4
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.00466e98
xor eax, eax
mov dword [esi + 4], eax
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 4]
push eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x64]
push eax
push 0
push 0
push edi
call sub.gdi32.dll_BitBlt
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.00468d40
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x466ff1
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_SelectObject
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_DeleteDC
mov eax, dword [ebp - 8]
push eax
call sub.gdi32.dll_DeleteObject
ret
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x46d760
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x548f34]
cmp byte [eax + 0xc], 0
je 0x46d8cd
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x46d8c6
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x549ba8], 0
jne 0x46d7b4
push 0x46d8d4
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x46d8dc
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x549ba8], eax
cmp dword [0x5380d0], 0
jne 0x46d8af
push 0x46d8ec
call sub.kernel32.dll_LoadLibraryA
mov dword [0x5380d0], eax
cmp dword [0x5380d0], 0
je 0x46d8af
push 0x46d8f8
mov eax, dword [0x5380d0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x549bac], eax
push 0x46d908
mov eax, dword [0x5380d0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x549bb0], eax
push 0x46d91c
mov eax, dword [0x5380d0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x549bb4], eax
push 0x46d934
mov eax, dword [0x5380d0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x549bb8], eax
push 0x46d94c
mov eax, dword [0x5380d0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x549bbc], eax
push 0x46d960
mov eax, dword [0x5380d0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x549bc0], eax
push 0x46d978
mov eax, dword [0x5380d0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x549bc4], eax
push 0x46d990
mov eax, dword [0x5380d0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x549bc8], eax
push 0x46d9ac
mov eax, dword [0x5380d0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x549bcc], eax
push 0x46d9b8
mov eax, dword [0x5380d0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x549bd0], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46d8cd
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x471dac
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.0040485c
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x471dfb
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.00404acc
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x479698
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x4796e8]
test si, 4
je 0x4796ac
or bl, 1
test si, 8
je 0x4796b6
or bl, 4
test si, 1
je 0x4796c0
or bl, 8
test si, 2
je 0x4796ca
or bl, 0x10
test si, 0x10
je 0x4796d4
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4796e3
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x4796ec
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x479724]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x479705
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x479714
or bl, 4
test esi, 0x20000000
je 0x47971f
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x479774
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
add esp, 0xffffff00
push esp
call sub.user32.dll_GetKeyboardState
mov eax, esp
call fcn.00479728
mov ebx, eax
mov eax, ebx
add esp, 0x100
pop ebx
ret

Function at 0x47fe08
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x47fe1a
add esp, 0xfffffff0
call fcn.00403c84
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.004278fc
mov eax, dword [0x5487c0]
mov dword [eax + 4], ebx
mov dword [eax], 0x4801ac
mov eax, dword [0x5487dc]
mov dword [eax + 4], ebx
mov dword [eax], 0x4801b8
mov eax, ebx
call fcn.004801c4
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x41bf08]
call fcn.004038dc
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x41bf08]
call fcn.004038dc
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x41bf08]
call fcn.004038dc
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x41bf08]
call fcn.004038dc
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x41bf08]
call fcn.004038dc
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, 0x47c5dc
push eax
push 0
push 0
mov eax, dword [0x548adc]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x429398]
call fcn.0042abd0
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x429398]
call fcn.0042abd0
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x429398]
call fcn.0042abd0
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.00480614
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4804dc
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4804dc
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4804dc
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x47ff57
call fcn.00403cdc
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x4802c0
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 0x48046b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x48044c
mov dl, 1
mov eax, dword [0x41c56c]
call fcn.004038dc
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.0040485c
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x48043b
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.0046dac0
test al, al
je 0x48042e
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, 0x48047c
lea eax, [ebp - 0x254]
call fcn.0040a538
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x48042e
xor eax, eax
push ebp
push 0x480427
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 0x4804b4
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x480410
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404acc
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 0x480410
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404acc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48042e
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x480331
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.00421270
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 0x480472
lea eax, [ebp - 0x260]
call fcn.0040485c
ret

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

Disassembly:
push ecx
mov eax, dword [0x549bf4]
cmp byte [eax + 0xa5], 0
jne 0x480e25
cmp dword [0x549c0c], 0
jne 0x480de6
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x480d70
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x549c0c], eax
cmp dword [0x549c08], 0
jne 0x480e01
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x549c08], eax
cmp dword [0x549c10], 0
jne 0x480e25
push esp
push 0
push 0
push 0x480d14
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x549c10], eax
pop edx
ret
Function at 0x4814b8
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x549bf4]
cmp dword [eax + 0x30], 0
je 0x481562
cmp dword [ebx + 0x94], 0
jne 0x48155c
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x481448
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x48155c
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 0x481522
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x48155c
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.0041e860
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x481531
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x4820c0
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 0x4820f5
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.0040494c
jmp 0x482102
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.004048b0
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x4832cc
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x48330d
mov eax, esi
call fcn.00469044
test al, al
je 0x48330d
mov eax, dword [ebx + 0x84]
call fcn.00468d40
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x48330d
push 0
mov eax, dword [ebx + 0x84]
call fcn.00468d40
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x496f78
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 [0x41b2b4]
call fcn.0040536c
xor eax, eax
push ebp
push 0x4970bc
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x54695c], 0
jne 0x496fcb
mov ecx, dword [0x548604]
mov dl, 1
mov eax, dword [0x40844c]
call fcn.0040d634
call fcn.004041b0
lea eax, [ebp - 0x20]
xor ecx, ecx
mov edx, 0x10
call fcn.00403264
mov eax, ebx
call fcn.00405120
mov dword [ebp - 0x1c], eax
push esi
push edi
mov esi, 0x4970cc
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.0040682c
xor eax, eax
mov dword [ebp - 8], eax
mov eax, ebx
call fcn.00405130
test eax, eax
jle 0x497063
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 0x49705c
lea eax, [ebp - 0x44]
mov edx, ebx
call fcn.00404ae4
mov eax, dword [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
lea edx, [ebp - 0x40]
mov ecx, 0x10
call fcn.00404acc
mov eax, dword [ebp - 0x48]
pop edx
call fcn.00409434
test eax, eax
jne 0x49705c
mov ebx, 0x15
jmp 0x497068
mov ebx, 0x10
jmp 0x497068
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 [0x54695c]
call fcn.00496ed0
mov eax, dword [ebp - 8]
call fcn.00496ed0
mov eax, edi
mov edx, dword [ebp - 0xc]
call fcn.00406844
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4970c3
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.00404880
lea eax, [ebp - 0x10]
mov edx, dword [0x41b2b4]
call fcn.0040543c
ret

Function at 0x49a898
Capabilities:
Hide graphical window

Disassembly:
push ebx
add esp, 0xfffffff0
mov ebx, eax
mov eax, ebx
call fcn.0049a338
test byte [ebx + 0x23d], 4
jne 0x49a92d
mov edx, esp
mov eax, ebx
call fcn.00461ec0
push esp
mov eax, ebx
call fcn.00468b3c
push eax
push 0
mov eax, ebx
test eax, eax
je 0x49a8cd
sub eax, 0xfffffd9c
push eax
push 0
push 0xfffffffffffffffb
mov eax, dword [ebx + 0x218]
push eax
mov eax, dword [eax]
call dword [eax + 0x2c]
cmp dword [ebx + 0x22c], 0
jne 0x49a8fe
mov ecx, dword [0x548a08]
mov dl, 1
mov eax, dword [0x496b90]
call fcn.0040d634
call fcn.004041b0
mov eax, ebx
call fcn.0049ae6c
cmp byte [ebx + 0x57], 0
jne 0x49a934
mov eax, ebx
call fcn.00468d40
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x49a934
push 0
mov eax, ebx
call fcn.00468d40
push eax
call sub.user32.dll_ShowWindow
jmp 0x49a934
mov eax, ebx
call fcn.00465cc0
add esp, 0x10
pop ebx
ret
Function at 0x49f730
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 - 8], ecx
mov dword [ebp - 4], edx
mov esi, eax
xor eax, eax
push ebp
push 0x49f797
push dword fs:[eax]
mov dword fs:[eax], esp
push esi
call sub.user32.dll_GetWindowTextLengthA
mov ebx, eax
lea edi, [ebx + 1]
mov edx, edi
lea eax, [ebp - 8]
call fcn.00404ea8
push edi
mov eax, dword [ebp - 8]
call fcn.00404d1c
push eax
push esi
call sub.user32.dll_GetWindowTextA
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
call fcn.004048b0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49f79e
lea eax, [ebp - 8]
call fcn.0040485c
ret

Function at 0x4a40dc
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 0x4a4166
xor edx, edx
push ebp
push 0x4a4147
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 0x4a4166
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret

Function at 0x4a8018
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x4a8046
mov eax, ebx
call fcn.004a8acc
cmp dword [ebx + 0x40], 0
je 0x4a803f
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x4a80b7
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x4a80a9
cmp dword [ebx + 8], 0
je 0x4a8068
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 0x4a807a
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x4a80a9
cmp dword [ebx + 8], 0
je 0x4a805b
cmp eax, 3
je 0x4a808d
dec eax
jne 0x4a805b
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 0x4a805b
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x4a805b
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x4a80d5
cmp dword [ebx + 0x14], 0xcc
je 0x4a80d5
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.004a80e0
pop ebx
ret
Function at 0x4b8914
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.00404d0c
mov eax, dword [ebp - 8]
call fcn.00404d0c
mov eax, dword [ebp - 0xc]
call fcn.00404d0c
xor eax, eax
push ebp
push 0x4b8a43
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.00404d1c
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x34], 3
mov eax, dword [ebp - 0xc]
call fcn.00404d1c
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0xc]
call fcn.004383ac
lea eax, [ebp - 0x4c]
mov dword [ebp - 0x18], eax
push 0
push 0
push 0
push 1
mov eax, dword [ebp - 4]
call fcn.00404d1c
push eax
call sub.wininet.dll_InternetOpenA
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x4b8a28
xor eax, eax
push ebp
push 0x4b8a21
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_InternetSetOptionA
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 0xd], al
cmp byte [ebp - 0xd], 0
je 0x4b8a01
push 0
push 0
push 0x25
push 0
call sub.wininet.dll_InternetSetOptionA
test eax, eax
jne 0x4b8a05
xor eax, eax
jmp 0x4b8a07
mov al, 1
mov byte [ebp - 0xd], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b8a28
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 0x4b8a4a
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404880
ret
Function at 0x4b8a54
Capabilities:
Connect to http server
Create http request

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb0
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.00404d0c
mov eax, dword [ebp - 8]
call fcn.00404d0c
mov eax, dword [ebp - 0xc]
call fcn.00404d0c
mov eax, dword [ebp + 0xc]
call fcn.00404d0c
xor eax, eax
push ebp
push 0x4b8bc3
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0xd], 0
mov ebx, 0x14
mov dword [ebp - 0x2c], 0x14
xor eax, eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], 3
mov dword [ebp - 0x50], 1
mov dword [ebp - 0x4c], 3
mov dword [ebp - 0x44], 2
mov eax, dword [ebp - 8]
call fcn.00404d1c
mov esi, eax
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x38], 3
mov eax, 0x4b8bd8
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x50]
mov dword [ebp - 0x1c], eax
push 0
push 0
push 0
push 1
mov eax, dword [ebp - 4]
call fcn.00404d1c
push eax
call sub.wininet.dll_InternetOpenA
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x4b8ba0
xor eax, eax
push ebp
push 0x4b8b99
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
push 3
mov eax, dword [ebp + 0xc]
call fcn.00404d1c
push eax
mov eax, dword [ebp - 0xc]
call fcn.00404d1c
push eax
mov ax, word [ebp + 8]
push eax
push esi
mov eax, dword [ebp - 0x14]
push eax
call sub.wininet.dll_InternetConnectA
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x4b8b82
push ebx
lea eax, [ebp - 0x2c]
push eax
push 0x4b
mov eax, dword [ebp - 0x14]
push eax
call sub.wininet.dll_InternetSetOptionA
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 0xd], al
cmp byte [ebp - 0xd], 0
je 0x4b8b79
push 0
push 0
push 0x25
mov eax, dword [ebp - 0x14]
push eax
call sub.wininet.dll_InternetSetOptionA
test eax, eax
jne 0x4b8b7d
xor eax, eax
jmp 0x4b8b7f
mov al, 1
mov byte [ebp - 0xd], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b8ba0
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 0x4b8bca
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404880
lea eax, [ebp + 0xc]
call fcn.0040485c
ret