joyce8/EMBER2024-capa huggingface dataset:
Function at 0x48e710
Capabilities:
Get socket status

Disassembly:
sub esp, 0x10c
mov eax, dword [ecx]
lea ecx, [esp]
push ecx
push 0
lea edx, [esp + 0x10]
push 0
push edx
push 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], 1
call sub.WS2_32.dll_select
cmp eax, 0xffffffff
jne 0x48e759
xor eax, eax
add esp, 0x10c
ret 4
mov edx, dword [esp + 0x110]
xor ecx, ecx
test eax, eax
setne cl
mov dword [edx], ecx
mov eax, 1
add esp, 0x10c
ret 4

Function at 0x48ebd0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4c1860
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
lea ecx, [esp + 4]
call fcn.0048e780
lea eax, [esp + 4]
lea ecx, [esi + 4]
push eax
mov dword [esp + 0x18], 0
call fcn.0048e800
lea ecx, [esp + 4]
push ecx
lea ecx, [esi + 0x14]
call fcn.0048e800
lea ecx, [esi + 0xc]
call fcn.004afac4
lea ecx, [esi + 0x10]
call fcn.004afac4
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x1c]
call fcn.0048fd90
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x30]
call fcn.0048fd90
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x44]
call fcn.0048fd90
lea ecx, [esp + 8]
mov dword [esp + 0x14], 1
call fcn.004afb39
lea ecx, [esp + 4]
mov dword [esp + 0x14], 0xffffffff
call fcn.004afb39
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x4b1ff6
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x4b202e
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.004affe0
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.004affb8
jmp 0x4b203a
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x4b36e8
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x4b372a
call fcn.004b9d4f
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x4b372a
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x4b3721
xor eax, eax
jmp 0x4b3732
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004b3738
pop edi
pop esi
pop ebx
ret 4

Function at 0x4ba27f
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x4ba2ad
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4ba2cb
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.004ba1e5
jmp 0x4ba2cb
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4ba2cb
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.004ba1e5
test edi, edi
mov eax, edi
jne 0x4ba2b5
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x407ae0
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
sub esp, 0x420
mov eax, dword [0x4629b4]
xor eax, esp
mov dword [esp + 0x41c], eax
push esi
mov esi, dword [esp + 0x428]
lea eax, [esp + 0x10]
push 0x208
push 0
push eax
call fcn.0042f620
push str.WinIoDrv0
push str.Services_
push 0x4634c0
push str._s_s_s
lea eax, [esp + 0x2c]
mov dword [esp + 0x20], 0
push 0xffffffffffffffff
push eax
call fcn.004013f0
add esp, 0x24
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x14]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x407c6e
push esi
push 0x447374
push 0x447380
lea eax, [esp + 0x1c]
push 0xffffffffffffffff
push eax
call fcn.004013f0
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [esp + 0x20]
add esp, 0x14
mov dword [esp + 0xc], 4
mov dword [esp + 8], 0
push eax
lea eax, [esp + 0xc]
push eax
push 0
push 0
push str.Type
push dword [esp + 0x18]
call esi
test eax, eax
jne 0x407ba9
cmp dword [esp + 8], 1
je 0x407bcb
push 4
lea eax, [esp + 0xc]
mov dword [esp + 0xc], 0
push eax
push 4
push 0
push str.Type
push dword [esp + 0x18]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push 0x208
lea eax, [esp + 0x21c]
push 0
push eax
call fcn.0042f620
add esp, 0xc
mov dword [esp + 0xc], 0x104
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 0x21c]
push eax
push 0
push 0
push str.ImagePath
push dword [esp + 0x18]
call esi
test eax, eax
jne 0x407c23
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x21c]
push eax
call fcn.00434438
add esp, 8
test eax, eax
je 0x407c5f
lea ecx, [esp + 0x10]
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x407c30
sub ecx, edx
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
lea eax, [esp + 0x14]
push eax
push 2
push 0
push str.ImagePath
push dword [esp + 0x18]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [esp + 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call fcn.00408010
mov ecx, dword [esp + 0x420]
pop esi
xor ecx, esp
call fcn.0042d960
add esp, 0x420
ret
Function at 0x407cd0
Capabilities:
Create service
Delete service
Start service
Stop service

Disassembly:
sub esp, 0x24
mov eax, dword [0x4629b4]
xor eax, esp
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x28]
push esi
push 0xf003f
push 0
push 0
mov dword [esp + 0x10], eax
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov esi, eax
test esi, esi
jne 0x407d0c
pop esi
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.0042d960
add esp, 0x24
ret
push ebx
push ebp
push edi
push 0xf01ff
push str.WinIoDrv0
push esi
xor ebp, ebp
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov edi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov ebx, eax
test ebx, ebx
je 0x407d58
lea eax, [esp + 0x14]
mov dword [esp + 0x2c], ebp
push eax
xorps xmm0, xmm0
push 1
push ebx
movups xmmword [esp + 0x20], xmm0
movq qword [esp + 0x30], xmm0
call dword [sym.imp.ADVAPI32.dll_ControlService]
push ebx
call dword [sym.imp.ADVAPI32.dll_DeleteService]
push ebx
call edi
push 0
push 0
push 0
push 0
push 0
push dword [esp + 0x24]
push 0
push 3
push 1
push 0xf01ff
push str.WinIoDrv0
push str.WinIoDrv0
push esi
call dword [sym.imp.ADVAPI32.dll_CreateServiceW]
test eax, eax
jne 0x407d95
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x431
jne 0x407dcc
jmp 0x407d98
push eax
call edi
push 0xf01ff
push str.WinIoDrv0
push esi
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov ebx, eax
mov ebp, 1
test ebx, ebx
je 0x407dcc
push 0
push 0
push ebx
call dword [sym.imp.ADVAPI32.dll_StartServiceW]
test eax, eax
jne 0x407dc9
call dword [sym.imp.KERNEL32.dll_GetLastError]
push ebx
call edi
push esi
call edi
mov ecx, dword [esp + 0x30]
mov eax, ebp
pop edi
pop ebp
pop ebx
pop esi
xor ecx, esp
call fcn.0042d960
add esp, 0x24
ret
Function at 0x407df0
Capabilities:
Get common file path

