joyce8/EMBER2024-capa huggingface dataset:
Function at 0x405295
Capabilities:
Query or enumerate registry value

Disassembly:
push 8
mov eax, 0x446d15
call fcn.0040f6ca
mov edi, ecx
xor esi, esi
mov dword [ebp - 4], esi
lea eax, [edi + 0x10]
test dword [edi + 0x2c], 0x100
je 0x4052c7
cmp dword [eax + 0x14], 8
jb 0x4052bc
mov eax, dword [eax]
lea ecx, [ebp - 0x10]
push ecx
push 0x101
jmp 0x4052d8
cmp dword [eax + 0x14], 8
jb 0x4052cf
mov eax, dword [eax]
lea ecx, [ebp - 0x10]
push ecx
push 0x201
push esi
push eax
push dword [edi + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [edi + 4], eax
cmp eax, esi
jne 0x405321
cmp dword [ebp + 0x1c], 8
lea ecx, [ebp - 0x14]
push esi
push esi
push ecx
lea eax, [ebp + 8]
mov dword [ebp - 0x14], 1
cmovae eax, dword [ebp + 8]
push esi
push eax
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x10]
mov dword [edi + 4], eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [edi + 4], esi
jne 0x405321
mov esi, dword [ebp - 0x14]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00402671
mov eax, esi
call fcn.0040f693
ret 0x18
Function at 0x405498
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x446d90
mov eax, dword fs:[0]
push eax
mov eax, 0x201c
call fcn.004101f0
mov eax, dword [0x46106c]
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 esi, ecx
mov edi, dword [ebp + 8]
mov dword [ebp - 0x2024], edi
and dword [ebp - 0x2014], 0
mov dword [ebp - 4], 2
xor ebx, ebx
inc ebx
mov dword [ebp - 0x201c], 0x1000
cmp dword [ebp + 0x20], 8
lea eax, [ebp + 0xc]
cmovae eax, dword [ebp + 0xc]
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x2028], esp
push eax
call fcn.00402526
mov byte [ebp - 4], 3
mov byte [ebp - 4], 2
mov ecx, esi
call fcn.00405295
mov dword [ebp - 0x2020], eax
cmp eax, ebx
je 0x40553a
cmp eax, 2
je 0x40553a
lea eax, [ebp + 0x24]
mov ecx, edi
push eax
call fcn.004024f3
jmp 0x4055c8
lea eax, [esi + 0x10]
cmp dword [eax + 0x14], 8
jb 0x405545
mov eax, dword [eax]
lea ecx, [ebp - 0x2018]
push ecx
push dword [esi + 0x2c]
push 0
push eax
push dword [esi + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [esi + 4], eax
test eax, eax
je 0x40556f
mov ecx, edi
lea eax, [ebp + 0x24]
push eax
call fcn.004024f3
jmp 0x4055c8
cmp dword [ebp + 0x20], 8
lea ecx, [ebp - 0x201c]
push ecx
lea ecx, [ebp - 0x2010]
push ecx
lea ecx, [ebp - 0x2020]
push ecx
lea eax, [ebp + 0xc]
cmovae eax, dword [ebp + 0xc]
push 0
push eax
push dword [ebp - 0x2018]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x2018]
xor ecx, ecx
mov dword [esi + 4], eax
test eax, eax
mov esi, ebx
cmovne esi, ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, edi
test esi, esi
je 0x405564
lea eax, [ebp - 0x2010]
push eax
call fcn.00402526
mov dword [ebp - 0x2014], ebx
mov byte [ebp - 4], bl
lea ecx, [ebp + 0xc]
call fcn.00402671
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x24]
call fcn.00402671
mov eax, edi
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.0040f12e
leave
ret 0x34
Function at 0x40766d
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x114
mov eax, dword [0x46106c]
xor eax, esp
mov dword [esp + 0x110], eax
push ebx
mov ebx, ecx
xorps xmm0, xmm0
push esi
push edi
mov edi, edx
movlpd qword [esp + 0x10], xmm0
mov eax, dword [ebx + 0x10]
mov esi, dword [ebx + 0x14]
mov dword [esp + 0xc], eax
lea eax, [esp + 0x10]
push eax
call fcn.00431bfc
pop ecx
cmp dword [esp + 0x14], esi
jl 0x4076e0
jg 0x4076be
mov eax, dword [esp + 0xc]
cmp dword [esp + 0x10], eax
jbe 0x4076e0
push str.game_over
push 1
push 0x16f
push str.CHookApi::DecryptData
push str.d:ispbhelper_apphookapi.cpp
call fcn.00403426
add esp, 0x14
xor eax, eax
jmp 0x407730
push 0xd8
xor esi, esi
lea eax, [esp + 0x44]
push esi
push eax
call fcn.0042a960
add esp, 0xc
push 0x28
pop eax
push eax
lea eax, [esp + 0x1c]
push ebx
push eax
call fcn.00429440
add esp, 0xc
mov eax, esi
push 0x28
pop ecx
not byte [esp + eax + 0x18]
inc eax
cmp eax, ecx
jb 0x40770c
cmp dword [ebp + 8], esi
jbe 0x40772d
xor edx, edx
mov eax, esi
div ecx
mov al, byte [esp + edx + 0x18]
xor byte [edi], al
inc edi
inc esi
cmp esi, dword [ebp + 8]
jb 0x40771a
xor eax, eax
inc eax
mov ecx, dword [esp + 0x11c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0040f12e
mov esp, ebp
pop ebp
ret
Function at 0x410320
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ebp + 0xc]
sub eax, 0x10000
push eax
call fcn.004104d0
add esp, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 8]
jbe 0x4103ed
mov edx, dword [ebp - 4]
cmp edx, dword [0x4610a0]
jb 0x41036a
mov eax, dword [ebp - 4]
cmp eax, dword [0x4610a4]
ja 0x41036a
mov ecx, dword [ebp - 4]
sub ecx, 0x8000000
mov dword [ebp - 4], ecx
jmp 0x41033a
push 0x1c
push 0
lea edx, [ebp - 0x24]
push edx
call fcn.0042a960
add esp, 0xc
push 0x1c
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
jne 0x410390
jmp 0x4103ed
cmp dword [ebp - 0x14], 0x10000
jne 0x4103d3
cmp dword [ebp - 0x18], 0x10000
jb 0x4103d3
push 0x40
push 0x3000
push 0x10000
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x4103c6
mov eax, dword [ebp - 8]
jmp 0x4103ef
mov eax, dword [ebp - 4]
sub eax, 0x10000
mov dword [ebp - 4], eax
jmp 0x4103e8
mov ecx, dword [ebp - 0x20]
sub ecx, 0x10000
push ecx
call fcn.004104d0
add esp, 4
mov dword [ebp - 4], eax
jmp 0x41033a
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x410400
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ebp + 8]
push eax
call fcn.00410500
add esp, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 0xc]
jae 0x4104c5
mov edx, dword [ebp - 4]
cmp edx, dword [0x4610a0]
jb 0x410445
mov eax, dword [ebp - 4]
cmp eax, dword [0x4610a4]
ja 0x410445
mov ecx, dword [ebp - 4]
add ecx, 0x8000000
mov dword [ebp - 4], ecx
jmp 0x410415
push 0x1c
push 0
lea edx, [ebp - 0x24]
push edx
call fcn.0042a960
add esp, 0xc
push 0x1c
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
jne 0x41046b
jmp 0x4104c5
cmp dword [ebp - 0x14], 0x10000
jne 0x4104ae
cmp dword [ebp - 0x18], 0x10000
jb 0x4104ae
push 0x40
push 0x3000
push 0x10000
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x4104a1
mov eax, dword [ebp - 8]
jmp 0x4104c7
mov eax, dword [ebp - 4]
add eax, 0x10000
mov dword [ebp - 4], eax
jmp 0x4104c0
mov ecx, dword [ebp - 0x24]
add ecx, dword [ebp - 0x18]
push ecx
call fcn.00410500
add esp, 4
mov dword [ebp - 4], eax
jmp 0x410415
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x412180
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp dword [0x463e84], 0
je 0x412196
xor eax, eax
jmp 0x4123b2
cmp dword [0x463e80], 0
je 0x4121a9
mov eax, dword [0x463e80]
jmp 0x4123b2
push 0x24
push 0
push 0x463e5c
call fcn.0042a960
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [0x463e5c], eax
push 0
push 0
push str.dbghelp.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov dword [0x463e60], eax
cmp dword [0x463e60], 0
jne 0x41224e
mov dword [0x463e84], 1
cmp dword [0x463e60], 0
je 0x412201
mov eax, dword [0x463e60]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [0x463e64], 0
mov dword [0x463e68], 0
mov dword [0x463e6c], 0
mov dword [0x463e70], 0
mov dword [0x463e74], 0
mov dword [0x463e78], 0
mov dword [0x463e7c], 0
xor eax, eax
jmp 0x4123b2
push str.ImagehlpApiVersionEx
mov ecx, dword [0x463e60]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x463e64], eax
push str.SymInitialize
mov edx, dword [0x463e60]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x463e68], eax
push str.SymSetOptions
mov eax, dword [0x463e60]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x463e6c], eax
push str.SymGetOptions
mov ecx, dword [0x463e60]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x463e70], eax
push str.SymLoadModule64
mov edx, dword [0x463e60]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x463e74], eax
push str.SymGetModuleInfo64
mov eax, dword [0x463e60]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x463e78], eax
push str.SymFromName
mov ecx, dword [0x463e60]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x463e7c], eax
push 8
push 0
lea edx, [ebp - 0xc]
push edx
call fcn.0042a960
add esp, 0xc
mov eax, 0xc
mov word [ebp - 0xc], ax
cmp dword [0x463e64], 0
je 0x412333
cmp dword [0x463e68], 0
je 0x412333
cmp dword [0x463e74], 0
je 0x412333
cmp dword [0x463e78], 0
je 0x412333
cmp dword [0x463e7c], 0
jne 0x412338
jmp 0x4121e2
lea ecx, [ebp - 0xc]
push ecx
call dword [0x463e64]
movzx edx, word [ebp - 0xc]
cmp edx, 0xc
jge 0x412350
jmp 0x4121e2
push 0
push 0
mov eax, dword [0x463e5c]
push eax
call dword [0x463e68]
test eax, eax
jne 0x412369
jmp 0x4121e2
cmp dword [0x463e70], 0
je 0x4123a3
cmp dword [0x463e6c], 0
je 0x4123a3
call dword [0x463e70]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
and ecx, 0xfffffff8
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
or edx, 0x2704
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
push eax
call dword [0x463e6c]
mov dword [0x463e80], 0x463e5c
mov eax, dword [0x463e80]
mov esp, ebp
pop ebp
ret

