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

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x4581b4]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x458195
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4581a4
or bl, 4
test esi, 0x20000000
je 0x4581af
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x45e878
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x45e88a
add esp, 0xfffffff0
call fcn.004041e0
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00421f0c
mov eax, dword [0x4a8f50]
mov dword [eax + 4], ebx
mov dword [eax], 0x45ec1c
mov eax, dword [0x4a8f60]
mov dword [eax + 4], ebx
mov dword [eax], 0x45ec28
mov eax, ebx
call fcn.0045ec34
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x4192c0]
call fcn.00403e78
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x4192c0]
call fcn.00403e78
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x4192c0]
call fcn.00403e78
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x4192c0]
call fcn.00403e78
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x4192c0]
call fcn.00403e78
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, 0x45b04c
push eax
push 0
push 0
mov eax, dword [0x4a9114]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x425190]
call fcn.004269c8
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x425190]
call fcn.004269c8
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x425190]
call fcn.004269c8
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.0045f084
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x45ef4c
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x45ef4c
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x45ef4c
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x45e9c7
call fcn.00404238
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x45ed30
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 0x45eedb
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x45eebc
mov dl, 1
mov eax, dword [0x419924]
call fcn.00403e78
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00404c34
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x45eeab
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.0044cbac
test al, al
je 0x45ee9e
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, 0x45eeec
lea eax, [ebp - 0x254]
call fcn.0040a658
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x45ee9e
xor eax, eax
push ebp
push 0x45ee97
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 0x45ef24
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x45ee80
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404eb4
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 0x45ee80
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404eb4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45ee9e
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x45eda1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.0041dfcc
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 0x45eee2
lea eax, [ebp - 0x260]
call fcn.00404c34
ret

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