Disassembly:
sub esp, 0x424
mov eax, dword [0x4629b4]
xor eax, esp
mov dword [esp + 0x420], eax
mov eax, dword [esp + 0x42c]
push 0xffffffffffffffff
push eax
push 0x4634c0
call fcn.00406830
add esp, 0xc
call fcn.004080f0
cmp eax, 1
jne 0x407e3a
mov ecx, dword [esp + 0x420]
xor ecx, esp
call fcn.0042d960
add esp, 0x424
ret
push 0x208
lea eax, [esp + 0x14]
push 0
push eax
call fcn.0042f620
push 0x208
lea eax, [esp + 0x228]
push 0
push eax
call fcn.0042f620
add esp, 0x18
lea eax, [esp + 0x218]
push eax
push 0x102
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push str.WinIoDrv
lea eax, [esp + 0x21c]
push eax
push 0x447380
push 0xffffffffffffffff
push eax
call fcn.004013f0
cmp dword [esp + 0x43c], 1
mov ecx, str.IoDrvx64.sys
mov eax, 0x447408
cmove eax, ecx
push eax
push 0x447404
lea eax, [esp + 0x234]
push eax
push str._s_s_s
lea eax, [esp + 0x34]
push 0xffffffffffffffff
push eax
call fcn.004013f0
lea eax, [esp + 0x3c]
push eax
call fcn.00407f90
add esp, 0x30
test eax, eax
jne 0x407ee9
mov ecx, dword [esp + 0x420]
xor ecx, esp
call fcn.0042d960
add esp, 0x424
ret
push esi
xorps xmm0, xmm0
lea eax, [esp + 0xc]
push eax
movq qword [esp + 0x10], xmm0
movq qword [esp + 8], xmm0
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
lea eax, [esp + 4]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
push dword [esp + 8]
xor esi, esi
push dword [esp + 8]
push dword [esp + 0x18]
push dword [esp + 0x18]
call fcn.0042d9f0
test edx, edx
jl 0x407f44
jg 0x407f33
cmp eax, 0x12c
jb 0x407f44
lea eax, [esp + 0x14]
mov esi, 1
push eax
call fcn.00407cd0
jmp 0x407f4e
lea eax, [esp + 0x14]
push eax
call fcn.00407ae0
add esp, 4
call fcn.004080f0
test eax, eax
jne 0x407f70
test esi, esi
jne 0x407f70
lea eax, [esp + 0x14]
push eax
call fcn.00407cd0
add esp, 4
call fcn.004080f0
mov ecx, dword [esp + 0x424]
pop esi
xor ecx, esp
call fcn.0042d960
add esp, 0x424
ret

