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

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x494aac]
cmp byte [eax + 0xc], 0
je 0x447abd
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x447ab6
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x495b98], 0
jne 0x4479a4
push 0x447ac4
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x447acc
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x495b98], eax
cmp dword [0x493d84], 0
jne 0x447a9f
push 0x447adc
call sub.kernel32.dll_LoadLibraryA
mov dword [0x493d84], eax
cmp dword [0x493d84], 0
je 0x447a9f
push 0x447ae8
mov eax, dword [0x493d84]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x495b9c], eax
push 0x447af8
mov eax, dword [0x493d84]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x495ba0], eax
push 0x447b0c
mov eax, dword [0x493d84]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x495ba4], eax
push 0x447b24
mov eax, dword [0x493d84]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x495ba8], eax
push 0x447b3c
mov eax, dword [0x493d84]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x495bac], eax
push 0x447b50
mov eax, dword [0x493d84]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x495bb0], eax
push 0x447b68
mov eax, dword [0x493d84]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x495bb4], eax
push 0x447b80
mov eax, dword [0x493d84]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x495bb8], eax
push 0x447b9c
mov eax, dword [0x493d84]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x495bbc], eax
push 0x447ba8
mov eax, dword [0x493d84]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x495bc0], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x447abd
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x44b948
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.00404574
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x44b997
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.004047e4
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x453168
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x4531b8]
test si, 4
je 0x45317c
or bl, 1
test si, 8
je 0x453186
or bl, 4
test si, 1
je 0x453190
or bl, 8
test si, 2
je 0x45319a
or bl, 0x10
test si, 0x10
je 0x4531a4
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4531b3
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x4531bc
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x4531f4]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4531d5
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4531e4
or bl, 4
test esi, 0x20000000
je 0x4531ef
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x4598b8
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x4598ca
add esp, 0xfffffff0
call fcn.004039d8
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00422fb4
mov eax, dword [0x4945a4]
mov dword [eax + 4], ebx
mov dword [eax], 0x459c5c
mov eax, dword [0x4945b8]
mov dword [eax + 4], ebx
mov dword [eax], 0x459c68
mov eax, ebx
call fcn.00459c74
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x41a2cc]
call fcn.00403670
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x41a2cc]
call fcn.00403670
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x41a2cc]
call fcn.00403670
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x41a2cc]
call fcn.00403670
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x41a2cc]
call fcn.00403670
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, 0x45608c
push eax
push 0
push 0
mov eax, dword [0x4947cc]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x424a08]
call fcn.004261a0
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x424a08]
call fcn.004261a0
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x424a08]
call fcn.004261a0
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.0045a0c4
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x459f8c
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x459f8c
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x459f8c
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x459a07
call fcn.00403a30
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x459d70
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 0x459f1b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x459efc
mov dl, 1
mov eax, dword [0x41a930]
call fcn.00403670
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00404574
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x459eeb
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.00447cb0
test al, al
je 0x459ede
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, 0x459f2c
lea eax, [ebp - 0x254]
call fcn.00409b80
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x459ede
xor eax, eax
push ebp
push 0x459ed7
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 0x459f64
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x459ec0
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004047e4
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 0x459ec0
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004047e4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x459ede
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x459de1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.0041ec9c
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 0x459f22
lea eax, [ebp - 0x260]
call fcn.00404574
ret

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

