joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4328c0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x530948
push eax
mov dword fs:[0], esp
sub esp, 0x30
push ebx
push ebp
push edi
mov edi, ecx
xor ebp, ebp
cmp edi, ebp
je 0x432a57
mov ebx, dword [esp + 0x4c]
cmp ebx, ebp
je 0x432a57
push edi
mov dword [ebx], ebp
call dword [sym.imp.KERNEL32.DLL_lstrlenA]
shl eax, 1
cmp eax, 0x64
jge 0x432908
mov eax, 0x3e8
push eax
mov dword [esp + 0x14], ebp
mov dword [esp + 0x18], eax
call dword [sym.imp.ole32.dll_CoTaskMemAlloc]
cmp eax, ebp
mov dword [esp + 0x18], eax
je 0x432922
mov byte [eax], 0
cmp eax, ebp
mov dword [esp + 0x44], ebp
jne 0x43294a
push ebp
call dword [sym.imp.ole32.dll_CoTaskMemFree]
pop edi
pop ebp
mov eax, 0x8007000e
pop ebx
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
add esp, 0x3c
ret 4
mov dword [esi], edi
cmp byte [edi], 0
mov dword [esp + 0xc], ebp
je 0x4329a3
mov ebp, dword [sym.imp.USER32.dll_CharNextA]
jmp 0x432960
mov edi, dword [esi]
cmp byte [edi], 0x25
push edi
jne 0x432974
call ebp
mov edi, eax
mov dword [esi], edi
cmp byte [edi], 0x25
jne 0x4329cc
push edi
call ebp
sub eax, edi
push eax
lea ebx, [esp + 0x14]
push edi
call fcn.004316b0
test eax, eax
je 0x432a4a
mov ecx, dword [esi]
push ecx
call ebp
mov edx, eax
mov dword [esi], eax
cmp byte [edx], 0
jne 0x432960
mov ebx, dword [esp + 0x4c]
mov eax, dword [esp + 0x18]
xor ebp, ebp
mov dword [esp + 0x18], ebp
mov dword [ebx], eax
mov eax, dword [esp + 0x18]
push eax
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov eax, dword [esp + 0xc]
pop edi
pop ebp
pop ebx
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
add esp, 0x3c
ret 4
mov bl, 0x25
mov eax, edi
call fcn.004322f0
mov edi, eax
test edi, edi
je 0x432a3d
mov ecx, dword [esi]
sub eax, ecx
cmp eax, 0x1f
jg 0x432a30
inc eax
push eax
push ecx
lea eax, [esp + 0x24]
push eax
call dword [sym.imp.KERNEL32.DLL_lstrcpynA]
mov eax, dword [esi + 4]
lea ecx, [esp + 0x1c]
push ecx
call fcn.00432170
test eax, eax
je 0x432a3d
push eax
lea edx, [esp + 0x14]
push edx
call fcn.00431720
test eax, eax
je 0x432a4a
cmp dword [esi], edi
je 0x43298b
lea ebx, [ebx]
mov eax, dword [esi]
push eax
call ebp
cmp eax, edi
mov dword [esi], eax
jne 0x432a20
jmp 0x43298b
mov dword [esp + 0xc], 0x80004005
jmp 0x4329a9
mov dword [esp + 0xc], 0x80020009
jmp 0x4329a9
mov dword [esp + 0xc], 0x8007000e
jmp 0x4329a9
mov ecx, dword [esp + 0x3c]
pop edi
pop ebp
mov eax, 0x80004003
pop ebx
mov dword fs:[0], ecx
add esp, 0x3c
ret 4
Function at 0x433da0
Capabilities:
Accept command line arguments
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x530e50
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push esi
mov esi, dword [esp + 0x20]
xor ebx, ebx
mov dword [esp + 0xc], ebx
push edi
mov dword [esi], method.CWinApp.virtual_0
mov dword [esp + 0x1c], 7
mov eax, dword [esi + 0xf8]
push eax
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov eax, dword [esi + 0xb4]
test eax, eax
je 0x433ec8
mov eax, dword [0x58a840]
test ah, ah
js 0x433e2d
mov ecx, dword [esi + 0xa4]
cmp dword [ecx + 0x18], 3
jne 0x433e2d
lea edx, [esp + 0x10]
push edx
mov edi, 1
call fcn.00403990
mov eax, dword [eax]
push str._Dispatch
push eax
mov ebx, edi
call fcn.004bb90b
add esp, 8
test eax, eax
mov byte [esp + 0xf], 1
je 0x433e32
mov byte [esp + 0xf], 0
test bl, 1
je 0x433e55
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x433e55
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov al, byte [esp + 0xf]
test al, al
je 0x433eb9
mov ecx, dword [esi + 0xa4]
lea eax, [esp + 0x10]
push eax
mov edi, 2
call fcn.00403990
mov byte [esp + 0x1c], 8
mov eax, dword [eax]
mov ecx, dword [esi + 0xac]
lea edi, [ecx + 0x20]
mov ebx, eax
call fcn.004034e0
mov byte [esp + 0x1c], 7
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x433eac
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esi + 0xac]
call fcn.0041e810
jmp 0x433ec8
push 5
call dword [sym.imp.KERNEL32.DLL_GetCommandLineA]
push eax
call dword [sym.imp.KERNEL32.DLL_WinExec]
lea edi, [esi + 0xfc]
push ebp
mov byte [esp + 0x20], 6
mov ebp, dword [sym.imp.KERNEL32.DLL_DeleteCriticalSection]
lea eax, [edi + 8]
push eax
mov dword [edi], 0x55d47c
call ebp
mov ecx, edi
call fcn.004b9414
lea ecx, [esi + 0xdc]
mov byte [esp + 0x20], 5
call fcn.0051f0a5
lea edi, [esi + 0xbc]
lea ecx, [edi + 8]
mov byte [esp + 0x20], 4
push ecx
mov dword [edi], 0x55d47c
call ebp
mov ecx, edi
call fcn.004b9414
mov byte [esp + 0x20], 3
mov ecx, dword [esi + 0xac]
xor ebx, ebx
cmp ecx, ebx
pop ebp
je 0x433f38
call fcn.0052a247
mov dword [esi + 0xac], ebx
push ebx
lea edx, [esi + 0xa8]
mov byte [esp + 0x20], 2
mov edi, dword [sym.imp.KERNEL32.DLL_InterlockedExchange]
push edx
call edi
cmp eax, ebx
je 0x433f57
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push ebx
lea edx, [esi + 0xa4]
push edx
mov byte [esp + 0x24], 1
call edi
cmp eax, ebx
je 0x433f70
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [esp + 0x1c], 0
mov ecx, dword [esi + 0xa0]
cmp ecx, ebx
je 0x433f8a
call fcn.0052a247
mov dword [esi + 0xa0], ebx
mov ecx, esi
mov dword [esp + 0x1c], 0xffffffff
call fcn.00528b54
mov ecx, dword [esp + 0x14]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret 4
Function at 0x434030
Capabilities:
Set console window title

