joyce8/EMBER2024-capa huggingface dataset:
Function at 0x450360
Capabilities:
Allocate thread local storage
Link many functions at runtime
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4dfab8
push 0x4d29a4
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x224
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 4], 1
call fcn.004d1af9
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call fcn.004d1ebd
mov word [ebp - 0x228], bx
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x226]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push str.SafeCentralSafeCentral.dll
push str.Extensions
push 0x50b3fc
push 0x4ef960
push 0x103
lea eax, [ebp - 0x228]
push eax
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x18
lea ecx, [ebp - 0x228]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [0x5dec74], eax
cmp eax, ebx
je 0x45049a
push str.SafeCentralLoadLibraryA
push eax
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
call esi
mov dword [0x5dec8c], eax
cmp eax, ebx
je 0x450427
push 0x44e110
push 0x5dec14
call fcn.004d1f2c
push str.SafeCentralLoadLibraryW
mov edx, dword [0x5dec74]
push edx
call esi
mov dword [0x5dec90], eax
cmp eax, ebx
je 0x45044d
push 0x44e150
push 0x5dec10
call fcn.004d1f2c
push str.SafeCentralLoadLibraryExA
mov eax, dword [0x5dec74]
push eax
call esi
mov dword [0x5dec94], eax
cmp eax, ebx
je 0x450472
push 0x44e190
push 0x5dec0c
call fcn.004d1f2c
push str.SafeCentralLoadLibraryExW
mov ecx, dword [0x5dec74]
push ecx
call esi
mov dword [0x5dec98], eax
cmp eax, ebx
je 0x4504a0
push 0x44e1e0
push 0x5dec08
call fcn.004d1f2c
jmp 0x4504a0
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.WinInet.dll
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
call edi
mov dword [ebp - 0x230], eax
cmp eax, ebx
je 0x4504c6
push 0x44e400
push 0x5dec50
call fcn.004d1f2c
call fcn.00450680
cmp dword [0x60a770], ebx
je 0x45050f
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [0x5dec7c], eax
push str.kernel32.dll
call edi
mov dword [ebp - 0x234], eax
cmp eax, ebx
je 0x45050f
push str.FindResourceW
push eax
call esi
mov dword [0x5deca0], eax
cmp eax, ebx
je 0x45050f
push 0x4505b0
push 0x5deca0
call fcn.004d1f2c
mov eax, 4
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x22c], eax
mov dword [ebp - 0x1c], 1
lea edx, [ebp - 0x22c]
push edx
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x20]
push ecx
push str.ExceptionEnable
push str.Software360se
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
cmp dword [ebp - 0x1c], ebx
jne 0x45056c
push 0xffffffffffffffff
lea edx, [ebp - 0x10]
push edx
call sub.MSVCRT.dll__local_unwind2
add esp, 8
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x4502f0
push 0x5dec30
call fcn.004d1f2c
mov dword [ebp - 4], ebx
call fcn.00450585
jmp 0x450596
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x450750
Capabilities:
Allocate or change rwx memory

Disassembly:
sub esp, 8
push ebx
push esi
push edi
mov dword [esp + 0xc], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov ebx, dword [esp + 0x18]
mov edi, eax
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0xc]
mov edx, dword [ebx]
push ecx
lea esi, [eax*4]
push 0x40
add edx, esi
push 4
push edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov edx, dword [ebx]
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x14]
push 4
add edx, esi
push ecx
push edx
push edi
mov dword [esp + 0x24], 0
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x4507e7
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x20]
cmp ecx, eax
je 0x4507e7
mov ecx, dword [esp + 0x24]
lea edx, [esp + 0xc]
push edx
push 4
mov dword [ecx], eax
mov ecx, dword [ebx]
lea eax, [esp + 0x28]
add ecx, esi
push eax
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x4507e7
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 8
ret
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 8
ret
Function at 0x4529c0
Capabilities:
Get common file path