Disassembly:
push ecx
mov eax, dword [0x495be4]
cmp byte [eax + 0xa5], 0
jne 0x45a8d5
cmp dword [0x495bfc], 0
jne 0x45a896
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x45a820
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x495bfc], eax
cmp dword [0x495bf8], 0
jne 0x45a8b1
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x495bf8], eax
cmp dword [0x495c00], 0
jne 0x45a8d5
push esp
push 0
push 0
push 0x45a7c4
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x495c00], eax
pop edx
ret
Function at 0x45af68
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x495be4]
cmp dword [eax + 0x30], 0
je 0x45b012
cmp dword [ebx + 0x94], 0
jne 0x45b00c
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x45aef8
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x45b00c
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 0x45afd2
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x45b00c
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.0041c8d8
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x45afe1
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x45bb70
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 0x45bba5
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.00404664
jmp 0x45bbb2
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.004045c8
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x45ccc4
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x45cd05
mov eax, esi
call fcn.004432dc
test al, al
je 0x45cd05
mov eax, dword [ebx + 0x84]
call fcn.00442fd8
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x45cd05
push 0
mov eax, dword [ebx + 0x84]
call fcn.00442fd8
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x464748
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], edx
mov esi, eax
mov ebx, dword [ebp + 8]
mov eax, ebx
call fcn.00404574
lea eax, [ebp - 0xc]
push eax
mov eax, esi
call fcn.00404a34
push eax
push edi
call sub.advapi32.dll_RegOpenKeyA
test eax, eax
jne 0x4647ef
xor eax, eax
push ebp
push 0x4647e8
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], pe_nt_image_headers32
mov eax, ebx
mov edx, dword [ebp - 8]
call fcn.00404bc0
lea eax, [ebp - 8]
push eax
mov eax, dword [ebx]
call fcn.00404a34
push eax
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.00404a34
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x4647ca
mov edx, dword [ebp - 8]
dec edx
mov eax, ebx
call fcn.00404bc0
jmp 0x4647d1
mov eax, ebx
call fcn.00404574
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4647ef
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x464830
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 [0x419a58]
call fcn.00404f10
xor eax, eax
push ebp
push 0x464974
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x494064], 0
jne 0x464883
mov ecx, dword [0x49447c]
mov dl, 1
mov eax, dword [0x407be8]
call fcn.0040cc48
call fcn.00403f04
lea eax, [ebp - 0x20]
xor ecx, ecx
mov edx, 0x10
call fcn.00403028
mov eax, ebx
call fcn.00404ddc
mov dword [ebp - 0x1c], eax
push esi
push edi
mov esi, 0x464984
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.00406258
xor eax, eax
mov dword [ebp - 8], eax
mov eax, ebx
call fcn.00404dec
test eax, eax
jle 0x46491b
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 0x464914
lea eax, [ebp - 0x44]
mov edx, ebx
call fcn.004047fc
mov eax, dword [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
lea edx, [ebp - 0x40]
mov ecx, 0x10
call fcn.004047e4
mov eax, dword [ebp - 0x48]
pop edx
call fcn.00408b38
test eax, eax
jne 0x464914
mov ebx, 0x15
jmp 0x464920
mov ebx, 0x10
jmp 0x464920
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 [0x494064]
call fcn.00464620
mov eax, dword [ebp - 8]
call fcn.00464620
mov eax, edi
mov edx, dword [ebp - 0xc]
call fcn.00406270
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46497b
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.00404598
lea eax, [ebp - 0x10]
mov edx, dword [0x419a58]
call fcn.00404fe0
ret
Function at 0x47eb78
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x18], edx
mov dword [ebp - 8], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x47ecf9
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4943b0], 0
jne 0x47ecd6
push 0x495c50
call sub.kernel32.dll_EnterCriticalSection_1
xor eax, eax
push ebp
push 0x47eccf
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4943b0], 0
jne 0x47ecb7
mov dword [ebp - 4], pe_nt_image_headers32
lea eax, [ebp - 8]
mov edx, dword [ebp - 4]
call fcn.00404bc0
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp - 8]
call fcn.00404a34
push eax
lea eax, [ebp - 0xc]
push eax
lea edx, [ebp - 0x18]
mov eax, ebx
call fcn.00408864
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0xb
lea edx, [ebp - 0x14]
xor ecx, ecx
mov eax, 0x47ed10
call fcn.00409c18
mov eax, dword [ebp - 0xc]
call fcn.00404a34
push eax
push 0x80000000
call sub.advapi32.dll_RegQueryValueA
test eax, eax
jne 0x47ec38
lea eax, [ebp - 8]
mov edx, dword [ebp - 4]
call fcn.00404bc0
jmp 0x47ec6f
lea eax, [ebp - 8]
mov edx, 0x47ed30
call fcn.0040460c
xor eax, eax
push ebp
push 0x47ec65
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
call fcn.00464994
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x47ec6f
mov eax, dword [ebp - 8]
call fcn.00404a34
push eax
call sub.kernel32.dll_LoadLibraryA
mov dword [0x4943b0], eax
cmp dword [0x4943b0], 0
jne 0x47eca2
mov ecx, dword [0x49477c]
mov dl, 1
mov eax, dword [0x407be8]
call fcn.0040cc48
call fcn.00403f04
push 0x47ed3c
mov eax, dword [0x4943b0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x495c68], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47ecd6
push 0x495c50
call sub.kernel32.dll_LeaveCriticalSection_1
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47ed00
lea eax, [ebp - 0x18]
call fcn.00404574
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.00404598
ret
Function at 0x48a270
Capabilities:
Access peb ldr_data
Check for peb ntglobalflag flag

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov ebx, eax
cmp byte [ebx + 0x87], 0
je 0x48a2ab
cmp dword [ebx + 0x5c], 0
je 0x48a2ab
mov eax, dword [ebx + 0x5c]
push eax
mov esi, dword [ebx + 0x68]
mov eax, dword [esi + 0x1a8]
push eax
mov eax, dword [eax]
call dword [eax + 0xb8]
mov edx, eax
mov eax, esi
call fcn.00482780
xor eax, eax
mov dword [ebx + 0x5c], eax
mov byte [ebx + 0x87], 0
cmp dword [ebx + 0x5c], 0
jne 0x48a3f6
cmp dword [ebx + 0x7c], 0
jne 0x48a2d1
mov dl, 1
mov eax, dword [0x41a388]
call fcn.00403670
mov dword [ebx + 0x7c], eax
cmp dword [ebx + 0xc], 0
je 0x48a3cf
mov eax, dword [ebx + 0xc]
push eax
mov al, byte [0x48a3fc]
push eax
mov al, byte [0x48a400]
push eax
push 0
mov eax, dword [ebx + 0x7c]
push eax
mov eax, dword [0x4947a4]
push eax
mov ecx, dword [ebx + 0x68]
mov dl, 1
mov eax, dword [0x47a9b8]
call fcn.0047c908
mov dword [ebp - 4], eax
xor edx, edx
push ebp
push 0x48a3c8
push dword fs:[edx]
mov dword fs:[edx], esp
lea eax, [ebx + 0x5c]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x50]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x58]
push eax
mov eax, dword [ebx + 0x64]
push eax
mov esi, dword [ebx + 0x68]
mov eax, dword [esi + 0x1a8]
push eax
mov eax, dword [eax]
call dword [eax + 0xb4]
mov edx, eax
mov eax, esi
call fcn.00482780
lea eax, [ebx + 0x10]
push eax
mov eax, dword [ebx + 0x5c]
push eax
mov esi, dword [ebx + 0x68]
mov eax, dword [esi + 0x1a8]
push eax
mov eax, dword [eax]
call dword [eax + 0xc0]
mov edx, eax
mov eax, esi
call fcn.00482780
mov eax, dword [ebx + 0x40]
push eax
lea eax, [ebx + 0x70]
mov ecx, 1
mov edx, dword [0x47fd78]
call fcn.004059cc
add esp, 4
mov eax, dword [ebx + 0x30]
cmp eax, 0x1a
jge 0x48a39b
mov edx, dword [0x4949a4]
mov al, byte [edx + eax]
mov byte [ebx + 0x74], al
jmp 0x48a3ac
cmp eax, 0x1007
jne 0x48a3a8
mov byte [ebx + 0x74], 0x18
jmp 0x48a3ac
mov byte [ebx + 0x74], 0
mov eax, dword [ebx + 0x40]
mov dword [ebx + 0x78], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48a3f6
mov eax, dword [ebp - 4]
call fcn.004036a0
ret
lea eax, [ebx + 0x5c]
push eax
push 0
push 0
mov eax, dword [ebx + 0x64]
push eax
mov esi, dword [ebx + 0x68]
mov eax, dword [esi + 0x1a8]
push eax
mov eax, dword [eax]
call dword [eax + 0xb4]
mov edx, eax
mov eax, esi
call fcn.00482780
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x48d5a4
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffebc
push ebx
push esi
xor edx, edx
mov dword [ebp - 0x140], edx
mov dword [ebp - 0x144], edx
mov dword [ebp - 0x13c], edx
mov dword [ebp - 0x128], edx
mov dword [ebp - 4], edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x14], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x48d7b1
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x44]
lea eax, [ebp - 0xc]
call fcn.00406258
push eax
push 0x48d7c0
push 1
push 0
mov eax, dword [0x4944e4]
push eax
call sub.ole32.dll_CoCreateInstance
mov esi, eax
mov eax, esi
call fcn.00419b70
test al, al
je 0x48d66f
lea eax, [ebp - 4]
call fcn.00406258
push eax
push 0
push 0
mov eax, dword [0x494608]
push eax
push 1
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [eax]
call dword [eax + 0x14]
call fcn.00464620
jmp 0x48d653
lea edx, [ebp - 0x128]
lea eax, [ebp - 0x24]
call fcn.0046471c
mov edx, dword [ebp - 0x128]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x38]
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x24]
push eax
push 1
mov eax, dword [ebp - 4]
push eax
mov eax, dword [eax]
call dword [eax + 0xc]
test eax, eax
je 0x48d638
jmp 0x48d770
lea eax, [ebp - 0x10]
push eax
push 0x48d7d0
push 0x80000000
call sub.advapi32.dll_RegOpenKeyA
test eax, eax
je 0x48d770
xor eax, eax
push ebp
push 0x48d769
push dword fs:[eax]
mov dword fs:[eax], esp
xor esi, esi
jmp 0x48d734
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x124]
mov dword [ebp - 0x138], eax
mov byte [ebp - 0x134], 6
lea edx, [ebp - 0x13c]
mov eax, dword [0x494608]
call fcn.00464694
mov eax, dword [ebp - 0x13c]
mov dword [ebp - 0x130], eax
mov byte [ebp - 0x12c], 0xb
lea edx, [ebp - 0x138]
mov ecx, 1
mov eax, 0x48d7e0
call fcn.00409c18
lea eax, [ebp - 0x144]
lea edx, [ebp - 0x124]
mov ecx, pe_nt_image_headers32
call fcn.004047e4
mov eax, dword [ebp - 0x144]
lea edx, [ebp - 0x138]
call fcn.00464638
lea eax, [ebp - 0x138]
lea edx, [ebp - 0x140]
call fcn.0046471c
mov edx, dword [ebp - 0x140]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x38]
inc esi
push pe_nt_image_headers32
lea eax, [ebp - 0x124]
push eax
push esi
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_RegEnumKeyA
test eax, eax
je 0x48d69f
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48d770
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48d7b8
lea eax, [ebp - 0x144]
mov edx, 3
call fcn.00404598
lea eax, [ebp - 0x128]
call fcn.00404574
lea eax, [ebp - 0x14]
call fcn.00404574
lea eax, [ebp - 0xc]
call fcn.00406258
lea eax, [ebp - 4]
call fcn.00406258
ret
Function at 0x48d868
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov edi, edx
mov esi, eax
xor ebx, ebx
push pe_nt_image_headers32
lea eax, [ebp - 0x104]
push eax
push edi
push esi
call sub.advapi32.dll_RegEnumKeyA
test eax, eax
jne 0x48d8a9
mov eax, dword [ebp - 4]
lea edx, [ebp - 0x104]
mov ecx, pe_nt_image_headers32
call fcn.004047e4
mov bl, 1
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x48d8b4
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef8
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov edi, edx
mov esi, eax
xor ebx, ebx
mov dword [ebp - 8], pe_nt_image_headers32
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x108]
push eax
mov eax, edi
call fcn.00404a34
push eax
push esi
call sub.advapi32.dll_RegQueryValueA
test eax, eax
jne 0x48d902
mov eax, dword [ebp - 4]
lea edx, [ebp - 0x108]
mov ecx, pe_nt_image_headers32
call fcn.004047e4
mov bl, 1
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x491240
Capabilities:
Parse url