Function at 0x40e300
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x40e36f
push ebx
push ebp
push esi
call dword [sym.imp.USER32.dll_EmptyClipboard]
mov ecx, dword [esp + 0x10]
call fcn.00406800
lea ebx, [eax + 1]
lea edx, [ebx + ebx]
push edx
push 0x2000
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebp, eax
push ebp
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ecx, dword [esp + 0x10]
mov esi, eax
call fcn.00409580
push eax
push ebx
push esi
call fcn.004348f0
add esp, 0xc
push ebp
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push ebp
push 0xd
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
push ebp
call dword [sym.imp.KERNEL32.dll_GlobalFree]
pop esi
pop ebp
pop ebx
ret
Function at 0x40e3b0
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x14
mov eax, dword [0x4629b4]
xor eax, esp
mov dword [esp + 0x10], eax
push esi
mov esi, dword [esp + 0x1c]
lea eax, [esp + 8]
push eax
mov dword [esp + 0xc], 0
call fcn.0040fd90
push 0x453f34
lea eax, [esp + 0xc]
push esi
push eax
call fcn.00435872
add esp, 0x10
test eax, eax
je 0x40e40b
lea eax, [esp + 8]
push eax
call fcn.0040fd90
add esp, 4
xor eax, eax
pop esi
mov ecx, dword [esp + 0x10]
xor ecx, esp
call fcn.0042d960
add esp, 0x14
ret
push edi
push 0
push 0x3c
push dword [esp + 0x10]
mov dword [esp + 0x20], 0
call fcn.00435f66
push dword [esp + 0x14]
lea eax, [esp + 0x24]
push 4
push 1
push eax
call fcn.00435b7b
movzx eax, byte [esp + 0x33]
imul edx, eax, 0x10100
mov eax, dword [esp + 0x30]
movzx ecx, ah
movzx eax, al
add eax, 4
add edx, ecx
shl edx, 8
push 0
add eax, edx
push eax
push dword [esp + 0x2c]
call fcn.00435f66
push dword [esp + 0x30]
xor eax, eax
push 2
mov word [esp + 0x40], ax
lea eax, [esp + 0x40]
push 1
push eax
call fcn.00435b7b
push dword [esp + 0x40]
call fcn.0043592f
mov ax, word [esp + 0x4c]
movzx edi, ah
movzx esi, al
lea eax, [esp + 0x48]
push eax
call fcn.0040fd90
shl edi, 8
add esp, 0x40
add edi, esi
mov ecx, 0x40
cmp edi, 0x14c
mov eax, 0x20
cmovne eax, ecx
mov ecx, dword [esp + 0x18]
pop edi
pop esi
xor ecx, esp
call fcn.0042d960
add esp, 0x14
ret
Function at 0x40f9d0
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x24
mov eax, dword [0x4629b4]
xor eax, esp
mov dword [esp + 0x20], eax
mov eax, dword [0x46c160]
push ebp
mov ebp, dword [esp + 0x2c]
mov dword [esp + 4], ebp
test eax, eax
je 0x40fa13
push 0x13
push 0
push 0
push 0
push 0
push 0xfffffffffffffffe
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
pop ebp
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.0042d960
add esp, 0x24
ret
cmp word [0x470808], 0
jne 0x40fa96
push 0x65
push dword [0x46c31c]
mov dword [0x47080c], 0x30
mov dword [0x470810], 0x40
mov dword [0x470814], 0x42a510
call dword [sym.imp.USER32.dll_LoadIconW]
push 0x7f00
push 0
mov dword [0x470824], eax
call dword [sym.imp.USER32.dll_LoadCursorW]
push 0
mov dword [0x470828], eax
call dword [sym.imp.GDI32.dll_GetStockObject]
push 0x52
mov ecx, 0x469a38
mov dword [0x47082c], eax
call fcn.0040df90
mov ecx, eax
call fcn.00409580
push 0x47080c
mov dword [0x470834], eax
call dword [sym.imp.USER32.dll_RegisterClassExW]
mov word [0x470808], ax
push ebx
push esi
push edi
push 0
push ebp
call dword [sym.imp.USER32.dll_EnableWindow]
mov eax, dword [0x46c0e0]
mov ecx, dword [0x461028]
add eax, 0xfffffdea
cdq
sub eax, edx
mov dword [0x46b864], ecx
mov ebx, eax
mov ecx, 0x46b8a4
mov eax, dword [0x46c0e4]
push 0x3c
sar ebx, 1
lea eax, [eax - 0x17c]
cdq
sub eax, edx
mov edx, dword [0x461060]
mov edi, eax
mov dword [0x469a5c], edx
sar edi, 1
call fcn.0040df90
mov ecx, eax
call fcn.00409580
push 0x52
mov ecx, 0x469a38
mov esi, eax
call fcn.0040df90
mov ecx, eax
call fcn.00409580
push 0
push dword [0x46c31c]
push 0
push ebp
push 0x17c
push 0x217
push edi
push ebx
push 0x4ca0000
push esi
push eax
push 0x200
call dword [sym.imp.USER32.dll_CreateWindowExW]
push 5
push eax
mov dword [0x46c160], eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ebp, dword [sym.imp.USER32.dll_GetMessageW]
lea eax, [esp + 0x14]
push 0
push 0
push 0
push eax
call ebp
test eax, eax
je 0x40fb95
mov ebx, dword [sym.imp.USER32.dll_IsDialogMessageW]
mov esi, dword [sym.imp.USER32.dll_TranslateMessage]
mov edi, dword [sym.imp.USER32.dll_DispatchMessageW]
lea eax, [esp + 0x14]
push eax
push dword [0x46c160]
call ebx
test eax, eax
jne 0x40fb84
lea eax, [esp + 0x14]
push eax
call esi
lea eax, [esp + 0x14]
push eax
call edi
push 0
push 0
push 0
lea eax, [esp + 0x20]
push eax
call ebp
test eax, eax
jne 0x40fb65
push 1
push dword [esp + 0x14]
call dword [sym.imp.USER32.dll_EnableWindow]
mov ecx, dword [esp + 0x30]
pop edi
pop esi
pop ebx
pop ebp
xor ecx, esp
call fcn.0042d960
add esp, 0x24
ret
Function at 0x40fcb0
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x660
mov eax, dword [0x4629b4]
xor eax, esp
mov dword [esp + 0x65c], eax
xorps xmm0, xmm0
mov dword [esp], 0x44
push esi
mov esi, dword [esp + 0x668]
lea eax, [esp + 0x260]
push 0x400
push 0
push eax
movups xmmword [esp + 0x54], xmm0
movlpd qword [esp + 0x14], xmm0
movlpd qword [esp + 0x1c], xmm0
movlpd qword [esp + 0x24], xmm0
movlpd qword [esp + 0x2c], xmm0
movlpd qword [esp + 0x34], xmm0
movlpd qword [esp + 0x3c], xmm0
movlpd qword [esp + 0x44], xmm0
movlpd qword [esp + 0x4c], xmm0
call fcn.0042f620
add esp, 0xc
lea eax, [esp + 0x58]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push esi
lea eax, [esp + 0x5c]
push eax
push str.__s___s
lea eax, [esp + 0x26c]
push 0xffffffffffffffff
push eax
call fcn.0040d510
add esp, 0x14
lea eax, [esp + 0x48]
push eax
lea eax, [esp + 8]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
lea eax, [esp + 0x280]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov ecx, dword [esp + 0x660]
pop esi
xor ecx, esp
call fcn.0042d960
add esp, 0x660
ret
Function at 0x4114f0
Capabilities:
Query or enumerate registry key

Disassembly:
sub esp, 0x310
mov eax, dword [0x4629b4]
xor eax, esp
mov dword [esp + 0x30c], eax
push ebx
mov ebx, dword [esp + 0x31c]
lea eax, [esp + 4]
push ebp
push esi
push edi
mov edi, dword [esp + 0x324]
push eax
push 0x20019
push 0
mov dword [esp + 0x24], edi
mov ebp, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push ebx
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x28], 0
mov dword [esp + 0x24], 0
call ebp
test eax, eax
jne 0x4115f7
push 0x200
push eax
lea eax, [esp + 0x124]
push eax
call fcn.0042f620
push 0x100
lea eax, [esp + 0x2c]
push 0
push eax
call fcn.0042f620
add esp, 0x18
xor esi, esi
push 0
push 0
push 0
push 0
lea eax, [esp + 0x28]
mov dword [esp + 0x28], 0x80
push eax
lea eax, [esp + 0x30]
push eax
push esi
push dword [esp + 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x4115ed
push str.ControlClass4d36e972_e325_11ce_bfc1_08002be10318
lea eax, [esp + 0x20]
push eax
push 0x4610a4
push ebx
push str._s_s_s_s
lea eax, [esp + 0x130]
push 0xffffffffffffffff
push eax
call fcn.0040d4b0
add esp, 0x1c
lea eax, [esp + 0x14]
push eax
push 0x20019
push 0
lea eax, [esp + 0x128]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call ebp
test eax, eax
je 0x41161e
inc esi
cmp esi, 0x3e8
jb 0x411575
push dword [esp + 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x4464a0
mov ecx, edi
call fcn.00405090
mov ecx, dword [esp + 0x31c]
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0042d960
add esp, 0x310
ret
lea eax, [esp + 0x1c]
push eax
push 0x4610a4
push ebx
push str._s_s_s
lea eax, [esp + 0x12c]
push 0xffffffffffffffff
push eax
call fcn.0040d4b0
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
add esp, 0x18
push dword [esp + 0x14]
call esi
push dword [esp + 0x10]
call esi
lea eax, [esp + 0x11c]
push eax
jmp 0x4115fc
Function at 0x411660
Capabilities:
Query or enumerate registry key

Disassembly:
sub esp, 0x410
mov eax, dword [0x4629b4]
xor eax, esp
mov dword [esp + 0x40c], eax
push ebp
push 0x200
lea eax, [esp + 0x14]
mov dword [esp + 0xc], 0
push 0
push eax
mov dword [esp + 0x10], 0
call fcn.0042f620
push 0x200
lea eax, [esp + 0x220]
push 0
push eax
call fcn.0042f620
add esp, 0x18
lea eax, [esp + 4]
mov ecx, 0x469a38
push eax
push 0x20019
push 0
push 0x16
call fcn.0040df90
mov ecx, eax
call fcn.00409580
mov ebp, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call ebp
test eax, eax
jne 0x4117c3
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
push esi
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor esi, esi
push 0
push 0
push 0
push 0
lea eax, [esp + 0x28]
mov dword [esp + 0x28], 0x100
push eax
lea eax, [esp + 0x30]
push eax
push esi
push dword [esp + 0x2c]
call ebx
test eax, eax
jne 0x4117ba
push str.ControlClass4d36e972_e325_11ce_bfc1_08002be10318
lea eax, [esp + 0x20]
mov ecx, 0x469a38
push eax
push 0x4610a4
push 0x16
call fcn.0040df90
mov ecx, eax
call fcn.00409580
push eax
push str._s_s_s_s
lea eax, [esp + 0x230]
push 0xffffffffffffffff
push eax
call fcn.0040d4b0
add esp, 0x1c
lea eax, [esp + 0x14]
push eax
push 0x20019
push 0
lea eax, [esp + 0x228]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call ebp
test eax, eax
jne 0x4117ad
lea eax, [esp + 0x1c]
mov ecx, 0x469a38
push eax
push 0x4610a4
push 0x16
call fcn.0040df90
mov ecx, eax
call fcn.00409580
push eax
push str._s_s_s
push 0xffffffffffffffff
push 0x46a8fc
call fcn.00404fa0
add esp, 0x18
push dword [esp + 0x14]
call edi
inc esi
cmp esi, 0x3e8
jb 0x4116f3
push dword [esp + 0x10]
call edi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x410]
pop ebp
xor ecx, esp
call fcn.0042d960
add esp, 0x410
ret
Function at 0x413c10
Capabilities:
Get file version info

Disassembly:
sub esp, 0x20
mov eax, dword [0x4629b4]
xor eax, esp
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x2c]
mov dword [esp], eax
mov eax, dword [esp + 0x30]
push ebx
mov ebx, dword [esp + 0x28]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x38]
push ebp
mov ebp, dword [esp + 0x30]
mov dword [esp + 0x10], eax
lea eax, [esp + 0x14]
push edi
push eax
mov dword [esp + 0x1c], 0
call fcn.0040fd90
add esp, 4
mov dword [esp + 0x20], 0
lea eax, [esp + 0x20]
mov ecx, ebx
push eax
call fcn.00409580
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov edi, eax
test edi, edi
jne 0x413c94
lea eax, [esp + 0x18]
push eax
call fcn.0040fd90
add esp, 4
pop edi
pop ebp
pop ebx
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.0042d960
add esp, 0x20
ret
push esi
push edi
call fcn.0042daff
mov esi, eax
add esp, 4
test esi, esi
je 0x413cb2
push edi
push 0
push esi
call fcn.0042f620
add esp, 0xc
jmp 0x413cb4
xor esi, esi
mov ecx, ebx
call fcn.00409580
push esi
push edi
push dword [esp + 0x2c]
push eax
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x413d27
lea eax, [esp + 0x28]
mov dword [esp + 0x20], 0
push eax
lea eax, [esp + 0x24]
push eax
push 0x4610a4
push esi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x413d27
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x10]
movzx eax, word [ecx + 0x12]
mov dword [ebp], eax
movzx eax, word [ecx + 0x10]
mov dword [edx], eax
movzx eax, word [ecx + 0x16]
mov edx, dword [esp + 0x14]
mov dword [edx], eax
movzx eax, word [ecx + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [ecx], eax
lea eax, [esp + 0x1c]
push eax
call fcn.0040fd90
push esi
call fcn.0042db08
jmp 0x413d37
push esi
call fcn.0042db08
lea eax, [esp + 0x20]
push eax
call fcn.0040fd90
mov ecx, dword [esp + 0x34]
add esp, 8
pop esi
pop edi
pop ebp
pop ebx
xor ecx, esp
call fcn.0042d960
add esp, 0x20
ret
Function at 0x414590
Capabilities:
Initialize winhttp library
Prepare http request
Receive http response

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x444608
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x4629b4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x34], ebx
call fcn.0041c620
test eax, eax
je 0x4145d8
call fcn.00424c40
push 0
push 0
push 0
push 0
push str.Mozilla_4.0__compatible__MSIE_8.0__Win32_
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [0x46c37c], 0
call dword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov dword [0x46c37c], eax
test eax, eax
jne 0x41461d
push 0x4464a0
mov ecx, ebx
call fcn.00405090
jmp 0x414747
push 0x4474e0
lea ecx, [ebp - 0x30]
call fcn.004088c0
push 0
push 0
push esi
push dword [0x46c37c]
mov dword [ebp - 4], 0
call dword [sym.imp.WINHTTP.dll_WinHttpConnect]
mov esi, dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov dword [ebp - 0x34], eax
test eax, eax
je 0x414721
push 0
push 0
push 0
push 0
push edi
push 0x455dbc
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov edi, eax
test edi, edi
je 0x41471c
push 0
push 0
push 0
push 0
push 0
push 0
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
test eax, eax
je 0x414719
push 0
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
test eax, eax
je 0x414719
nop word [eax + eax]
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0
push eax
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpQueryDataAvailable]
mov ebx, dword [ebp - 0x14]
inc ebx
push ebx
call fcn.0042daff
mov esi, eax
add esp, 4
test esi, esi
je 0x4146fc
push ebx
push 0
push esi
call fcn.0042f620
mov eax, dword [ebp - 0x14]
inc eax
push eax
push 0
push esi
call fcn.0042f620
add esp, 0x18
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 0x14]
push esi
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpReadData]
test eax, eax
je 0x414701
push esi
lea ecx, [ebp - 0x30]
call fcn.0040e080
jmp 0x414701
xor esi, esi
mov dword [ebp - 0x14], esi
push esi
call fcn.0042db08
add esp, 4
cmp dword [ebp - 0x14], 0
ja 0x4146a0
mov ebx, dword [ebp - 0x38]
mov esi, dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
push edi
call esi
push dword [ebp - 0x34]
call esi
mov eax, dword [0x46c37c]
test eax, eax
je 0x41472d
push eax
call esi
lea ecx, [ebp - 0x30]
call fcn.00409570
push eax
push ebx
call fcn.0040b3a0
add esp, 8
lea ecx, [ebp - 0x30]
call fcn.00408900
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0042d960
mov esp, ebp
pop ebp
ret