Disassembly:
push ecx
mov eax, dword [0x4aabb4]
cmp byte [eax + 0xa5], 0
jne 0x45f895
cmp dword [0x4aabcc], 0
jne 0x45f856
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x45f7e0
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x4aabcc], eax
cmp dword [0x4aabc8], 0
jne 0x45f871
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x4aabc8], eax
cmp dword [0x4aabd0], 0
jne 0x45f895
push esp
push 0
push 0
push 0x45f784
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x4aabd0], eax
pop edx
ret
Function at 0x45ff28
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x4aabb4]
cmp dword [eax + 0x30], 0
je 0x45ffd2
cmp dword [ebx + 0x94], 0
jne 0x45ffcc
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x45feb8
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x45ffcc
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 0x45ff92
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x45ffcc
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.0041b8f8
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x45ffa1
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x460b30
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 0x460b65
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.00404d24
jmp 0x460b72
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404c88
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x461b18
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x461b59
mov eax, esi
call fcn.00448228
test al, al
je 0x461b59
mov eax, dword [ebx + 0x84]
call fcn.00447f24
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x461b59
push 0
mov eax, dword [ebx + 0x84]
call fcn.00447f24
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x462adc
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.004050f4
xor eax, eax
push ebp
push 0x462c0a
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.user32.dll_OpenClipboard
test eax, eax
je 0x462bdd
xor eax, eax
push ebp
push 0x462bd6
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00404f04
inc eax
push eax
push 0x2002
call sub.kernel32.dll_GlobalAlloc
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x462bab
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalLock
mov ebx, eax
xor eax, eax
push ebp
push 0x462b9a
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00404f04
inc eax
push eax
mov eax, dword [ebp - 4]
call fcn.00405104
mov edx, ebx
pop ecx
call fcn.00402e08
call sub.user32.dll_EmptyClipboard
mov eax, dword [ebp - 8]
push eax
push 1
call sub.user32.dll_SetClipboardData
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x462ba1
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
ret
mov ecx, dword [0x4a8ec0]
mov dl, 1
mov eax, dword [0x408490]
call fcn.0040d7ac
call fcn.00404648
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x462c11
lea eax, [ebp - 4]
call fcn.00404c34
ret
Function at 0x462c18
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff8c
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x70], ecx
mov dword [ebp - 0x74], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x462dc9
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 0x10]
mov edx, 0x1b
mov al, 0x2d
call fcn.004052f4
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 8]
mov ecx, 0x462de0
call fcn.00404f50
mov eax, ebx
call fcn.00422530
mov edi, eax
dec edi
test edi, edi
jl 0x462cd0
inc edi
xor esi, esi
mov edx, esi
mov eax, ebx
call fcn.00422504
mov edx, dword [0x43a254]
call fcn.00404040
test al, al
je 0x462ccc
push dword [ebp - 0xc]
mov edx, esi
mov eax, ebx
call fcn.00422504
lea edx, [ebp - 0x14]
call fcn.004415fc
push dword [ebp - 0x14]
lea ecx, [ebp - 0x18]
mov edx, 3
mov al, 0x20
call fcn.004052f4
push dword [ebp - 0x18]
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404fc4
inc esi
dec edi
jne 0x462c7e
mov al, byte [0x462de4]
push eax
lea eax, [ebp - 0x1c]
push eax
xor ecx, ecx
mov edx, 0x462df0
mov eax, dword [ebp - 0xc]
call fcn.0040ef14
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 0xc]
call fcn.00404ccc
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x6c], eax
mov byte [ebp - 0x68], 0xb
lea edx, [ebp - 0x70]
mov eax, ebx
call fcn.004415fc
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x64], eax
mov byte [ebp - 0x60], 0xb
mov eax, 0x462de0
mov dword [ebp - 0x5c], eax
mov byte [ebp - 0x58], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x54], eax
mov byte [ebp - 0x50], 0xb
lea edx, [ebp - 0x74]
mov eax, dword [ebx + 0x2f8]
call fcn.004415fc
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0x48], 0xb
mov eax, 0x462de0
mov dword [ebp - 0x44], eax
mov byte [ebp - 0x40], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x3c], eax
mov byte [ebp - 0x38], 0xb
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x34], eax
mov byte [ebp - 0x30], 0xb
mov eax, 0x462de0
mov dword [ebp - 0x2c], eax
mov byte [ebp - 0x28], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0xb
lea edx, [ebp - 0x6c]
mov ecx, 9
mov eax, 0x462dfc
call fcn.0040a6f0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x462dd0
lea eax, [ebp - 0x74]
mov edx, 2
call fcn.00404c58
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.00404c58
lea eax, [ebp - 0x14]
call fcn.00404c34
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.00404c58
ret
Function at 0x4671bc
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 [0x418690]
call fcn.00405704
xor eax, eax
push ebp
push 0x467300
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4a6ff4], 0
jne 0x46720f
mov ecx, dword [0x4a8e5c]
mov dl, 1
mov eax, dword [0x408490]
call fcn.0040d7ac
call fcn.00404648
lea eax, [ebp - 0x20]
xor ecx, ecx
mov edx, 0x10
call fcn.00403688
mov eax, ebx
call fcn.004054e8
mov dword [ebp - 0x1c], eax
push esi
push edi
mov esi, 0x467310
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.004069ec
xor eax, eax
mov dword [ebp - 8], eax
mov eax, ebx
call fcn.004054f8
test eax, eax
jle 0x4672a7
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 0x4672a0
lea eax, [ebp - 0x44]
mov edx, ebx
call fcn.00404ecc
mov eax, dword [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
lea edx, [ebp - 0x40]
mov ecx, 0x10
call fcn.00404eb4
mov eax, dword [ebp - 0x48]
pop edx
call fcn.004093e0
test eax, eax
jne 0x4672a0
mov ebx, 0x15
jmp 0x4672ac
mov ebx, 0x10
jmp 0x4672ac
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 [0x4a6ff4]
call fcn.00467114
mov eax, dword [ebp - 8]
call fcn.00467114
mov eax, edi
mov edx, dword [ebp - 0xc]
call fcn.00406a04
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x467307
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.00404c58
lea eax, [ebp - 0x10]
mov edx, dword [0x418690]
call fcn.004057d4
ret

Function at 0x46aaac
Capabilities:
Hide graphical window

Disassembly:
push ebx
add esp, 0xfffffff0
mov ebx, eax
mov eax, ebx
call fcn.0046a54c
test byte [ebx + 0x23d], 4
jne 0x46ab41
mov edx, esp
mov eax, ebx
call fcn.00440fac
push esp
mov eax, ebx
call fcn.00447d20
push eax
push 0
mov eax, ebx
test eax, eax
je 0x46aae1
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 0x46ab12
mov ecx, dword [0x4a907c]
mov dl, 1
mov eax, dword [0x466dd4]
call fcn.0040d7ac
call fcn.00404648
mov eax, ebx
call fcn.0046b0b4
cmp byte [ebx + 0x57], 0
jne 0x46ab48
mov eax, ebx
call fcn.00447f24
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x46ab48
push 0
mov eax, ebx
call fcn.00447f24
push eax
call sub.user32.dll_ShowWindow
jmp 0x46ab48
mov eax, ebx
call fcn.00444ea4
add esp, 0x10
pop ebx
ret
Function at 0x4721e8
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x472216
mov eax, ebx
call fcn.00472c9c
cmp dword [ebx + 0x40], 0
je 0x47220f
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x472287
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x472279
cmp dword [ebx + 8], 0
je 0x472238
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 0x47224a
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x472279
cmp dword [ebx + 8], 0
je 0x47222b
cmp eax, 3
je 0x47225d
dec eax
jne 0x47222b
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 0x47222b
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x47222b
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x4722a5
cmp dword [ebx + 0x14], 0xcc
je 0x4722a5
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.004722b0
pop ebx
ret

Function at 0x482bd4
Capabilities:
Create http request

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffbc
push ebx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004050f4
mov eax, dword [ebp - 8]
call fcn.004050f4
xor eax, eax
push ebp
push 0x482ca8
push dword fs:[eax]
mov dword fs:[eax], esp
mov ebx, 0x14
mov dword [ebp - 0x20], 0x14
xor eax, eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], 3
mov dword [ebp - 0x44], 1
mov dword [ebp - 0x40], 3
mov dword [ebp - 0x38], 2
mov eax, dword [ebp - 8]
call fcn.00405104
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x2c], 3
mov eax, 0x482cb4
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x44]
mov dword [ebp - 0x10], eax
push 0
push 0
push 0
push 1
mov eax, dword [ebp - 4]
call fcn.00405104
push eax
call sub.wininet.dll_InternetOpenA
mov dword [ebp - 0xc], eax
push ebx
lea eax, [ebp - 0x20]
push eax
push 0x4b
mov eax, dword [ebp - 0xc]
push eax
call sub.wininet.dll_InternetSetOptionA
push 0
push 0
push 0x25
mov eax, dword [ebp - 0xc]
push eax
call sub.wininet.dll_InternetSetOptionA
mov eax, dword [ebp - 0xc]
push eax
call sub.wininet.dll_InternetCloseHandle
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x482caf
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404c58
ret
Function at 0x482cbc
Capabilities:
Connect to http server
Create http request

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
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.004050f4
mov eax, dword [ebp - 8]
call fcn.004050f4
mov eax, dword [ebp - 0xc]
call fcn.004050f4
mov eax, dword [ebp + 0xc]
call fcn.004050f4
xor eax, eax
push ebp
push 0x482de0
push dword fs:[eax]
mov dword fs:[eax], esp
mov ebx, 0x14
mov dword [ebp - 0x24], 0x14
xor eax, eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], 3
mov dword [ebp - 0x48], 1
mov dword [ebp - 0x44], 3
mov dword [ebp - 0x3c], 2
mov eax, dword [ebp - 8]
call fcn.00405104
mov esi, eax
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x30], 3
mov eax, 0x482df0
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x48]
mov dword [ebp - 0x14], eax
push 0
push 0
push 0
push 1
mov eax, dword [ebp - 4]
call fcn.00405104
push eax
call sub.wininet.dll_InternetOpenA
mov dword [ebp - 0x10], eax
push 0
push 0
push 3
mov eax, dword [ebp + 0xc]
call fcn.00405104
push eax
mov eax, dword [ebp - 0xc]
call fcn.00405104
push eax
mov eax, dword [ebp + 8]
cmp eax, 0xffff
jbe 0x482d8a
call fcn.00403ddc
push eax
push esi
mov eax, dword [ebp - 0x10]
push eax
call sub.wininet.dll_InternetConnectA
push ebx
lea eax, [ebp - 0x24]
push eax
push 0x4b
mov eax, dword [ebp - 0x10]
push eax
call sub.wininet.dll_InternetSetOptionA
push 0
push 0
push 0x25
mov eax, dword [ebp - 0x10]
push eax
call sub.wininet.dll_InternetSetOptionA
mov eax, dword [ebp - 0x10]
push eax
call sub.wininet.dll_InternetCloseHandle
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x482de7
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404c58
lea eax, [ebp + 0xc]
call fcn.00404c34
ret

Function at 0x486b14
Capabilities:
Get geographical location

Disassembly:
add esp, 0xfffffff4
mov eax, esp
xor ecx, ecx
mov edx, 0xa
call fcn.00403688
push 0xa
lea eax, [esp + 4]
push eax
push 0xd
push 0x400
call sub.kernel32.dll_GetLocaleInfoA_1
cmp byte [esp], 0x31
jne 0x486b42
mov al, 1
jmp 0x486b44
xor eax, eax
add esp, 0xc
ret
Function at 0x48cd08
Capabilities:
Hash data using sha1

Disassembly:
mov dword [eax], 0x67452301
xor edx, edx
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x10], 0xc3d2e1f0
mov dword [eax + 0x18], edx
mov dword [eax + 0x14], edx
ret

Function at 0x48cee4
Capabilities:
Encode data using base64

Disassembly:
push esi
push edi
push ebp
add esp, 0xfffffff4
mov dword [esp + 4], eax
mov dword [esp + 8], edx
xor esi, esi
xor edi, edi
xor eax, eax
mov ebp, ecx
test ebp, ebp
jns 0x48cf01
add ebp, 3
sar ebp, 2
test ebp, ebp
jle 0x48d013
mov edx, 4
mov eax, esp
mov ecx, dword [esp + 4]
movzx ecx, byte [ecx + esi]
cmp ecx, 0x3d
jg 0x48cf34
je 0x48cf80
sub ecx, 0x2b
je 0x48cf76
sub ecx, 4
je 0x48cf7b
dec ecx
sub ecx, 0xa
jb 0x48cf65
jmp 0x48cf83
add ecx, 0xffffffbf
sub ecx, 0x1a
jb 0x48cf46
add ecx, 0xfffffffa
sub ecx, 0x1a
jb 0x48cf54
jmp 0x48cf83
mov ecx, dword [esp + 4]
mov cl, byte [ecx + esi]
sub cl, 0x41
mov byte [eax], cl
jmp 0x48cf83
mov ecx, dword [esp + 4]
mov cl, byte [ecx + esi]
sub cl, 0x61
add cl, 0x1a
mov byte [eax], cl
jmp 0x48cf83
mov ecx, dword [esp + 4]
mov cl, byte [ecx + esi]
sub cl, 0x30
add cl, 0x34
mov byte [eax], cl
jmp 0x48cf83
mov byte [eax], 0x3e
jmp 0x48cf83
mov byte [eax], 0x3f
jmp 0x48cf83
mov byte [eax], 0xff
inc esi
inc eax
dec edx
jne 0x48cf13
mov al, byte [esp]
shl eax, 2
xor edx, edx
mov dl, byte [esp + 1]
shr edx, 4
or al, dl
mov edx, dword [esp + 8]
mov byte [edx + edi], al
lea eax, [edi + 1]
mov dl, byte [esp + 2]
cmp dl, 0xff
je 0x48cfd3
cmp byte [esp + 3], 0xff
jne 0x48cfd3
mov al, byte [esp + 1]
shl eax, 4
and edx, 0xff
shr edx, 2
or al, dl
mov edx, dword [esp + 8]
mov byte [edx + edi + 1], al
lea eax, [edi + 2]
inc edi
jmp 0x48d00b
cmp dl, 0xff
je 0x48d00b
mov al, byte [esp + 1]
shl eax, 4
and edx, 0xff
shr edx, 2
or al, dl
mov edx, dword [esp + 8]
mov byte [edx + edi + 1], al
mov eax, dword [esp + 8]
mov dl, byte [esp + 2]
shl edx, 6
or dl, byte [esp + 3]
mov byte [eax + edi + 2], dl
lea eax, [edi + 3]
add edi, 2
inc edi
dec ebp
jne 0x48cf0c
add esp, 0xc
pop ebp
pop edi
pop esi
ret
Function at 0x48d9f4
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
mov edi, edx
mov eax, dword [ebp - 4]
mov ebx, dword [ebp + 0xc]
add eax, 0x3c
mov esi, 0x10
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x38]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp + 8]
add eax, dword [ebp - 8]
mov dword [edx], eax
cmp esi, eax
jbe 0x48da5c
mov ecx, dword [ebp - 8]
push ecx
push edi
mov eax, dword [ebp - 4]
add eax, dword [ebp - 0x10]
add eax, 0x28
push eax
call fcn.0048d0b8
add esp, 0xc
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 8]
add dword [edx + 0x38], ecx
mov eax, dword [ebp + 8]
xor edx, edx
mov dword [eax], edx
xor eax, eax
jmp 0x48db67
cmp ebx, edi
jne 0x48da6a
mov eax, 0x1001
jmp 0x48db67
mov edx, esi
sub edx, dword [ebp - 0x10]
push edx
push edi
mov ecx, dword [ebp - 4]
add ecx, dword [ebp - 0x10]
add ecx, 0x28
push ecx
call fcn.0048d0b8
mov eax, esi
mov edx, esi
sub eax, dword [ebp - 0x10]
sub edx, dword [ebp - 0x10]
sub dword [ebp - 8], edx
add edi, eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 4]
add esp, 0xc
mov eax, dword [ecx + 0x18]
xor eax, dword [edx + 0x28]
mov dword [ebx], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 4]
mov eax, dword [ecx + 0x1c]
xor eax, dword [edx + 0x2c]
mov dword [ebx + 4], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 4]
mov eax, dword [ecx + 0x20]
xor eax, dword [edx + 0x30]
mov dword [ebx + 8], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 4]
mov eax, dword [ecx + 0x24]
xor eax, dword [edx + 0x34]
mov edx, ebx
mov dword [ebx + 0xc], eax
mov eax, dword [ebp - 0xc]
call fcn.0048f548
add ebx, esi
cmp esi, dword [ebp - 8]
ja 0x48db19
mov eax, ebx
sub eax, esi
mov edx, dword [eax]
xor edx, dword [edi]
mov dword [ebx], edx
mov ecx, dword [eax + 4]
xor ecx, dword [edi + 4]
mov dword [ebx + 4], ecx
mov edx, dword [eax + 8]
xor edx, dword [edi + 8]
mov dword [ebx + 8], edx
mov eax, dword [eax + 0xc]
xor eax, dword [edi + 0xc]
mov dword [ebx + 0xc], eax
mov edx, ebx
mov eax, dword [ebp - 0xc]
call fcn.0048f548
add edi, esi
add ebx, esi
sub dword [ebp - 8], esi
cmp esi, dword [ebp - 8]
jbe 0x48dade
mov eax, ebx
mov ecx, dword [ebp - 4]
sub eax, esi
mov edx, dword [eax]
mov dword [ecx + 0x18], edx
mov ecx, dword [ebp - 4]
mov edx, dword [eax + 4]
mov dword [ecx + 0x1c], edx
mov ecx, dword [ebp - 4]
mov edx, dword [eax + 8]
mov dword [ecx + 0x20], edx
mov edx, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov dword [edx + 0x24], eax
mov eax, dword [ebp - 8]
push eax
push edi
mov ecx, dword [ebp - 4]
add ecx, 0x28
push ecx
call fcn.0048d0b8
add esp, 0xc
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov dword [eax + 0x38], edx
mov ecx, dword [ebp + 8]
mov eax, dword [ebp - 8]
sub dword [ecx], eax
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8