Disassembly:
push ebx
push esi
push edi
add esp, 0xffffffc4
mov esi, edx
mov ebx, eax
xor edx, edx
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x48]
mov eax, dword [ebx + 0xd4]
mov edx, esi
call fcn.00404980
je 0x49134e
test esi, esi
je 0x49131b
mov eax, esp
xor ecx, ecx
mov edx, 0x3c
call fcn.00403028
mov dword [esp], 0x3c
mov dword [esp + 8], 1
mov dword [esp + 0x14], 1
mov dword [esp + 0x30], 1
mov eax, esi
call fcn.00404a34
mov edi, eax
push esp
push 0
push 0
push edi
call sub.wininet.dll_InternetCrackUrlA
mov eax, dword [esp + 0xc]
add eax, 0xfffffffd
sub eax, 2
jb 0x4912d2
mov ecx, dword [0x494558]
mov dl, 1
mov eax, dword [0x407be8]
call fcn.0040cc48
call fcn.00403f04
mov eax, dword [esp + 0xc]
mov dword [ebx + 0xe4], eax
movzx eax, word [esp + 0x18]
mov dword [ebx + 0xe0], eax
lea eax, [ebx + 0xd8]
push eax
mov edx, dword [esp + 0x14]
sub edx, edi
inc edx
mov ecx, dword [esp + 0x18]
mov eax, esi
call fcn.00404a94
lea eax, [ebx + 0xdc]
push eax
mov edx, dword [esp + 0x30]
sub edx, edi
inc edx
mov ecx, dword [esp + 0x34]
mov eax, esi
call fcn.00404a94
jmp 0x491341
xor eax, eax
mov dword [ebx + 0xe0], eax
lea eax, [ebx + 0xd8]
call fcn.00404574
lea eax, [ebx + 0xdc]
call fcn.00404574
xor eax, eax
mov dword [ebx + 0xe4], eax
lea eax, [ebx + 0xd4]
mov edx, esi
call fcn.004045c8
add esp, 0x3c
pop edi
pop esi
pop ebx
ret