Disassembly:
sub esp, 0x208
push ebx
mov ebx, ecx
push esi
cmp word [ebx + 0x18], 0
lea esi, [ebx + 0x18]
jne 0x452a26
push edi
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0xe]
mov word [esp + 0xc], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0xc]
push eax
push 0
push 0
push 0x1a
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
pop edi
jne 0x452a26
push str.dataBlplugin.ini
lea ecx, [esp + 0xc]
push str.360SE
push ecx
push str._s_s_s
push 0x103
push esi
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x18
push str.plugin
push esi
lea ecx, [ebx + 4]
call fcn.00478810
pop esi
pop ebx
add esp, 0x208
ret

Function at 0x4536b0
Capabilities:
Create thread

Disassembly:
push 0x18
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
test eax, eax
je 0x453714
mov edx, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov dword [eax + 8], edx
mov edx, dword [esp + 4]
mov dword [eax + 0x10], edx
lea edx, [esp + 8]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x10]
push edx
push 0
push eax
mov dword [eax + 0xc], ecx
mov ecx, dword [esp + 0x20]
push fcn.00453720
push 0
push 0
mov dword [eax], 1
mov dword [eax + 0x14], ecx
mov dword [esp + 0x20], 0
call dword [sym.imp.MSVCRT.dll__beginthreadex]
add esp, 0x18
test eax, eax
je 0x453714
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
ret
Function at 0x454330
Capabilities:
Log keystrokes via polling

Disassembly:
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
mov esi, ecx
push 0x11
call edi
shr eax, 8
test al, al
je 0x4543b6
mov eax, dword [0x5ec8ac]
test eax, eax
je 0x45435f
mov eax, dword [esi + 0xa314]
test eax, eax
je 0x4543b6
mov ecx, dword [eax + 0x40]
test ecx, ecx
jne 0x4543b6
push 0x12
call edi
movsx eax, ax
shr eax, 0x10
je 0x454381
mov edx, dword [esi]
push 0x64
mov ecx, esi
call dword [edx + 0x9c]
pop edi
mov eax, 1
pop esi
ret 4
mov eax, dword [esi + 0x5a28]
cmp eax, 0xffffffff
jne 0x454391
mov eax, 0x64
cmp word [esp + 0xc], 0
jle 0x45439e
add eax, 5
jmp 0x4543a1
add eax, 0xfffffffb
mov edx, dword [esi]
push eax
mov ecx, esi
call dword [edx + 0x9c]
pop edi
mov eax, 1
pop esi
ret 4
pop edi
xor eax, eax
pop esi
ret 4

Function at 0x4573c0
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0x58]
test eax, eax
jne 0x45745e
mov eax, dword [esi + 0x6c]
push edi
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
mov dword [esi + 0x9250], 0
test eax, eax
jne 0x457418
mov eax, dword [esi + 4]
push 0
push eax
call edi
mov ecx, dword [esi + 4]
push 0xfffffffffffffff0
push ecx
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov edx, dword [esi + 4]
and eax, 0xbfffffff
push eax
push 0xfffffffffffffff0
push edx
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov eax, dword [esi + 4]
push 0
push eax
call dword [sym.imp.USER32.dll_SetParent]
push 1
push 0
push 6
mov ecx, esi
call fcn.0040fa40
mov eax, dword [esi + 0x6c]
mov dword [esi + 0x58], 1
test eax, eax
je 0x457454
mov eax, dword [0x60a768]
test eax, eax
je 0x457445
push 0
mov ecx, esi
call fcn.0045b3a0
mov eax, dword [esi + 0x6c]
test eax, eax
je 0x457454
mov ecx, dword [esi + 4]
push 0
push ecx
call edi
mov edx, dword [esi]
push 2
mov ecx, esi
call dword [edx + 0x70]
pop edi
pop esi
ret
Function at 0x458530
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
push edi
mov edi, dword [esp + 0x10]
xor ebx, ebx
mov esi, ecx
mov eax, dword [edi + 4]
cmp eax, 0x100
jne 0x4585a6
mov eax, dword [edi + 8]
add eax, 0xfffffff7
cmp eax, 0x72
ja case.0x4585c4.21
xor ecx, ecx
mov cl, byte [eax + 0x45864c]
jmp dword [ecx*4 + 0x45863c]
mov eax, dword [esi + 0x6c]
test eax, eax
je case.0x4585c4.21
mov eax, dword [0x5e2760]
test eax, eax
je case.0x4585c4.21
push 1
push 1
mov ecx, esi
call fcn.0040fd90
pop edi
mov eax, ebx
pop esi
pop ebx
ret 4
mov ax, word [edi + 8]
push 1
push eax
push 0xc
mov ecx, esi
call fcn.0040fa40
mov ebx, eax
pop edi
pop esi
pop ebx
ret 4
cmp eax, 0x104
jne case.0x4585c4.21
mov eax, dword [edi + 8]
add eax, 0xffffffee
cmp eax, 0x67
ja case.0x4585c4.21
xor ecx, ecx
mov cl, byte [eax + 0x4586d0]
jmp dword [ecx*4 + 0x4586c0]
mov dx, word [edi + 8]
push 1
push edx
push 0xc
mov ecx, esi
call fcn.0040fa40
mov ebx, eax
pop edi
pop esi
pop ebx
ret 4
push 0x12
call dword [sym.imp.USER32.dll_GetKeyState]
shr eax, 8
test al, al
je case.0x4585c4.21
mov ax, word [edi + 8]
push 1
push eax
push 0xc
mov ecx, esi
call fcn.0040fa40
mov ebx, 1
pop edi
mov eax, ebx
pop esi
pop ebx
ret 4
mov eax, dword [esi + 0x6c]
test eax, eax
je case.0x4585c4.21
mov cx, word [edi + 8]
push 1
push ecx
push 0xc
mov ecx, esi
call fcn.0040fa40
push 1
push 1
mov ecx, esi
xor ebx, ebx
call fcn.0040fd90
pop edi
mov eax, ebx
pop esi
pop ebx
ret 4

Function at 0x459160
Capabilities:
Create process on windows

Disassembly:
mov eax, 0x2094
call fcn.004d2930
push esi
mov esi, ecx
mov dword [esp + 4], 0
call fcn.00458750
mov ecx, dword [eax]
lea edx, [esp + 4]
push edx
push eax
call dword [ecx + 0x78]
mov eax, dword [esp + 4]
test eax, eax
je 0x459222
mov ecx, dword [esp + 0x209c]
push edi
xor edi, edi
test ecx, ecx
je 0x4591b5
mov ecx, esi
call fcn.00458750
push eax
call fcn.00461d60
add esp, 4
test eax, eax
je 0x4591f6
jmp 0x4591f1
push eax
push str.mailto:_subjectFrom_Browserbody_s
lea eax, [esp + 0x14]
push 0x1048
push eax
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x10
lea ecx, [esp + 0xc]
push 5
push 0x50b180
push 0x50b180
push ecx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
jbe 0x4591f6
mov edi, 1
mov edx, dword [esp + 8]
push edx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
test edi, edi
pop edi
jne 0x459222
push 0x40
push 0x50b80c
push 0x78
call fcn.0047edb0
add esp, 4
push eax
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.USER32.dll_MessageBoxW]
pop esi
add esp, 0x2094
ret 4
Function at 0x459310
Capabilities:
Create process on windows
Query or enumerate registry value

Disassembly:
sub esp, 0x210
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
lea eax, [esp + 8]
push edi
push eax
push str.SoftwareMicrosoftInternet_ExplorerDefault_HTML_Editor_shelleditcommand
mov edi, ecx
push SysReAllocString
mov dword [esp + 0x14], 0x104
call esi
test eax, eax
je 0x459356
lea ecx, [esp + 0xc]
push ecx
push str.InternetShortcut_shelleditcommand
push SysReAllocString
call esi
test eax, eax
jne 0x4593ef
mov ecx, dword [esp + 0xc]
lea edx, [esp + 8]
lea eax, [esp + 0x10]
push edx
push eax
push 0
push 0
push 0x50b180
push ecx
mov dword [esp + 0x20], 0x208
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edx, dword [esp + 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 8]
lea esi, [esp + 0x10]
test eax, eax
jbe 0x4593ef
cmp word [esp + 0x10], 0x22
jne 0x45939f
lea esi, [esp + 0x12]
push 0x22
push esi
call dword [sym.imp.MSVCRT.dll_wcsrchr]
add esp, 8
test eax, eax
je 0x4593b4
mov word [eax], 0
push str._dde
push esi
call dword [sym.imp.MSVCRT.dll_wcsstr]
add esp, 8
test eax, eax
je 0x4593cc
mov word [eax], 0
push 5
lea eax, [edi + 0x39cc]
push 0
push eax
push esi
push str.open
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
jg 0x4593f8
push 2
mov ecx, edi
call fcn.00459410
pop edi
pop esi
add esp, 0x210
ret
Function at 0x45b4b0
Capabilities:
Hide graphical window

