joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10031980
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100fe528
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x1014f644]
xor eax, esp
mov dword [esp + 0x24], eax
push esi
push edi
mov eax, dword [0x1014f644]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov eax, dword [0x1014f25c]
mov edx, dword [eax + 0xc]
mov esi, ecx
mov ecx, 0x1014f25c
call edx
add eax, 0x10
mov dword [esp + 0x10], eax
mov eax, 0x1012f5e5
mov dword [esp + 0x40], 0
test eax, 0xffff0000
jne 0x10031a04
mov ecx, eax
movzx edi, cx
push edi
call fcn.10006220
mov ecx, eax
add esp, 4
test ecx, ecx
je 0x10031a12
lea edx, [esp + 0x10]
push edx
mov eax, edi
call fcn.100063e0
jmp 0x10031a12
push 0x1012f5e5
lea eax, [esp + 0x14]
call fcn.100025e0
mov eax, 1
mov dword [esp + 0x40], eax
test byte [0x1015a938], al
jne 0x10031a4d
or dword [0x1015a938], eax
mov eax, dword [0x1014f25c]
mov edx, dword [eax + 0xc]
mov ecx, 0x1014f25c
call edx
add eax, 0x10
push 0x10104960
mov dword [0x1015a93c], eax
call fcn.10072866
add esp, 4
lea eax, [esp + 0x10]
mov edi, 0x1015a93c
call fcn.1000a5c0
or edi, 0xffffffff
mov dword [esp + 0x40], edi
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, edi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10031a81
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test byte [0x1015a938], 1
jne 0x10031ab6
mov edx, dword [0x1014f25c]
mov eax, dword [edx + 0xc]
or dword [0x1015a938], 1
mov ecx, 0x1014f25c
call eax
add eax, 0x10
push 0x10104960
mov dword [0x1015a93c], eax
call fcn.10072866
add esp, 4
call fcn.10034a70
mov eax, dword [esi + 0x98]
mov ecx, dword [esi + 0x94]
mov byte [esp + 0x10], 0
mov edx, dword [esp + 0x10]
push edx
push eax
push ecx
call fcn.10033a80
lea eax, [esp + 0x20]
add esp, 0xc
mov dword [esp + 0x14], vtable.._AV___Impl_no_alloc0_U___Callable_obj_V_lambda5___A0xe8b8f8f3___0A__tr1_std__X_tr1_std__.0
mov dword [esp + 0x18], esi
mov dword [esp + 0x24], eax
mov dword [esp + 0x40], 2
mov ecx, dword [0x1015a808]
push ecx
mov esi, 0x1f4
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
push esi
lea edx, [esp + 0x18]
push edx
mov ecx, eax
call fcn.1004a550
mov dword [esp + 0x40], edi
mov ecx, dword [esp + 0x24]
test ecx, ecx
je 0x10031b36
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
lea edx, [esp + 0x14]
cmp ecx, edx
setne dl
movzx edx, dl
push edx
call eax
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.100719c1
mov esp, ebp
pop ebp
ret
Function at 0x10031cb0
Capabilities:
Access peb ldr_data
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100f4a58
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x1014f644]
xor eax, esp
mov dword [esp + 0x20], eax
push esi
mov eax, dword [0x1014f644]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov eax, ecx
lea ecx, [esp + 0xc]
mov dword [esp + 0xc], vtable.._AV___Impl_no_alloc0_U___Callable_obj_V_lambda7___A0xe8b8f8f3___0A__tr1_std__X_tr1_std__.0
mov dword [esp + 0x10], eax
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x38], 0
mov edx, dword [eax + 0x1c]
mov eax, dword [0x1015a808]
mov esi, dword [edx + 4]
push eax
imul esi, esi, 0x3e8
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
push esi
lea ecx, [esp + 0x10]
push ecx
mov ecx, eax
call fcn.1004a550
mov dword [esp + 0x38], 0xffffffff
mov ecx, dword [esp + 0x1c]
test ecx, ecx
je 0x10031d4c
mov edx, dword [ecx]
mov edx, dword [edx + 0xc]
lea eax, [esp + 0xc]
cmp ecx, eax
setne al
movzx eax, al
push eax
call edx
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.100719c1
mov esp, ebp
pop ebp
ret
Function at 0x10034f30
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x101485d8
push 0x1007f2d0
mov eax, dword fs:[0]
push eax
sub esp, 0x220
mov eax, dword [0x1014f644]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov edi, ecx
xor ebx, ebx
mov byte [ebp - 0x225], bl
mov dword [ebp - 0x22c], ebx
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x22c]
push eax
push 1
push ebx
mov ecx, dword [0x1015a770]
push ecx
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
jne 0x10034ff3
xor edx, edx
mov word [ebp - 0x224], dx
push 0x206
push ebx
lea eax, [ebp - 0x222]
push eax
call fcn.1007ada0
add esp, 0xc
mov dword [ebp - 0x230], 0x208
lea ecx, [ebp - 0x230]
push ecx
lea edx, [ebp - 0x224]
push edx
push ebx
mov eax, dword [ebp - 0x22c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueW]
cmp eax, ebx
jne 0x10034ff3
lea edx, [ebp - 0x224]
call fcn.100066d0
mov byte [ebp - 0x225], 1
mov dword [ebp - 4], 0xfffffffe
call fcn.10035023
mov al, byte [ebp - 0x225]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.100719c1
mov esp, ebp
pop ebp
ret

Function at 0x10035040
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x10141288
push 0x1007f2d0
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x1014f644]
xor dword [ebp - 8], eax
xor eax, ebp
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
xor ebx, ebx
mov byte [ebp - 0x19], bl
mov dword [ebp - 0x20], ebx
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x20]
push eax
push 2
push ebx
mov ecx, dword [0x1015a770]
push ecx
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
jne 0x100350b4
mov edx, dword [ebp + 8]
mov eax, dword [edx]
push ebx
push eax
push 1
push ebx
mov eax, dword [ebp - 0x20]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueW]
cmp eax, ebx
jne 0x100350b4
mov byte [ebp - 0x19], 1
mov dword [ebp - 4], 0xfffffffe
call fcn.100350d9
mov al, byte [ebp - 0x19]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x100350f0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x10141268
push 0x1007f2d0
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x1014f644]
xor dword [ebp - 8], eax
xor eax, ebp
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
xor ebx, ebx
mov byte [ebp - 0x19], bl
mov dword [ebp - 0x20], ebx
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x20]
push eax
push 2
push ebx
mov ecx, dword [0x1015a774]
push ecx
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
jne 0x10035170
mov dword [ebp - 0x24], 0xaa8
push 4
lea edx, [ebp - 0x24]
push edx
push 4
push ebx
mov eax, dword [0x1015a778]
push eax
mov ecx, dword [ebp - 0x20]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
cmp eax, ebx
jne 0x10035170
mov byte [ebp - 0x19], 1
mov dword [ebp - 4], 0xfffffffe
call fcn.10035193
mov al, byte [ebp - 0x19]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x100351b0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x10141248
push 0x1007f2d0
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x1014f644]
xor dword [ebp - 8], eax
xor eax, ebp
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
xor ebx, ebx
mov byte [ebp - 0x19], bl
mov dword [ebp - 0x20], ebx
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x20]
push eax
push 2
push ebx
mov ecx, dword [0x1015a774]
push ecx
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
jne 0x1003522c
mov dword [ebp - 0x24], ebx
push 4
lea edx, [ebp - 0x24]
push edx
push 4
push ebx
mov eax, dword [0x1015a77c]
push eax
mov ecx, dword [ebp - 0x20]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
cmp eax, ebx
jne 0x1003522c
mov byte [ebp - 0x19], 1
mov dword [ebp - 4], 0xfffffffe
call fcn.1003524f
mov al, byte [ebp - 0x19]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10035260
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x10142658
push 0x1007f2d0
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x1014f644]
xor dword [ebp - 8], eax
xor eax, ebp
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
xor edi, edi
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x1c], edi
mov dword [ebp - 4], edi
call fcn.10036540
mov esi, eax
cmp esi, edi
je 0x100352fe
lea eax, [ebp - 0x1c]
push eax
push 0x20006
push edi
mov ecx, dword [0x1015a780]
push ecx
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, edi
je 0x100352cf
mov dword [ebp - 0x20], 2
jmp 0x100352fe
mov edx, dword [esi*4 + 0x101315e4]
mov dword [ebp - 0x24], edx
push 4
lea eax, [ebp - 0x24]
push eax
push 4
push edi
mov ecx, dword [0x1015a784]
push ecx
mov edx, dword [ebp - 0x1c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
xor ecx, ecx
cmp eax, edi
setne cl
inc ecx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 4], 0xfffffffe
call fcn.10035321
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x10035460
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
push str.DSound.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, eax
test edi, edi
jne 0x1003547f
xor al, al
pop edi
mov esp, ebp
pop ebp
ret 4
push esi
push str.DirectSoundCreate
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
jne 0x100354a3
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
pop esi
xor al, al
pop edi
mov esp, ebp
pop ebp
ret 4
mov eax, dword [ebp + 8]
push ebx
push eax
push 0x40
push 1
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
setne bl
test bl, bl
jne 0x100354ce
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
pop ebx
pop esi
xor al, al
pop edi
mov esp, ebp
pop ebp
ret 4
push 3
lea ecx, [ebp - 4]
push ecx
push esi
mov dword [ebp - 4], 0x48000cc2
call fcn.10071c60
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov al, bl
pop ebx
pop esi
pop edi
mov esp, ebp
pop ebp
ret 4
Function at 0x10035500
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
push str.winmm.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, eax
test edi, edi
jne 0x1003551f
xor al, al
pop edi
mov esp, ebp
pop ebp
ret 4
push esi
push str.waveOutWrite
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
jne 0x10035543
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
pop esi
xor al, al
pop edi
mov esp, ebp
pop ebp
ret 4
mov eax, dword [ebp + 8]
push ebx
add eax, 4
push eax
push 0x40
push 1
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
setne bl
test bl, bl
jne 0x10035571
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
pop ebx
pop esi
xor al, al
pop edi
mov esp, ebp
pop ebp
ret 4
push 3
lea ecx, [ebp - 4]
push ecx
push esi
mov dword [ebp - 4], 0x48000cc2
call fcn.10071c60
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov al, bl
pop ebx
pop esi
pop edi
mov esp, ebp
pop ebp
ret 4
Function at 0x10035860
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100fbb48
mov eax, dword fs:[0]
push eax
sub esp, 0x21c
mov eax, dword [0x1014f644]
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]
xor eax, eax
mov dword [ebp - 0x220], eax
mov esi, ecx
mov dword [ebp - 0x228], ebx
mov dword [ebx], eax
mov dword [ebx + 4], eax
mov dword [ebx + 8], eax
mov dword [ebp - 4], eax
push 0x1000
mov dword [ebp - 0x220], 1
call fcn.1006e7e5
mov esi, dword [esi]
add esp, 4
push esi
mov edi, eax
push 0x800
push edi
mov dword [ebp - 0x21c], edi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionNamesW]
push 0x200
mov dword [ebp - 0x218], eax
lea eax, [ebp - 0x210]
push 0
push eax
call fcn.1007ada0
xor esi, esi
add esp, 0xc
cmp dword [ebp - 0x218], esi
jbe 0x10035a2b
lea eax, [ebp - 0x210]
shr eax, 0x10
mov dword [ebp - 0x224], eax
push 0x200
lea ecx, [ebp - 0x210]
push 0
push ecx
call fcn.1007ada0
lea edx, [edi + esi*2]
push edx
lea eax, [ebp - 0x210]
push 0x100
push eax
call fcn.10072ec8
mov edx, dword [0x1014f25c]
mov eax, dword [edx + 0xc]
add esp, 0x18
mov ecx, 0x1014f25c
call eax
add eax, 0x10
mov dword [ebp - 0x214], eax
cmp dword [ebp - 0x224], 0
mov dword [ebp - 4], 1
jne 0x1003598f
lea ecx, [ebp - 0x210]
movzx edi, cx
push edi
call fcn.10006220
mov ecx, eax
add esp, 4
test ecx, ecx
je 0x100359c3
lea edx, [ebp - 0x214]
push edx
mov eax, edi
call fcn.100063e0
jmp 0x100359c3
lea eax, [ebp - 0x210]
lea edx, [eax + 2]
jmp 0x100359a0
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x100359a0
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x210]
push eax
lea ecx, [ebp - 0x214]
push ecx
call fcn.10006620
lea ecx, [ebp - 0x214]
mov edi, ebx
mov dword [ebp - 4], 2
call fcn.1000b650
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x214]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x100359fd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebp - 0x210]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10035a06
mov edi, dword [ebp - 0x21c]
sub eax, edx
sar eax, 1
lea esi, [esi + eax + 1]
cmp esi, dword [ebp - 0x218]
jb 0x10035913
push edi
call fcn.10072566
add esp, 4
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.100719c1
mov esp, ebp
pop ebp
ret 4
Function at 0x10035a60
Capabilities:
Check if file exists
Read .ini file

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1010
call fcn.1008ef40
mov eax, dword [0x1014f644]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, edx
push edi
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x1008], eax
mov eax, esi
mov dword [ebp - 0x1010], ecx
call fcn.1000a5c0
xor edx, edx
push 0xffe
push edx
lea eax, [ebp - 0x1002]
push eax
mov word [ebp - 0x1004], dx
call fcn.1007ada0
mov ecx, dword [esi]
mov eax, dword [ebx]
mov edx, dword [ecx - 0xc]
add esp, 0xc
push eax
mov dword [ebp - 0x100c], edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x10035b35
mov ebx, dword [ebx]
mov esi, dword [esi]
mov eax, dword [ebp - 0x1010]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x1008]
mov ecx, dword [ecx]
push ebx
push 0x800
lea edx, [ebp - 0x1004]
push edx
push esi
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov esi, eax
lea eax, [ebp - 0x1004]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10035b03
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x1004]
push eax
push edi
call fcn.10006620
pop edi
mov eax, esi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100719c1
mov esp, ebp
pop ebp
ret 0xc
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x100c]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100719c1
mov esp, ebp
pop ebp
ret 0xc

Function at 0x10035b50
Capabilities:
Check if file exists
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, eax
xor ecx, ecx
lea ebx, [edi + 1]
mov eax, ebx
mov edx, 2
mul edx
seto cl
push 0x10157684
neg ecx
or ecx, eax
push ecx
call fcn.10076b01
mov esi, eax
lea eax, [edi + edi + 2]
push eax
push 0
push esi
call fcn.1007ada0
mov ecx, dword [0x1015a728]
add esp, 0x14
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x10035bea
mov edi, dword [0x1015a728]
mov edx, dword [ebp + 0x10]
mov eax, dword [edx]
mov ecx, dword [ebp + 0xc]
mov ecx, dword [ecx]
mov edx, dword [ebp + 8]
mov edx, dword [edx]
push edi
push ebx
push esi
push eax
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov edi, eax
test esi, esi
jne 0x10035bc6
xor eax, eax
jmp 0x10035bdf
mov eax, esi
lea edx, [eax + 2]
jmp 0x10035bd0
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10035bd0
sub eax, edx
sar eax, 1
push eax
mov eax, dword [ebp + 0x14]
push esi
push eax
call fcn.10006620
push esi
call fcn.10072566
add esp, 4
mov eax, edi
pop edi
pop esi
pop ebx
pop ebp
ret 0x10
Function at 0x10036490
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x1014f644]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push 0
push 2
xor bl, bl
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
cmp esi, 0xffffffff
je 0x100364db
lea eax, [ebp - 0x230]
push eax
push esi
mov dword [ebp - 0x230], 0x22c
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
jne 0x100364f0
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100719c1
mov esp, ebp
pop ebp
ret
mov eax, dword [edi]
push eax
lea ecx, [ebp - 0x20c]
push ecx
call fcn.10072daa
add esp, 8
test eax, eax
je 0x1003651a
lea edx, [ebp - 0x230]
push edx
push esi
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x100364f0
jmp 0x1003651c
mov bl, 1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
pop esi
mov al, bl
xor ecx, ebp
pop ebx
call fcn.100719c1
mov esp, ebp
pop ebp
ret
Function at 0x10036540
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x10142610
push 0x1007f2d0
mov eax, dword fs:[0]
push eax
sub esp, 0x4a4
mov eax, dword [0x1014f644]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [ebp - 0x4ac], ebx
mov dword [ebp - 0x4a4], ebx
mov dword [ebp - 4], ebx
mov ecx, 0x12
mov esi, str.SoftwareMicrosoftInternet_Explorer
lea edi, [ebp - 0x90]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
lea eax, [ebp - 0x4a4]
push eax
push 0x20019
push ebx
lea ecx, [ebp - 0x90]
push ecx
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
jne 0x1003671c
xor edx, edx
mov word [ebp - 0x298], dx
push 0x206
push ebx
lea eax, [ebp - 0x296]
push eax
call fcn.1007ada0
add esp, 0xc
mov dword [ebp - 0x4b0], 1
mov dword [ebp - 0x4a8], 0x208
mov ecx, dword [str.svcVersion]
mov dword [ebp - 0x34], ecx
mov edx, dword [0x10135d38]
mov dword [ebp - 0x30], edx
mov eax, dword [0x10135d3c]
mov dword [ebp - 0x2c], eax
mov ecx, dword [0x10135d40]
mov dword [ebp - 0x28], ecx
mov edx, dword [0x10135d44]
mov dword [ebp - 0x24], edx
mov ax, word [0x10135d48]
mov word [ebp - 0x20], ax
lea ecx, [ebp - 0x4a8]
push ecx
lea edx, [ebp - 0x298]
push edx
lea eax, [ebp - 0x4b0]
push eax
push ebx
lea ecx, [ebp - 0x34]
push ecx
mov edx, dword [ebp - 0x4a4]
push edx
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
call esi
cmp eax, ebx
je 0x100366a0
mov eax, dword [str.Version]
mov dword [ebp - 0x44], eax
mov ecx, dword [0x1012fe80]
mov dword [ebp - 0x40], ecx
mov edx, dword [0x1012fe84]
mov dword [ebp - 0x3c], edx
mov eax, dword [0x1012fe88]
mov dword [ebp - 0x38], eax
lea ecx, [ebp - 0x4a8]
push ecx
lea edx, [ebp - 0x298]
push edx
lea eax, [ebp - 0x4b0]
push eax
push ebx
lea ecx, [ebp - 0x44]
push ecx
mov edx, dword [ebp - 0x4a4]
push edx
call esi
cmp eax, ebx
jne 0x1003671c
push 0x2e
lea eax, [ebp - 0x298]
push eax
call fcn.10072f2b
add esp, 8
mov esi, eax
cmp esi, ebx
je 0x1003671c
xor ecx, ecx
mov word [ebp - 0x4a0], cx
push 0x206
push ebx
lea edx, [ebp - 0x49e]
push edx
call fcn.1007ada0
lea eax, [ebp - 0x298]
sub esi, eax
sar esi, 1
push esi
mov ecx, eax
push ecx
lea edx, [ebp - 0x4a0]
push edx
call fcn.10072bfb
add esp, 0x18
xor esi, esi
mov dword [ebp - 0x4b4], esi
cmp esi, 7
jge 0x1003671c
lea eax, [esi*4 + 0x1015a7c0]
push eax
lea ecx, [ebp - 0x4a0]
call fcn.1000b590
add esp, 4
test al, al
je 0x1003674a
mov dword [ebp - 0x4ac], esi
mov dword [ebp - 4], 0xfffffffe
call fcn.1003674f
mov eax, dword [ebp - 0x4ac]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.100719c1
mov esp, ebp
pop ebp
ret
inc esi
jmp 0x100366f1
Function at 0x100392a0
Capabilities:
Create http request

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x1014f644]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
cmp dword [eax + 0x14], 0x10
jb 0x100392bb
mov eax, dword [eax]
push 0
push 0
push 0
push 4
push eax
call dword [sym.imp.WININET.dll_InternetOpenA]
mov dword [edi], eax
test eax, eax
jne 0x100392e2
xor al, al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100719c1
mov esp, ebp
pop ebp
ret 4
push ebx
mov ebx, dword [sym.imp.WININET.dll_InternetSetOptionA]
push esi
mov dword [ebp - 0x24], 0xbb8
mov dword [ebp - 0x20], 2
mov dword [ebp - 0x1c], 5
mov dword [ebp - 0x18], 6
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x10], 8
mov dword [ebp - 0xc], 0xb
mov dword [ebp - 8], 0x3f
xor esi, esi
mov ecx, dword [ebp + esi*4 - 0x20]
mov edx, dword [edi]
push 4
lea eax, [ebp - 0x24]
push eax
push ecx
push edx
call ebx
inc esi
cmp esi, 7
jb 0x10039324
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
mov al, 1
pop ebx
call fcn.100719c1
mov esp, ebp
pop ebp
ret 4