Function at 0x414e64
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop ebp
ret

Function at 0x43adb9
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0043ac38
Function at 0x43f3b3
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0043f073
Function at 0x401f10
Capabilities:
Get disk information
Inspect load icon resource
Read file on windows

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x148
push ebx
push esi
push edi
push 0x65
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
lea ecx, [esp + 0xc]
call fcn.00401000
lea ecx, [esp + 0x50]
push 0x104
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [esp + 0x50]
lea ecx, [esp + 0xc]
push edx
call fcn.004012b0
test eax, eax
je 0x402021
lea eax, [esp + 0x50]
push 0x404030
push eax
call dword [sym.imp.MSVCRT.dll_fopen]
mov esi, eax
add esp, 8
test esi, esi
je 0x402084
lea ecx, [esp + 0x50]
push ecx
lea ecx, [esp + 0x10]
call fcn.00401290
mov edi, dword [sym.imp.MSVCRT.dll_fseek]
sub eax, 8
push 0
push eax
push esi
call edi
mov ebx, dword [sym.imp.MSVCRT.dll_fread]
push esi
push 1
lea edx, [esp + 0x24]
push 8
push edx
call ebx
mov eax, dword [esp + 0x2c]
push 0
push eax
push esi
call edi
push esi
push 1
lea ecx, [esp + 0x48]
push 0x38
push ecx
call ebx
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
mov eax, dword [esp + 0x88]
mov edx, dword [esp + 0x50]
add esp, 0x3c
test eax, eax
mov eax, dword [esp + 0x10]
push edx
push eax
jne 0x401ffe
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401800
jmp 0x402084
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401a90
jmp 0x402084
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_1
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov edi, eax
mov esi, 1
xor ebx, ebx
test edi, esi
je 0x40206a
mov dl, bl
lea ecx, [esp + 0x10]
add dl, 0x41
push edx
call sub.MFC42.DLL_CString::operator_1
push 0x40412c
lea ecx, [esp + 0x14]
call fcn.004020e2
lea ecx, [esp + 0xc]
mov eax, dword [esp + 0x10]
push eax
push 0
call fcn.00401cf0
add esi, esi
inc ebx
cmp ebx, 0x1a
jl 0x402039
lea ecx, [esp + 0xc]
call fcn.00401040
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
call fcn.00401030
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x148
ret 0x10

Function at 0x431000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43100c
nop
pop eax
nop
nop
nop
nop
nop
add eax, 0x403e6a
sub eax, 0x403e10
nop
nop
nop
nop
mov ebx, dword [eax]
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
jl 0x431030
nop
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x43101e
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp fcn.00401219
Function at 0x1004dc90
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x1004dcbd
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1004dcbd
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x408951
Capabilities:
Encode data using xor

Disassembly:
mov esi, 0x4085d8
inc ebx
mov ebx, ebx
call fcn.0040896b
sub ebx, ebx
xor dword [edi], esi
inc edi
cmp edi, eax
jne fcn.00408951
inc ebx
mov ecx, ecx
ret

Function at 0x986058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.009861a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, pe_nt_image_headers32
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x98607e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x98606a
add dl, dl
jne 0x986089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x9860dc
xor eax, eax
add dl, dl
jne 0x986096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x98617d
add dl, dl
jne 0x9860a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x9860b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x9860bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x9860c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x9860d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x986075
mov eax, 1
add dl, dl
jne 0x9860ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x9860f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x9860e1
sub eax, ebx
mov ebx, 1
jne 0x986128
mov ecx, 1
add dl, dl
jne 0x98610e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x986119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x986105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x986075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x98613f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x98614a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x986136
cmp eax, 0x7d00
jae 0x98616d
cmp eax, 0x500
jb 0x986168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x986075
cmp eax, 0x7f
ja 0x986170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x986075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x98619e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x986075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x100085d0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b58c2
mov eax, dword fs:[0]
push eax
sub esp, 0xc34
mov eax, dword [0x100dcdc0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xorps xmm0, xmm0
mov dword [ebp - 0xc40], esi
mov dword [ebp - 0xc38], 0
mov dword [ebp - 0xc3c], esi
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
push 0x800
lea eax, [ebp - 0xc10]
mov dword [ebp - 4], 0
push 0
push eax
mov dword [ebp - 0xc38], 1
call fcn.1008e310
lea eax, [ebp - 0xc28]
mov dword [ebp - 0xc30], 0x800
push 0x111
push eax
call fcn.1002f220
add esp, 0x14
cmp dword [eax + 0x14], 0xf
mov dword [ebp - 4], 1
jbe 0x1000868c
mov eax, dword [eax]
lea ecx, [ebp - 0xc34]
push ecx
push 0x101
push 0
push eax
push reloc.WS2_32.dll_bind
call fcn.100090c0
mov ecx, dword [ebp - 0xc14]
add esp, 0x14
mov byte [ebp - 4], 0
mov edi, eax
cmp ecx, 0xf
jbe 0x100086e8
mov edx, dword [ebp - 0xc28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100086de
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10008835
push ecx
push edx
call fcn.1008c535
add esp, 8
test edi, edi
jne 0x10008818
lea eax, [ebp - 0xc28]
push 0x118
push eax
call fcn.1002f220
add esp, 8
cmp dword [eax + 0x14], 0xf
jbe 0x1000870c
mov eax, dword [eax]
lea ecx, [ebp - 0xc30]
push ecx
lea ecx, [ebp - 0xc10]
push ecx
push 0
push 0
push eax
push dword [ebp - 0xc34]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ecx, dword [ebp - 0xc14]
mov edi, eax
cmp ecx, 0xf
jbe 0x10008767
mov edx, dword [ebp - 0xc28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1000875d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000883a
push ecx
push edx
call fcn.1008c535
add esp, 8
test edi, edi
jne 0x1000880c
push 0x3ff
lea eax, [ebp - 0x40f]
push edi
push eax
call fcn.1008e310
mov edi, dword [ebp - 0xc30]
add esp, 0xc
xor esi, esi
mov byte [ebp - 0x410], 0
test edi, edi
jle 0x100087f8
nop word [eax + eax]
mov al, byte [ebp + esi - 0xc10]
mov cl, al
and al, 0xf
shr cl, 4
cmp cl, 9
ja 0x100087b8
add cl, 0x30
jmp 0x100087bb
add cl, 0x37
mov byte [ebp - 0xc2c], cl
cmp al, 9
ja 0x100087c9
add al, 0x30
jmp 0x100087cb
add al, 0x37
mov byte [ebp - 0xc2b], al
lea eax, [ebp - 0xc2c]
push eax
lea eax, [ebp - 0x410]
mov byte [ebp - 0xc2a], 0
push 0x400
push eax
call fcn.10094805
inc esi
add esp, 0xc
cmp esi, edi
jl 0x100087a0
mov esi, dword [ebp - 0xc3c]
lea eax, [ebp - 0x410]
push eax
mov ecx, esi
call fcn.10007730
push dword [ebp - 0xc34]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1008c543
mov esp, ebp
pop ebp
ret
call fcn.10091a0f
call fcn.10091a0f
int3
Function at 0x10009c30
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp dword [ebp + 0x20], 0xf
lea edx, [ebp - 4]
mov ecx, dword [ebp + 8]
lea eax, [ebp + 0xc]
cmova eax, dword [ebp + 0xc]
push edx
push 0x20019
push 0
push eax
push ecx
mov dword [ebp - 8], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x10009c8a
cmp dword [ebp + 0x38], 0xf
lea ecx, [ebp - 0xc]
push ecx
lea ecx, [ebp - 8]
mov dword [ebp - 0xc], 4
push ecx
push 0
lea eax, [ebp + 0x24]
cmova eax, dword [ebp + 0x24]
push 0
push eax
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp + 0x20]
mov esi, dword [ebp - 8]
cmp ecx, 0xf
jbe 0x10009cc7
mov edx, dword [ebp + 0xc]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10009cbd
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10009d10
push ecx
push edx
call fcn.1008c535
add esp, 8
mov ecx, dword [ebp + 0x38]
mov dword [ebp + 0x1c], 0
mov dword [ebp + 0x20], 0xf
mov byte [ebp + 0xc], 0
cmp ecx, 0xf
jbe 0x10009d09
mov edx, dword [ebp + 0x24]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10009cff
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10009d10
push ecx
push edx
call fcn.1008c535
add esp, 8
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
call fcn.10091a0f
int3
Function at 0x1000a030
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b5a65
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x100dcdc0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
lea eax, [ebp - 0x40]
mov byte [ebp - 0x44], 0
push 0x1be
push eax
call fcn.1002f220
add esp, 8
cmp dword [esi + 0x14], 0xf
mov eax, esi
mov ecx, dword [esi + 0x28]
mov dword [ebp - 4], 0
jbe 0x1000a085
mov eax, dword [esi]
push 0
push 0
push 0
push 1
push eax
call ecx
cmp dword [ebp - 0x2c], 0xf
lea ecx, [ebp - 0x40]
mov edx, dword [esi + 0x2c]
cmova ecx, dword [ebp - 0x40]
push 0
push 0
push 3
push 0
push 0
push 0x1bb
push ecx
push eax
mov dword [esi + 0x1c], eax
call edx
mov edx, eax
mov dword [esi + 0x20], edx
test edx, edx
je 0x1000a0c1
mov byte [esi + 0x18], 1
cmp byte [esi + 0x18], 0
je 0x1000a1fe
mov ax, word [0x100ba6cc]
xorps xmm0, xmm0
mov ecx, dword [esi + 0x30]
movups xmmword [ebp - 0x28], xmm0
mov word [ebp - 0x28], ax
mov al, byte [0x100ba6ce]
mov dword [ebp - 0x18], 3
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x26], al
mov byte [ebp - 0x25], 0
push 0
push 0x4883000
push 0
push 0
push str.HTTP_1.0
push 0x100ba6f4
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 1
push eax
push edx
call ecx
mov ecx, dword [ebp - 0x14]
mov edi, eax
mov byte [ebp - 4], 0
cmp ecx, 0xf
jbe 0x1000a153
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1000a149
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000a24c
push ecx
push edx
call fcn.1008c535
add esp, 8
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
test edi, edi
je 0x1000a1e4
lea eax, [ebp - 0x50]
mov dword [ebp - 0x50], 4
push eax
lea eax, [ebp - 0x48]
push eax
mov eax, dword [esi + 0x34]
push 0x1f
push edi
call eax
or dword [ebp - 0x48], 0x180
lea eax, [ebp - 0x48]
push 4
push eax
mov eax, dword [esi + 0x38]
push 0x1f
push edi
call eax
mov eax, dword [esi + 0x3c]
push 0
push 0
push 0
push 0
push edi
call eax
push 0
lea eax, [ebp - 0x54]
mov dword [ebp - 0x4c], 0
push eax
lea eax, [ebp - 0x4c]
mov dword [ebp - 0x54], 4
push eax
mov eax, dword [esi + 0x4c]
push 0x20000013
push edi
call eax
mov eax, dword [ebp - 0x44]
mov ecx, 1
cmp dword [ebp - 0x4c], 0xc8
movzx eax, al
cmove eax, ecx
mov dword [ebp - 0x44], eax
mov eax, dword [esi + 0x44]
push edi
call eax
cmp byte [esi + 0x18], 0
je 0x1000a1fe
push dword [esi + 0x20]
mov eax, dword [esi + 0x44]
call eax
push dword [esi + 0x1c]
mov eax, dword [esi + 0x44]
call eax
mov byte [esi + 0x18], 0
mov ecx, dword [ebp - 0x2c]
cmp ecx, 0xf
jbe 0x1000a22e
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1000a224
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000a251
push ecx
push edx
call fcn.1008c535
add esp, 8
mov al, byte [ebp - 0x44]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1008c543
mov esp, ebp
pop ebp
ret
call fcn.10091a0f
call fcn.10091a0f
int3