Disassembly:
push esi
push edi
mov edi, ecx
mov eax, dword [edi + 0x6c]
test eax, eax
je 0x45b510
mov ecx, dword [edi + 0xa320]
test ecx, ecx
jne 0x45b4c9
xor eax, eax
jmp 0x45b4d4
mov eax, dword [edi + 0xa324]
sub eax, ecx
sar eax, 2
lea esi, [eax - 1]
test esi, esi
jl 0x45b510
push ebx
mov ebx, dword [esp + 0x10]
push ebp
mov ebp, dword [sym.imp.USER32.dll_PostMessageW]
mov eax, dword [edi + 0xa320]
test ebx, ebx
mov eax, dword [eax + esi*4]
je 0x45b502
push 2
push 1
push 0x3456
push eax
call ebp
jmp 0x45b50b
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
dec esi
jns 0x45b4e7
pop ebp
pop ebx
pop edi
pop esi
ret 4

Function at 0x45bac0
Capabilities:
Parse url
Set thread local storage value

Disassembly:
mov eax, dword [0x5dec7c]
sub esp, 0x23c
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_TlsSetValue]
push esi
push 1
push eax
call ebx
mov esi, dword [esp + 0x248]
test esi, esi
je 0x45bb69
push edi
mov ecx, 0x7f
xor eax, eax
lea edi, [esp + 0x4a]
mov word [esp + 0x48], 0
lea edx, [esp + 0xc]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0xe
xor eax, eax
lea edi, [esp + 0x10]
push edx
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x4c]
push 0x10000000
push esi
mov dword [esp + 0x18], 0x3c
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], 0x100
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push eax
push esi
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
test eax, eax
pop edi
je 0x45bb69
push str..qq.com
lea eax, [esp + 0x48]
push 0
push eax
call dword [sym.imp.SHLWAPI.dll_StrRStrIW]
test eax, eax
je 0x45bb69
cmp word [eax + 0xe], 0
jne 0x45bb69
mov ecx, dword [0x5dec7c]
push 0xffffffffffffffff
push ecx
call ebx
pop esi
pop ebx
add esp, 0x23c
ret 4

Function at 0x45bfe0
Capabilities:
Get common file path

Disassembly:
sub esp, 0x208
push ebx
mov ebx, ecx
push esi
cmp word [ebx + 0x18], 0
lea esi, [ebx + 0x18]
jne 0x45c046
push edi
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0xe]
mov word [esp + 0xc], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0xc]
push eax
push 0
push 0
push 0x1a
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
pop edi
jne 0x45c046
push str.dataBlplugin.ini
lea ecx, [esp + 0xc]
push str.360SE
push ecx
push str._s_s_s
push 0x103
push esi
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x18
push str.IECompact
push esi
lea ecx, [ebx + 4]
call fcn.00478810
pop esi
pop ebx
add esp, 0x208
ret
Function at 0x45c3c0
Capabilities:
Get common file path