Disassembly:
mov eax, dword [ecx + 0xa8]
sub esp, 8
test eax, eax
push esi
lea esi, [ecx + 0xa8]
push edi
mov edi, dword [sym.imp.KERNEL32.DLL_InterlockedExchange]
jne 0x434083
call dword [sym.imp.KERNEL32.DLL_AllocConsole]
push 0x58d190
call dword [sym.imp.KERNEL32.DLL_SetConsoleTitleA]
push 0x54
call fcn.0051fe69
add esp, 4
test eax, eax
je 0x434073
mov ecx, eax
call fcn.0047dfb0
jmp 0x434075
xor eax, eax
push eax
push esi
call edi
test eax, eax
je 0x434083
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov esi, dword [esi]
test esi, esi
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
je 0x4340ac
mov edx, dword [esi]
lea eax, [esp + 0xc]
push eax
push 0x54858c
push esi
call dword [edx]
test eax, eax
jl 0x4340c2
mov ecx, dword [esp + 0xc]
push ecx
lea edx, [esp + 0xc]
push edx
call edi
test eax, eax
je 0x4340c2
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push 0
lea edx, [esp + 0xc]
push edx
call edi
mov esi, eax
push 0
lea eax, [esp + 0xc]
push eax
call edi
test eax, eax
je 0x4340e0
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
pop edi
mov eax, esi
pop esi
add esp, 8
ret
Function at 0x435060
Capabilities:
Access peb ldr_data
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x530dd5
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x224
push ebx
push esi
push edi
mov edi, dword [esp + 0x240]
mov esi, ecx
mov dword [esp + 0x14], 0
call fcn.0051ffd3
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0xc], eax
mov ecx, dword [esp + 0x244]
lea eax, [esp + 0x2c]
push eax
push 0
push 0
push 0
mov ebx, 1
push ecx
mov dword [esp + 0x24c], ebx
call fcn.004bc6da
lea edx, [esp + 0x40]
push edx
call fcn.004bae5d
add esp, 0x18
push ebx
lea eax, [esi + 0xbc]
push eax
lea ecx, [esp + 0x24]
call fcn.004b93b1
lea ecx, [esp + 0xc]
push ecx
lea edx, [esp + 0x30]
add esi, 0xdc
push edx
mov ecx, esi
mov byte [esp + 0x240], 2
call fcn.0051f0d9
lea ecx, [esp + 0x1c]
call fcn.004b938f
mov eax, dword [esp + 0xc]
mov ecx, dword [eax - 0xc]
test ecx, ecx
je 0x43515d
add eax, 0xfffffff0
push eax
call fcn.00401400
add eax, 0x10
add esp, 4
mov dword [edi], eax
lea ecx, [esp + 0x1c]
mov dword [esp + 0x14], ebx
mov byte [esp + 0x238], bl
call fcn.004b938f
mov byte [esp + 0x238], 0
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jmp 0x435259
lea eax, [esp + 0x10]
push eax
push 0x20019
push 0
lea ecx, [esp + 0x38]
push ecx
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4351cd
lea edx, [esp + 0x18]
push edx
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x130]
push eax
lea ecx, [esp + 0x30]
push ecx
push 0
push str.Content_Type
push edx
mov dword [esp + 0x30], 0x104
mov dword [esp + 0x40], ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4351c2
lea eax, [esp + 0x12c]
push eax
lea ecx, [esp + 0x10]
call fcn.00402fe0
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [esp + 0xc]
mov eax, dword [edx - 0xc]
test eax, eax
jne 0x4351e8
push 0x18
push str.application_octet_stream
lea ecx, [esp + 0x14]
call fcn.00403060
push 0xffffffffffffffff
lea ecx, [esp + 0x20]
call fcn.004b937a
lea eax, [esp + 0x2c]
push eax
mov ecx, esi
call fcn.0051f27b
lea ecx, [esp + 0xc]
push ecx
mov ecx, eax
call fcn.004038f0
lea ecx, [esp + 0x1c]
call fcn.004b938f
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
push eax
call fcn.00401400
add eax, 0x10
add esp, 4
lea ecx, [esp + 0x1c]
mov dword [edi], eax
mov dword [esp + 0x14], ebx
mov byte [esp + 0x238], bl
call fcn.004b938f
mov byte [esp + 0x238], 0
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x435263
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x230]
mov eax, edi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x230
ret 8
Function at 0x4393c0
Capabilities:
Allocate or change rwx memory
Parse pe header

Disassembly:
sub esp, 0x2c
push esi
call fcn.0044d360
mov esi, eax
cmp dword [0x586fa8], esi
je 0x4393ee
push 1
push 0x586fac
call dword [sym.imp.KERNEL32.DLL_InterlockedExchange]
test eax, eax
jne 0x4395b1
mov dword [0x586fa8], esi
inc dword [0x586fb0]
je 0x4395b1
mov eax, dword [0x572278]
test eax, eax
je 0x4395b1
push ebx
push 0x572260
call dword [sym.imp.KERNEL32.DLL_EnterCriticalSection]
mov eax, dword [0x586fa0]
xor ebx, ebx
test eax, eax
mov dword [esp + 0xc], ebx
jbe 0x439578
push ebp
push edi
push 0x1c
lea eax, [esp + 0x24]
push eax
push ebx
call dword [sym.imp.KERNEL32.DLL_VirtualQuery]
cmp eax, 0x1c
jne 0x439576
cmp dword [esp + 0x30], 0x1000
jne 0x43955f
cmp dword [esp + 0x38], 0x40000
je 0x43955f
mov ecx, dword [esp + 0x24]
test ecx, ecx
je 0x43955f
mov eax, dword [esp + 0x20]
cmp ecx, eax
jne 0x43955f
push 2
lea ecx, [esp + 0x14]
push ecx
push eax
call dword [sym.imp.KERNEL32.DLL_GetModuleFileNameA]
test eax, eax
je 0x43955f
mov edi, dword [esp + 0x20]
cmp word [edi], 0x5a4d
jne 0x43955f
mov ecx, dword [edi + 0x3c]
mov eax, dword [ecx + edi]
add ecx, edi
cmp eax, 0x4550
jne 0x43955f
mov esi, dword [ecx + 0x80]
mov eax, 0xcccccccd
mul dword [ecx + 0x84]
shr edx, 4
add esi, edi
xor ebp, ebp
dec edx
mov dword [esp + 0x18], edx
je 0x43955f
lea ebx, [esi + 0x10]
jmp 0x4394d7
mov edi, dword [esp + 0x20]
mov eax, dword [ebx - 4]
test eax, eax
je 0x43955b
mov eax, dword [ebx]
test eax, eax
je 0x43955b
mov ecx, dword [edi + eax]
add edi, eax
test ecx, ecx
je 0x43954f
lea ecx, [ecx]
mov esi, dword [0x586fa4]
test esi, esi
je 0x439541
lea ebx, [ebx]
mov eax, dword [esp + 0x40]
test eax, eax
je 0x43950c
mov eax, dword [esi]
jmp 0x43950f
mov eax, dword [esi + 4]
cmp ecx, eax
je 0x43951c
mov esi, dword [esi + 8]
test esi, esi
jne 0x439500
jmp 0x439541
lea edx, [esp + 0x1c]
push edx
push 0x40
push 4
push edi
call dword [sym.imp.KERNEL32.DLL_VirtualProtect]
test eax, eax
je 0x439541
mov eax, dword [esp + 0x40]
test eax, eax
jne 0x43953c
mov esi, dword [esi]
jmp 0x43953f
mov esi, dword [esi + 4]
mov dword [edi], esi
mov ecx, dword [edi + 4]
add edi, 4
test ecx, ecx
jne 0x4394f0
mov edx, dword [esp + 0x18]
add ebx, 0x14
inc ebp
cmp ebp, edx
jb 0x4394d3
mov ebx, dword [esp + 0x14]
mov ecx, dword [esp + 0x2c]
mov eax, dword [0x586fa0]
add ebx, ecx
cmp ebx, eax
mov dword [esp + 0x14], ebx
jb 0x439428
pop edi
pop ebp
mov eax, dword [0x586fb0]
dec eax
pop ebx
mov dword [0x586fb0], eax
jne 0x43959d
push 0
push 0x586fac
mov dword [0x586fa8], 0
call dword [sym.imp.KERNEL32.DLL_InterlockedExchange]
mov eax, dword [0x572278]
test eax, eax
je 0x4395b1
push 0x572260
call dword [sym.imp.KERNEL32.DLL_LeaveCriticalSection]
pop esi
add esp, 0x2c
ret
Function at 0x43b320
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x52bee8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x70
push ebx
push esi
push edi
lea eax, [esp + 0x1c]
xor edi, edi
push eax
mov esi, ecx
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], edi
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov dword [esp + 0x2c], edi
mov ecx, dword [esi]
push edi
lea edx, [esp + 0x38]
push edx
push esi
mov dword [esp + 0x90], edi
call dword [ecx + 0x30]
test eax, eax
jge 0x43b375
xor eax, eax
mov dword [esp + 0x10], edi
jmp 0x43b381
mov ecx, dword [esp + 0x40]
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x10], ecx
push eax
lea ecx, [esp + 0x18]
call fcn.0043b260
mov ebx, eax
cmp ebx, edi
jge 0x43b3d8
mov eax, dword [esp + 0x2c]
cmp eax, edi
je 0x43b3b7
push eax
call dword [sym.imp.OLEAUT32.dll_SafeArrayAccessData]
test eax, eax
jl 0x43b3b7
mov edx, dword [esp + 0x2c]
push edx
call dword [sym.imp.OLEAUT32.dll_SafeArrayGetDim]
test eax, eax
jl 0x43b3b7
mov dword [esp + 0x2c], edi
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
pop edi
pop esi
mov eax, ebx
pop ebx
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
add esp, 0x7c
ret 4
mov edx, dword [esi]
lea ebx, [esp + 0xc]
push ebx
push edi
xor ecx, ecx
push ecx
xor eax, eax
push eax
push esi
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], edi
call dword [edx + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
mov eax, dword [esi]
push edi
push ecx
push edx
push esi
call dword [eax + 0xc]
mov eax, dword [esp + 0x2c]
push eax
call dword [sym.imp.OLEAUT32.dll_SafeArrayAccessData]
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x8c]
mov dword [ecx + 8], eax
mov word [ecx], 0x2011
lea ecx, [esp + 0x1c]
push ecx
mov dword [esp + 0x30], edi
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov ecx, dword [esp + 0x7c]
pop edi
pop esi
xor eax, eax
pop ebx
mov dword fs:[0], ecx
add esp, 0x7c
ret 4
Function at 0x449090
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x52c8ca
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
mov dword [esi + 4], 1
mov dword [esi], 0x535e90
mov eax, dword [0x58ada8]
xor edi, edi
mov ecx, 0x58ada8
mov dword [esp + 0x14], edi
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi + 8], eax
push str.Unknown_Browser
lea ecx, [esi + 0xc]
mov byte [esp + 0x18], 1
call fcn.0040e1f0
push str.Unknown_Browser
lea ecx, [esi + 0x10]
mov byte [esp + 0x18], 2
call fcn.0040e1f0
mov edx, dword [0x58ada8]
mov ecx, 0x58ada8
mov byte [esp + 0x14], 3
call dword [edx + 0xc]
add eax, 0x10
mov dword [esi + 0x14], eax
mov eax, dword [0x58ada8]
mov ecx, 0x58ada8
mov byte [esp + 0x14], 4
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi + 0x18], eax
mov edx, dword [0x58ada8]
mov ecx, 0x58ada8
mov byte [esp + 0x14], 5
call dword [edx + 0xc]
add eax, 0x10
mov dword [esi + 0x1c], eax
push 0x535e60
lea ecx, [esi + 0x20]
mov byte [esp + 0x18], 6
call fcn.0040e1f0
mov ecx, dword [esp + 0xc]
mov word [esi + 0x24], di
mov word [esi + 0x26], di
mov word [esi + 0x28], di
mov word [esi + 0x2c], di
mov word [esi + 0x2e], di
mov word [esi + 0x30], di
mov word [esi + 0x32], di
mov word [esi + 0x34], di
mov word [esi + 0x36], di
mov word [esi + 0x38], di
mov word [esi + 0x3a], di
mov word [esi + 0x3c], di
mov word [esi + 0x3e], di
mov word [esi + 0x40], di
mov word [esi + 0x42], di
mov word [esi + 0x44], di
mov word [esi + 0x2a], 0xffff
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x44f690
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52cd1b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x94
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x1c], edi
call dword [0x586c98]
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x18], eax
mov eax, dword [ebx]
test eax, eax
je 0x44f6d8
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [ebx], 0
mov eax, dword [edi]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
mov esi, eax
xor eax, eax
cmp esi, eax
mov dword [ebp - 0x14], esi
jne 0x44f707
push 0x542148
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
xor ecx, ecx
test eax, eax
setne cl
mov dword [ebx], eax
mov eax, ecx
jmp 0x44f7f1
mov dword [ebp - 0xa0], eax
mov dword [ebp - 4], eax
lea eax, [esi + 1]
cmp eax, 0x80
mov byte [ebp - 4], 1
jbe 0x44f732
push eax
lea ecx, [ebp - 0xa0]
call fcn.004014d0
jmp 0x44f779
lea eax, [ebp - 0x9c]
mov dword [ebp - 0xa0], eax
inc esi
push esi
push eax
mov eax, dword [edi]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextA]
test eax, eax
jne 0x44f78d
mov eax, dword [ebp - 0xa0]
lea ecx, [ebp - 0x9c]
cmp eax, ecx
je 0x44f769
lea ecx, [ebp - 0xa0]
call fcn.00401490
xor eax, eax
jmp 0x44f7f1
mov eax, dword [ebp - 0xa0]
test eax, eax
jne 0x44f73e
lea edx, [ebp - 0x9c]
test edx, edx
jmp 0x44f75c
mov eax, dword [ebp - 0xa0]
test eax, eax
mov edi, eax
je 0x44f7c2
push eax
call dword [sym.imp.KERNEL32.DLL_lstrlenA]
mov esi, eax
inc esi
lea eax, [esi + esi]
add eax, 3
and eax, 0xfffffffc
call fcn.004bd0a0
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x10], esp
mov eax, esp
push edx
push esi
push edi
push eax
call fcn.004015e0
push eax
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
xor ecx, ecx
test eax, eax
setne cl
mov dword [ebx], eax
mov eax, dword [ebp - 0xa0]
lea edx, [ebp - 0x9c]
cmp eax, edx
mov esi, ecx
je 0x44f7ef
lea ecx, [ebp - 0xa0]
call fcn.00401490
mov eax, esi
lea esp, [ebp - 0xac]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x459849
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x52d2f3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
mov dword [esi + 4], 1
xor edi, edi
lea ebp, [esi + 0x18]
mov dword [esi], 0x536e8c
mov dword [esp + 0x28], edi
mov dword [ebp], edi
push 0x88
mov byte [esp + 0x2c], 1
call fcn.0051fe69
add esp, 4
cmp eax, edi
je 0x4598ad
mov dword [eax + 4], 1
mov dword [eax], 0x536e28
mov dword [eax + 0x68], edi
mov dword [eax + 0x6c], edi
mov dword [eax + 0x70], edi
mov dword [eax + 0x74], edi
mov dword [eax + 0x78], edi
mov dword [eax + 0x7c], edi
mov dword [eax + 0x80], edi
mov dword [eax + 0x84], edi
jmp 0x4598af
xor eax, eax
push eax
push ebp
call dword [sym.imp.KERNEL32.DLL_InterlockedExchange]
cmp eax, edi
je 0x4598c1
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x30]
mov ecx, dword [ebp]
push edx
push eax
lea edx, [esp + 0x18]
push edx
call fcn.004592c0
mov edx, dword [eax]
lea ecx, [esi + 8]
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov dword [ecx + 8], edx
mov eax, dword [eax + 0xc]
mov dword [ecx + 0xc], eax
mov ecx, dword [esp + 0x20]
pop edi
mov eax, esi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x20
ret 8

Function at 0x45db70
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x52d548
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, dword [esp + 0x1c]
mov eax, dword [esi]
mov ecx, dword [eax - 0x10]
mov edx, dword [ecx]
push edi
xor edi, edi
mov dword [esp + 8], edi
call dword [edx + 0x10]
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x24]
mov eax, dword [eax]
mov edx, dword [eax - 0xc]
mov ecx, dword [esi]
mov esi, dword [ecx - 0xc]
push edx
push eax
push esi
push ecx
lea ecx, [esp + 0x30]
push ecx
mov dword [esp + 0x28], edi
call fcn.0045dad0
mov esi, dword [esp + 0x34]
add esi, 0xfffffff0
push esi
call fcn.00404780
mov edi, dword [esp + 0x34]
add eax, 0x10
mov dword [edi], eax
add esp, 0x18
mov dword [esp + 0x14], 0xffffffff
lea edx, [esi + 0xc]
or eax, 0xffffffff
lock xadd dword [edx], eax
dec eax
test eax, eax
jg 0x45dc02
mov ecx, dword [esi]
mov edx, dword [ecx]
push esi
call dword [edx + 4]
mov ecx, dword [esp + 0xc]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x4675d8
Capabilities:
Create http request
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x52de38
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
push edi
xor edi, edi
mov dword [esp + 0xc], esi
mov dword [esi + 4], 1
mov dword [esi + 0xc], edi
push edi
push 1
lea ecx, [esi + 0x28]
mov dword [esp + 0x20], edi
mov dword [esi], 0x537768
mov dword [esi + 8], 0x537744
mov dword [esi + 0x10], 0x5376e0
mov dword [esi + 0x14], 0x5376a8
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
call fcn.00466100
mov dword [esi + 0x430], edi
mov dword [esi + 0x438], edi
mov dword [esi + 0x43c], edi
mov dword [esi + 0x440], 0xa0404000
mov dword [esi + 0x444], edi
mov dword [esi + 0x44c], 1
mov dword [esi + 0x448], 0x537620
mov dword [esi + 0x450], edi
mov dword [esi + 0x454], edi
mov dword [esi + 0x458], edi
mov dword [esi + 0x45c], edi
mov dword [esi + 0x460], edi
mov dword [esi + 0x464], edi
cmp dword [0x587a88], edi
jne 0x4676f0
lea eax, [esp + 8]
push eax
push 1
push edi
push str.SoftwareMicrosoftWindowsCurrentVersionInternet_Settings
push SysReAllocString
mov dword [esp + 0x20], 0x40
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4676cc
mov edx, dword [esp + 8]
lea ecx, [esp + 0xc]
push ecx
push 0x587a48
push edi
push edi
push 0x537660
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov eax, dword [esp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x10000000
push edi
push edi
push edi
push 0x587a48
call dword [sym.imp.WININET.dll_InternetOpenA]
push 0x467330
push eax
mov dword [0x587a88], eax
call dword [sym.imp.WININET.dll_InternetSetStatusCallback]
mov ecx, dword [esp + 0x10]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret