joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45dc40
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 0x45ddeb
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x45ddcc
mov dl, 1
mov eax, dword [0x4188cc]
call fcn.00403378
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00404198
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x45ddbb
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.0044b74c
test al, al
je 0x45ddae
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, 0x45ddfc
lea eax, [ebp - 0x254]
call fcn.004095f0
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x45ddae
xor eax, eax
push ebp
push 0x45dda7
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 0x45de34
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x45dd90
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404408
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 0x45dd90
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404408
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45ddae
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x45dcb1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.0041d1f4
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 0x45ddf2
lea eax, [ebp - 0x260]
call fcn.00404198
ret

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

Disassembly:
push ecx
mov eax, dword [0x4aebec]
cmp byte [eax + 0xa5], 0
jne 0x45e7d9
cmp dword [0x4aec04], 0
jne 0x45e79a
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x45e724
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x4aec04], eax
cmp dword [0x4aec00], 0
jne 0x45e7b5
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x4aec00], eax
cmp dword [0x4aec08], 0
jne 0x45e7d9
push esp
push 0
push 0
push 0x45e6c8
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x4aec08], eax
pop edx
ret
Function at 0x45e8d0
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x45e8e7
add esp, 0xfffffff0
call fcn.004036cc
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0042163c
mov eax, dword [0x4acc78]
cmp word [eax + 2], 0
jne 0x45e90f
mov eax, dword [0x4acc78]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00460038
mov eax, dword [0x4ace28]
cmp word [eax + 2], 0
jne 0x45e929
mov eax, dword [0x4ace28]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00460230
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x418268]
call fcn.00403378
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x418268]
call fcn.00403378
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 [0x4241b8]
call fcn.0042b9fc
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x45eab0
mov eax, dword [0x4aca60]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.0042bdcc
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x4607e0
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x4aca60]
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.0040cec0
test eax, eax
je 0x45ea1e
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00408fd0
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040cee8
test eax, eax
je 0x45ea32
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.00404408
mov eax, dword [0x4ac700]
cmp byte [eax], 0
jne 0x45ea66
mov eax, ebx
call fcn.0045ebd8
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.004609bc
mov eax, ebx
call fcn.00461380
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x45eaa6
call fcn.00403724
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x45ee58
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x4aebec]
cmp dword [eax + 0x30], 0
je 0x45ef02
cmp dword [ebx + 0x94], 0
jne 0x45eefc
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x45ede8
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x45eefc
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 0x45eec2
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x45eefc
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.0041aa5c
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x45eed1
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x45fa64
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 0x45fa99
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.00404288
jmp 0x45faa6
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.004041ec
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x460b98
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x460bd9
mov eax, esi
call fcn.00446d34
test al, al
je 0x460bd9
mov eax, dword [ebx + 0x84]
call fcn.00446a30
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x460bd9
push 0
mov eax, dword [ebx + 0x84]
call fcn.00446a30
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x46612c
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa4
xor eax, eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x46630c
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x28]
mov edx, 0x24
call fcn.0046a5dc
lea eax, [ebp - 0x28]
push eax
call sub.kernel32.dll_GetSystemInfo
mov eax, dword [ebp - 0x14]
mov dword [0x4aa558], eax
mov eax, dword [ebp - 0xc]
mov dword [0x4aa55c], eax
mov eax, dword [ebp - 0x24]
mov dword [0x4aa560], eax
mov eax, dword [0x4ad134]
cmp dword [eax], 2
sete byte [0x4a9e3c]
push 0x466318
call sub.kernel32.dll_GetModuleHandleA_2
lea edx, [ebp - 4]
call fcn.004697c0
xor eax, eax
mov dword [ebp - 0x2c], eax
cmp byte [0x4a9e3c], 0
jne 0x4661bb
lea edx, [ebp - 0x5c]
mov eax, dword [ebp - 4]
call fcn.00469904
test al, al
je 0x4661bb
mov eax, dword [ebp - 0x4c]
mov dword [0x4aec6c], eax
jmp 0x4661c2
xor eax, eax
mov dword [0x4aec6c], eax
call fcn.00465e64
and eax, 0x7f
cmp eax, 0x12
ja case.0x4661d3.0
jmp dword [eax*4 + 0x4661da]
mov byte [0x4a9e28], 1
jmp case.0x4661d3.0
mov byte [0x4a9e2c], 1
jmp case.0x4661d3.0
mov byte [0x4a9e30], 1
jmp case.0x4661d3.0
mov byte [0x4a9e34], 1
jmp case.0x4661d3.0
mov byte [0x4a9e38], 1
jmp case.0x4661d3.0
mov byte [0x4a9e40], 1
mov byte [0x4a9e44], 1
jmp case.0x4661d3.0
mov byte [0x4a9e40], 1
mov byte [0x4a9e48], 1
jmp case.0x4661d3.0
mov byte [0x4a9e40], 1
mov byte [0x4a9e48], 1
mov byte [0x4a9e4c], 1
jmp case.0x4661d3.0
mov byte [0x4a9e50], 1
jmp case.0x4661d3.0
mov byte [0x4a9e54], 1
jmp case.0x4661d3.0
mov byte [0x4a9e58], 1
jmp case.0x4661d3.0
mov byte [0x4a9e5c], 1
jmp case.0x4661d3.0
mov byte [0x4a9e60], 1
jmp case.0x4661d3.0
mov byte [0x4a9e64], 1
jmp case.0x4661d3.0
mov byte [0x4a9e68], 1
jmp case.0x4661d3.0
mov byte [0x4a9e6c], 1
jmp case.0x4661d3.0
mov byte [0x4a9e70], 1
jmp case.0x4661d3.0
mov byte [0x4a9e74], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x466313
lea eax, [ebp - 4]
call fcn.00404198
ret

Function at 0x467df4
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
xor edx, edx
mov dword [ebp - 0xc], edx
xor edx, edx
push ebp
push 0x467e58
push dword fs:[edx]
mov dword fs:[edx], esp
push 6
lea edx, [ebp - 7]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
lea eax, [ebp - 0xc]
lea edx, [ebp - 7]
mov ecx, 7
call fcn.00404408
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.00408a10
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x467e5f
lea eax, [ebp - 0xc]
call fcn.00404198
ret
Function at 0x468ab4
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
test dl, dl
je 0x468ac9
add esp, 0xfffffff0
call fcn.004036cc
mov dword [ebp - 8], ecx
mov byte [ebp - 1], dl
mov ebx, eax
mov esi, dword [ebp + 8]
xor edx, edx
mov eax, ebx
call fcn.00403378
lea eax, [ebx + 0xc]
mov edx, esi
call fcn.004041ec
mov eax, esi
call fcn.00404658
push eax
xor eax, eax
mov al, byte [ebp + 0xc]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_CreateMutexA
mov edi, eax
mov dword [ebx + 8], edi
test edi, edi
jne 0x468b1e
mov ecx, dword [0x4acf70]
mov dl, 1
mov eax, dword [0x46888c]
call fcn.00462f3c
call fcn.00403b34
call sub.kernel32.dll_GetLastError
cmp eax, 0xb7
sete al
mov byte [ebx + 4], al
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x468b45
call fcn.00403724
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret 8

Function at 0x469904
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], edx
mov esi, eax
xor eax, eax
push ebp
push 0x4699ba
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
xor eax, eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push eax
mov eax, esi
call fcn.00404658
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov edi, eax
test edi, edi
jbe 0x4699a4
lea eax, [ebp - 0x10]
mov edx, edi
call fcn.004047e4
xor eax, eax
mov dword [ebp - 8], eax
xor eax, eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x10]
push eax
push edi
mov eax, dword [ebp - 0xc]
push eax
mov eax, esi
call fcn.00404658
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x4699a4
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x4699cc
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x4699a4
cmp dword [ebp - 8], 0x34
jne 0x4699a4
mov bl, 1
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 4]
mov esi, eax
mov edi, edx
mov ecx, 0xd
rep movsd dword es:[edi], dword [esi]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4699c1
lea eax, [ebp - 0x10]
call fcn.00404198
ret

Function at 0x46abbc
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
call fcn.0046ab78
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x46ac30
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov dword [0x4b0ad4], eax
mov ebx, 0x46ab04
lea eax, [ebp - 8]
push eax
push 0x40
push 4
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
je 0x46ac30
xor eax, eax
push ebp
push 0x46ac29
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov dword [eax], ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46ac30
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
push eax
push 4
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_VirtualProtect
ret
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x46ac38
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
call fcn.0046ab78
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x46aca3
mov ebx, dword [0x4b0ad4]
lea eax, [ebp - 8]
push eax
push 0x40
push 4
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
je 0x46aca3
xor eax, eax
push ebp
push 0x46ac9c
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov dword [eax], ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46aca3
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
push eax
push 4
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_VirtualProtect
ret
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4753cc
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x4753fa
mov eax, ebx
call fcn.00475e80
cmp dword [ebx + 0x40], 0
je 0x4753f3
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x47546b
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x47545d
cmp dword [ebx + 8], 0
je 0x47541c
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 0x47542e
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x47545d
cmp dword [ebx + 8], 0
je 0x47540f
cmp eax, 3
je 0x475441
dec eax
jne 0x47540f
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 0x47540f
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x47540f
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x475489
cmp dword [ebx + 0x14], 0xcc
je 0x475489
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.00475494
pop ebx
ret

Function at 0x48b18c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x48b243
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov si, word [eax + 8]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
call fcn.00404458
mov edx, eax
lea eax, [ebp - 0xc]
call fcn.004047e4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
call fcn.00404458
test al, al
jbe 0x48b21f
mov byte [ebp - 0xd], al
mov bl, 1
lea eax, [ebp - 0xc]
call fcn.004046b0
mov edi, ebx
and edi, 0xff
mov edx, dword [ebp - 4]
mov edx, dword [edx + 4]
mov dl, byte [edx + edi - 1]
movzx ecx, si
shr ecx, 8
xor dl, cl
mov byte [eax + edi - 1], dl
mov eax, dword [ebp - 0xc]
movzx eax, byte [eax + edi - 1]
add si, ax
imul ax, si, 0x4b
add ax, 0x5f
mov esi, eax
inc ebx
dec byte [ebp - 0xd]
jne 0x48b1de
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.0048b05c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48b24a
lea eax, [ebp - 0xc]
call fcn.00404198
ret
Function at 0x48b254
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x48b2fd
push dword fs:[eax]
mov dword fs:[eax], esp
mov si, word [ebx + 8]
lea ecx, [ebp - 8]
mov edx, dword [ebx + 4]
mov eax, ebx
call fcn.0048b0c8
mov eax, dword [ebp - 8]
call fcn.00404458
mov edx, eax
mov eax, dword [ebp - 4]
call fcn.004047e4
mov eax, dword [ebp - 8]
call fcn.00404458
test al, al
jbe 0x48b2e7
mov byte [ebp - 9], al
mov bl, 1
mov eax, dword [ebp - 4]
call fcn.004046b0
mov edi, ebx
and edi, 0xff
mov edx, dword [ebp - 8]
mov dl, byte [edx + edi - 1]
movzx ecx, si
shr ecx, 8
xor dl, cl
mov byte [eax + edi - 1], dl
mov eax, dword [ebp - 8]
movzx eax, byte [eax + edi - 1]
add si, ax
imul ax, si, 0x4b
add ax, 0x5f
mov esi, eax
inc ebx
dec byte [ebp - 9]
jne 0x48b2a9
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48b304
lea eax, [ebp - 8]
call fcn.00404198
ret

Function at 0x48b894
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x14], ecx
mov edi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404648
xor eax, eax
push ebp
push 0x48b9ca
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x48b99a
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 4]
call fcn.00404658
mov esi, eax
push esi
call sub.version.dll_GetFileVersionInfoSizeA
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 1
jae 0x48b8ff
mov eax, edi
call fcn.00404198
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x48b9a4
mov eax, dword [ebp - 8]
call fcn.0040835c
mov ebx, eax
push ebx
mov eax, dword [ebp - 8]
push eax
push 0
push esi
call sub.version.dll_GetFileVersionInfoA
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x1c]
push eax
push 0x48b9d8
push ebx
call sub.version.dll_VerQueryValueA
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax]
call fcn.0040710c
mov edx, dword [ebp - 0x1c]
mov dx, word [edx]
call fcn.00407100
lea ecx, [ebp - 0x14]
mov edx, 8
call fcn.004089ac
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x18]
push eax
push 0x48b9f8
push dword [ebp - 0x14]
push 0x48ba10
lea eax, [ebp - 0x20]
mov edx, 3
call fcn.00404518
mov eax, dword [ebp - 0x20]
call fcn.00404658
push eax
push ebx
call sub.version.dll_VerQueryValueA
mov edx, dword [ebp - 8]
mov eax, ebx
call fcn.0040279c
mov eax, edi
mov edx, dword [ebp - 0x18]
call fcn.00404390
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x48b9a4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48b9d1
lea eax, [ebp - 0x20]
call fcn.00404198
lea eax, [ebp - 0x14]
call fcn.00404198
lea eax, [ebp - 4]
call fcn.00404198
ret

Function at 0x48ba20
Capabilities:
Check internet connectivity via wininet

Disassembly:
push ecx
mov dword [esp], 7
push 0
lea eax, [esp + 4]
push eax
call sub.wininet.dll_InternetGetConnectedState
cmp eax, 1
sbb eax, eax
inc eax
pop edx
ret
Function at 0x49a684
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
mov ecx, 8
push 0
push 0
dec ecx
jne 0x49a68c
push ecx
push ebx
push esi
push edi
mov ebx, eax
xor eax, eax
push ebp
push 0x49a87e
push dword fs:[eax]
mov dword fs:[eax], esp
mov esi, dword [ebx + 8]
lea ecx, [ebp - 0xc]
mov edx, 0x49a894
mov eax, esi
call fcn.00498510
mov edx, dword [ebp - 0xc]
lea eax, [ebx + 0xc]
call fcn.004041ec
lea ecx, [ebp - 0x10]
mov edx, 0x49a8a8
mov eax, esi
call fcn.00498510
mov edx, dword [ebp - 0x10]
lea eax, [ebx + 0x28]
call fcn.004041ec
lea ecx, [ebp - 0x14]
mov edx, 0x49a8c0
mov eax, esi
call fcn.00498510
mov edx, dword [ebp - 0x14]
lea eax, [ebx + 0x10]
call fcn.004041ec
lea ecx, [ebp - 0x18]
mov edx, 0x49a8dc
mov eax, esi
call fcn.00498510
mov edx, dword [ebp - 0x18]
lea eax, [ebx + 0x14]
call fcn.004041ec
lea ecx, [ebp - 0x1c]
mov edx, 0x49a8f8
mov eax, esi
call fcn.00498510
mov edx, dword [ebp - 0x1c]
lea eax, [ebx + 0x24]
call fcn.004041ec
lea ecx, [ebp - 0x24]
mov edx, 0x49a910
mov eax, esi
call fcn.00498510
mov eax, dword [ebp - 0x24]
lea edx, [ebp - 0x20]
call fcn.00408630
mov eax, dword [ebp - 0x20]
or edx, 0xffffffff
call fcn.00408a10
mov edi, eax
mov dword [ebx + 0x18], edi
test edi, edi
setge al
mov byte [ebx + 0x4c], al
lea ecx, [ebp - 0x28]
mov edx, 0x49a928
mov eax, esi
call fcn.00498510
mov eax, dword [ebp - 0x28]
call fcn.00491fe8
fstp qword [ebx + 0x30]
wait
lea ecx, [ebp - 0x2c]
mov edx, 0x49a938
mov eax, esi
call fcn.00498510
mov eax, dword [ebp - 0x2c]
call fcn.00491fe8
fstp qword [ebx + 0x40]
wait
lea ecx, [ebp - 0x30]
mov edx, 0x49a950
mov eax, esi
call fcn.00498510
mov eax, dword [ebp - 0x30]
or edx, 0xffffffff
call fcn.00408a10
inc eax
je 0x49a821
lea ecx, [ebp - 0x34]
mov edx, 0x49a950
mov eax, esi
call fcn.00498510
mov eax, dword [ebp - 0x34]
call fcn.004089d4
mov edi, eax
mov eax, edi
mov ecx, 0xe10
cdq
idiv ecx
mov dword [ebp - 8], eax
mov eax, edi
mov ecx, 0xe10
cdq
idiv ecx
mov ecx, edx
mov eax, ecx
push ecx
mov ecx, 0x3c
cdq
idiv ecx
pop ecx
mov dword [ebp - 4], eax
mov eax, ecx
mov ecx, 0x3c
cdq
idiv ecx
mov edi, edx
push 0
mov ecx, edi
mov dx, word [ebp - 4]
mov ax, word [ebp - 8]
call fcn.00409f7c
fstp qword [ebp - 0x3c]
wait
call fcn.0040a2e0
fadd qword [ebp - 0x3c]
fstp qword [ebx + 0x38]
wait
jmp 0x49a83c
lea ecx, [ebp - 0x40]
mov edx, 0x49a950
mov eax, esi
call fcn.00498510
mov eax, dword [ebp - 0x40]
call fcn.00491fe8
fstp qword [ebx + 0x38]
wait
lea ecx, [ebp - 0x44]
mov edx, 0x49a960
mov eax, esi
call fcn.00498510
mov edx, dword [ebp - 0x44]
lea eax, [ebx + 0x48]
call fcn.004041ec
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49a885
lea eax, [ebp - 0x44]
mov edx, 2
call fcn.004041bc
lea eax, [ebp - 0x34]
mov edx, 0xb
call fcn.004041bc
ret