Disassembly:
sub esp, 0x208
push ebx
push ebp
mov ebp, dword [esp + 0x214]
mov ebx, ecx
cmp word [ebp], 0
je 0x45c440
cmp word [ebx + 0x18], 0
push esi
lea esi, [ebx + 0x18]
jne 0x45c435
push edi
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x12]
mov word [esp + 0x10], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0x10]
push eax
push 0
push 0
push 0x1a
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
pop edi
jne 0x45c435
push str.dataBlplugin.ini
lea ecx, [esp + 0x10]
push str.360SE
push ecx
push str._s_s_s
push 0x103
push esi
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x18
push ebp
push esi
lea ecx, [ebx + 4]
call fcn.00478810
pop esi
pop ebp
pop ebx
add esp, 0x208
ret 4
Function at 0x45df30
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4d7080
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
xor ebx, ebx
push esi
push edi
mov dword [esp + 0xc], ebx
mov eax, dword [esp + 0x3c]
mov esi, dword [esp + 0x34]
mov edi, dword [esp + 0x30]
push eax
push esi
push edi
mov dword [esp + 0x34], ebx
call fcn.0045d6d0
mov eax, dword [esp + 0x18]
add esp, 0xc
cmp eax, ebx
je 0x45df7a
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [esi + 4]
mov edx, dword [edi]
lea eax, [esp + 0xc]
mov dword [esp + 0xc], ebx
push eax
mov eax, dword [esi]
push ecx
push eax
push edi
call dword [edx + 0x1ac]
mov eax, dword [esp + 0xc]
cmp eax, ebx
je 0x45e0f1
mov dword [esp + 0x30], ebx
lea ecx, [esp + 0xc]
mov byte [esp + 0x28], 1
push ecx
lea ecx, [esp + 0x34]
call fcn.00461430
cmp eax, ebx
jge 0x45dfc7
cmp eax, 0x80004002
je 0x45dfc7
push eax
call fcn.004d2836
mov eax, dword [esp + 0x30]
push ebp
mov ebp, dword [esp + 0x3c]
cmp eax, ebx
je 0x45e0b4
lea ecx, [esp + 0x38]
mov dword [esp + 0x38], ebx
mov edx, dword [eax]
push ecx
push eax
mov byte [esp + 0x34], 2
call dword [edx + 0x48]
mov eax, dword [esp + 0x38]
cmp eax, ebx
je 0x45e0a1
mov dword [esp + 0x3c], ebx
lea edx, [esp + 0x38]
lea ecx, [esp + 0x3c]
push edx
mov byte [esp + 0x30], 3
call fcn.004512a0
cmp eax, ebx
jge 0x45e020
cmp eax, 0x80004002
je 0x45e020
push eax
call fcn.004d2836
lea eax, [esp + 0x1c]
lea ecx, [esp + 0x14]
push eax
push ecx
push edi
mov dword [esp + 0x24], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x28], ebx
call fcn.0045dca0
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0x2c]
lea eax, [esp + 0x24]
push edx
push eax
push ecx
call fcn.0045dae0
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x30]
mov edi, dword [esi]
mov ecx, dword [esp + 0x38]
sub edx, eax
mov eax, dword [esp + 0x34]
add edi, edx
mov edx, dword [esp + 0x54]
sub eax, ecx
mov ecx, dword [esp + 0x58]
mov dword [esi], edi
mov edi, dword [esi + 4]
push ecx
push ebp
add edi, eax
push esi
push edx
mov dword [esi + 4], edi
call fcn.0045df30
mov eax, dword [esp + 0x64]
add esp, 0x28
cmp eax, ebx
mov byte [esp + 0x2c], 2
je 0x45e09d
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x38]
cmp eax, ebx
mov byte [esp + 0x2c], 1
je 0x45e0b0
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [esp + 0x34]
cmp dword [ebp], ebx
jne 0x45e0de
mov eax, dword [esp + 0x10]
cmp eax, ebx
jne 0x45e0cf
push 0x80004003
call fcn.004d2836
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
push ebp
push 0x4e0fd8
push eax
call dword [ecx]
mov eax, dword [esp + 0x34]
cmp eax, ebx
mov byte [esp + 0x2c], bl
pop ebp
je 0x45e0ed
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [esp + 0xc]
pop edi
pop esi
cmp eax, ebx
mov dword [esp + 0x20], 0xffffffff
pop ebx
je 0x45e106
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [esp + 0x14]
xor eax, eax
mov dword fs:[0], ecx
add esp, 0x20
ret
Function at 0x461b00
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x10
mov ecx, dword [0x5e2764]
mov eax, 4
mov dword [esp + 8], eax
mov dword [esp + 0xc], eax
test ecx, ecx
mov dword [esp], 1
mov eax, str.SoftwareMicrosoftInternet_ExplorerInternationalScripts26
je 0x461b2c
mov eax, str.SoftwareMicrosoftInternet_ExplorerInternational
lea ecx, [esp + 4]
push ecx
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x461b6d
lea edx, [esp + 8]
lea eax, [esp]
push edx
mov edx, dword [esp + 8]
lea ecx, [esp + 0x10]
push eax
push ecx
push 0
push str.AutoDetect
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov eax, dword [esp + 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp]
add esp, 0x10
ret

Function at 0x461b80
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
sub esp, 0x10
mov ecx, dword [0x5e2764]
mov dword [esp], 1
test ecx, ecx
mov dword [esp + 0xc], 4
mov dword [esp + 8], 4
mov eax, str.SoftwareMicrosoftInternet_ExplorerInternationalScripts26
je 0x461baf
mov eax, str.SoftwareMicrosoftInternet_ExplorerInternational
lea ecx, [esp + 4]
push ecx
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x461c1d
lea edx, [esp + 8]
lea eax, [esp]
push edx
mov edx, dword [esp + 8]
lea ecx, [esp + 0x10]
push eax
push ecx
push 0
push str.AutoDetect
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, dword [esp]
xor eax, eax
test ecx, ecx
mov ecx, dword [esp + 8]
lea edx, [esp]
sete al
push ecx
push edx
mov dword [esp + 8], eax
mov eax, dword [esp + 0xc]
push 4
push 0
push str.AutoDetect
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ecx, dword [esp + 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
add esp, 0x10
ret
Function at 0x462720
Capabilities:
Check internet connectivity via wininet

Disassembly:
push ecx
lea eax, [esp]
push 0
push eax
mov dword [esp + 8], 0
call dword [sym.imp.WININET.dll_InternetGetConnectedState]
test eax, eax
jne 0x46273c
pop ecx
ret
mov al, byte [esp]
test al, 0x20
je 0x462748
xor eax, eax
pop ecx
ret
test al, 7
jne 0x462750
xor eax, eax
pop ecx
ret
mov eax, 1
pop ecx
ret

Function at 0x462b80
Capabilities:
Parse url

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4dfd48
push 0x4d29a4
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
mov eax, 0x1084
call fcn.004d2930
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov ecx, 0xf
xor eax, eax
lea edi, [ebp - 0x54]
rep stosd dword es:[edi], eax
mov dword [ebp - 0x54], 0x3c
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x44], ebx
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x40], eax
lea ecx, [eax + eax]
xor eax, eax
mov edi, ebx
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
push str.file:__
mov esi, dword [ebp + 8]
push esi
mov edi, dword [sym.imp.SHLWAPI.dll_StrStrW]
call edi
cmp eax, esi
jne 0x462c28
push str.file:__
push 0x4ef254
mov eax, dword [ebp + 0x10]
dec eax
push eax
push ebx
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x10
mov eax, 1
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push str.res:__
push esi
call edi
cmp eax, esi
jne 0x462c63
push str.res:__
push 0x4ef254
mov ecx, dword [ebp + 0x10]
dec ecx
push ecx
push ebx
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x10
mov eax, 1
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor edi, edi
mov dword [ebp - 4], edi
lea edx, [ebp - 0x54]
push edx
push 0x10000000
push esi
call dword [sym.imp.MSVCRT.dll_wcslen]
add esp, 4
push eax
push esi
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
test eax, eax
jne 0x462d3e
mov word [ebp - 0x109c], di
mov ecx, 0x411
lea edi, [ebp - 0x109a]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push esi
push 0x4efe5c
push 0x823
lea eax, [ebp - 0x109c]
push eax
mov esi, dword [sym.imp.MSVCRT.dll__snwprintf]
call esi
add esp, 0x10
lea ecx, [ebp - 0x54]
push ecx
push 0x10000000
lea edx, [ebp - 0x109c]
push edx
call dword [sym.imp.MSVCRT.dll_wcslen]
add esp, 4
push eax
lea eax, [ebp - 0x109c]
push eax
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
test eax, eax
jne 0x462d3e
lea ecx, [ebp - 0x109c]
push ecx
push 0x4ef254
mov edx, dword [ebp + 0x10]
dec edx
push edx
push ebx
call esi
add esp, 0x10
mov dword [ebp - 4], 0xffffffff
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [ebp - 4], 0xffffffff
push ebx
call dword [sym.imp.MSVCRT.dll_wcslen]
add esp, 4
neg eax
sbb eax, eax
neg eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret