joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1002ccc0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40c
mov eax, dword [0x10042fd0]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [edi + 0xc0900], 0
push esi
je 0x1002cd46
lea esi, [ebp - 0x408]
call section..text
mov ecx, esi
lea eax, [edi + 0xc07e0]
push ecx
lea esi, [ebp - 0x40c]
call fcn.10001140
test al, al
jne 0x1002cd1c
push 0x10
push str.Error
push str.Error_Cliente_Alterado.
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov edx, dword [edi + 0xc0900]
cmp edx, dword [ebp - 0x40c]
je 0x1002cd46
push 0x10
push str.Error
push str.Error_Cliente_Alterado.
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.10036e30
mov esp, ebp
pop ebp
ret

Function at 0x1002cd60
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40c
mov eax, dword [0x10042fd0]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [edi + 0xc0904], 0
push esi
je 0x1002cde6
lea esi, [ebp - 0x408]
call section..text
mov ecx, esi
lea eax, [edi + 0xc0800]
push ecx
lea esi, [ebp - 0x40c]
call fcn.10001140
test al, al
jne 0x1002cdbc
push 0x10
push str.Error
push str.Error_Cliente_Alterado.
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov edx, dword [edi + 0xc0904]
cmp edx, dword [ebp - 0x40c]
je 0x1002cde6
push 0x10
push str.Error
push str.Error_Cliente_Alterado.
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.10036e30
mov esp, ebp
pop ebp
ret

Function at 0x1002ce00
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40c
mov eax, dword [0x10042fd0]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [edi + 0xc0908], 0
push esi
je 0x1002ce86
lea esi, [ebp - 0x408]
call section..text
mov ecx, esi
lea eax, [edi + 0xc0820]
push ecx
lea esi, [ebp - 0x40c]
call fcn.10001140
test al, al
jne 0x1002ce5c
push 0x10
push str.Error
push str.Error_Cliente_Alterado.
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov edx, dword [edi + 0xc0908]
cmp edx, dword [ebp - 0x40c]
je 0x1002ce86
push 0x10
push str.Error
push str.Error_Cliente_Alterado.
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.10036e30
mov esp, ebp
pop ebp
ret
Function at 0x1002cea0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40c
mov eax, dword [0x10042fd0]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [edi + 0xc090c], 0
push esi
je 0x1002cf26
lea esi, [ebp - 0x408]
call section..text
mov ecx, esi
lea eax, [edi + 0xc0840]
push ecx
lea esi, [ebp - 0x40c]
call fcn.10001140
test al, al
jne 0x1002cefc
push 0x10
push str.Error
push str.Error_Cliente_Alterado.
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov edx, dword [edi + 0xc090c]
cmp edx, dword [ebp - 0x40c]
je 0x1002cf26
push 0x10
push str.Error
push str.Error_Cliente_Alterado.
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.10036e30
mov esp, ebp
pop ebp
ret

Function at 0x1002cf40
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40c
mov eax, dword [0x10042fd0]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [edi + 0xc0910], 0
push esi
je 0x1002cfb2
lea esi, [ebp - 0x408]
call section..text
mov ecx, esi
lea eax, [edi + 0xc0860]
push ecx
lea esi, [ebp - 0x40c]
call fcn.10001140
test al, al
jne 0x1002cf88
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov edx, dword [edi + 0xc0910]
cmp edx, dword [ebp - 0x40c]
je 0x1002cfb2
push 0x10
push str.Error
push str.Error_Cliente_Alterado.
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.10036e30
mov esp, ebp
pop ebp
ret

Function at 0x1002cfd0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40c
mov eax, dword [0x10042fd0]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [edi + 0xc0914], 0
push esi
je 0x1002d056
lea esi, [ebp - 0x408]
call section..text
mov ecx, esi
lea eax, [edi + 0xc0880]
push ecx
lea esi, [ebp - 0x40c]
call fcn.10001140
test al, al
jne 0x1002d02c
push 0x10
push str.Error
push str.Error_Cliente_Alterado.
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov edx, dword [edi + 0xc0914]
cmp edx, dword [ebp - 0x40c]
je 0x1002d056
push 0x10
push str.Error
push str.Error_Cliente_Alterado.
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.10036e30
mov esp, ebp
pop ebp
ret
Function at 0x1002e9b0
Capabilities:
Check for time delay via gettickcount

Disassembly:
cmp dword [0x77ebac], 5
jne 0x1002ea66
call fcn.10007940
cmp dword [0x101e4870], 1
jne 0x1002ea66
push esi
call fcn.1002ea70
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
sub eax, dword [0x101e487c]
cmp eax, dword [0x101e4884]
jbe 0x1002ea2e
mov dword [0x101e4870], 2
mov dword [0x101e4874], 0
call esi
mov dword [0x101e4878], eax
call esi
mov dword [0x101e487c], eax
mov dword [0x101e4880], 0
mov dword [0x101e4884], 0
mov eax, 0x6a2630
mov ecx, 0x7b02978
pop esi
jmp eax
call esi
sub eax, dword [0x101e4878]
cmp eax, dword [0x101e4880]
jb 0x1002ea65
mov eax, dword [0x101e4874]
sub eax, 0
je 0x1002ea59
dec eax
jne 0x1002ea5e
call fcn.1002ee00
call esi
mov dword [0x101e4878], eax
pop esi
ret
call fcn.1002eda0
call esi
mov dword [0x101e4878], eax
pop esi
ret

Function at 0x1002f190
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
cmp dword [0x101e4874], 2
jne 0x1002f20b
mov edx, dword [0x101dbae4]
mov eax, dword [0x101dbae0]
mov dword [ebp - 8], edx
mov dword [ebp - 0xc], eax
mov ax, word [0x101dbae8]
lea edx, [ebp - 0x10]
push esi
mov ecx, 0xe
push edx
mov dword [ebp - 0x10], 0x3f30ec1
mov word [ebp - 4], ax
call fcn.1002e7c0
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
add esp, 4
mov dword [0x101e4870], 1
mov dword [0x101e4874], 3
call esi
mov dword [0x101e4878], eax
call esi
mov dword [0x101e487c], eax
mov eax, 0x7530
mov dword [0x101e4880], eax
mov dword [0x101e4884], eax
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x1002f4f0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push edi
mov edi, dword [0x101e4890]
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
push str.SoftwareWebzenMuConfig
push getpeername
mov dword [ebp - 8], 4
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1002f55a
push esi
lea ecx, [ebp - 8]
push ecx
mov ecx, dword [ebp - 4]
lea edx, [ebp - 0xc]
push edx
lea eax, [ebp - 0x10]
push eax
push 0
push str.Resolution
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov edx, dword [ebp - 4]
push edx
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
pop esi
jne 0x1002f55a
mov eax, dword [ebp - 0xc]
pop edi
mov esp, ebp
pop ebp
ret
push str.Policy:_value_not_found__n
call dword [sym.imp.MSVCR100.dll_printf]
add esp, 4
mov eax, edi
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x1002f990
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 4]
push eax
push 0x40
push 0xe
push 0x413031
call esi
mov eax, 0x90909090
mov ecx, 0x413031
mov dword [ecx], eax
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
mov word [ecx + 0xc], ax
mov edx, dword [ebp - 4]
lea ecx, [ebp - 4]
push ecx
push edx
push 0xe
push 0x413031
call esi
push 0x1002fa40
push 0x413168
mov bl, 0xe9
call fcn.10034b90
push 0x1002fa60
push 0x413182
mov bl, 0xe8
call fcn.10034b90
push 0x1002fa90
push 0x40a59c
call fcn.10034b90
push 0x1002fa90
push 0x40a5d3
call fcn.10034b90
push 0x1002fa90
push 0x5f6480
call fcn.10034b90
push 0x1002fac0
push 0x41d218
call fcn.10034b90
add esp, 0x30
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100347f0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, dword [0x101f1c14]
push esi
push edi
test eax, eax
jne 0x1003481d
mov eax, dword [0x101df554]
push 0x10034960
push 0xfffffffffffffffc
push eax
call dword [sym.imp.USER32.dll_SetWindowLongA]
mov dword [0x101f1c14], eax
test eax, eax
je 0x10034873
mov ecx, dword [0x101df554]
push ecx
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x1003484f
mov edx, dword [0x101df554]
push 5
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
mov esi, 0x101f1c10
call fcn.10034880
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [0x101df554]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 1
mov esi, 0x101f1c10
call fcn.10034880
mov edi, 0x10116449
call fcn.100349c0
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x10034b30
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 4]
push eax
push 0x40
push 1
push esi
call edi
mov eax, dword [ebp - 4]
mov cl, byte [ebp + 8]
lea edx, [ebp - 4]
push edx
push eax
push 1
push esi
mov byte [esi], cl
call edi
pop edi
mov esp, ebp
pop ebp
ret

Function at 0x10034b60
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp + 8]
push eax
push 0x40
push 4
push esi
call edi
fld dword [ebp + 0xc]
mov edx, dword [ebp + 8]
fstp dword [esi]
lea ecx, [ebp + 8]
push ecx
push edx
push 4
push esi
call edi
pop edi
pop esi
pop ebp
ret

Function at 0x10034b90
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 4]
push eax
push 0x40
push 5
push esi
call edi
cmp bl, 0xff
je 0x10034bb1
mov byte [esi], bl
mov ecx, dword [ebp + 0xc]
sub ecx, esi
sub ecx, 5
lea edx, [ebp - 4]
push edx
mov dword [esi + 1], ecx
mov eax, dword [ebp - 4]
push eax
push 5
push esi
call edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x10034bd0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_VirtualProtect]
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 4]
push eax
push 0x40
push esi
push edi
call ebx
mov ecx, dword [ebp + 0xc]
push esi
push ecx
push edi
call sub.MSVCR100.dll_memcpy
mov eax, dword [ebp - 4]
add esp, 0xc
lea edx, [ebp - 4]
push edx
push eax
push esi
push edi
call ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10034c10
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_VirtualProtect]
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 4]
push eax
push 0x40
push esi
push edi
call ebx
mov ecx, dword [ebp + 0xc]
push esi
push ecx
push edi
call sub.MSVCR100.dll_memset
mov eax, dword [ebp - 4]
add esp, 0xc
lea edx, [ebp - 4]
push edx
push eax
push esi
push edi
call ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x10034d10
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
movzx esi, si
push edi
push esi
call fcn.1003556e
push esi
mov edi, eax
push 0x90
push edi
call sub.MSVCR100.dll_memset
add esp, 0x10
lea eax, [ebp - 4]
push eax
push 0x40
push esi
push ebx
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x10034d55
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop edi
mov esp, ebp
pop ebp
ret
push esi
push edi
push ebx
call sub.MSVCR100.dll_memcpy
mov edx, dword [ebp - 4]
add esp, 0xc
lea ecx, [ebp - 8]
push ecx
push edx
push esi
push ebx
mov dword [ebp - 8], 0
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x10034d4a
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret

Function at 0x10034d90
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp - 4]
push eax
push 0x40
push 0xa
push ecx
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret

Function at 0x10034dc0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea ecx, [ebp - 4]
push ecx
push 0x40
mov eax, 0x1000ab20
push 5
sub eax, 0x5b216e
push 0x5b2169
mov byte [ebp - 0x10], 0xe9
mov dword [ebp - 0xf], eax
mov dword [ebp - 4], 0
call esi
test eax, eax
jne 0x10034e03
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop esi
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp - 0x10]
mov cl, byte [ebp - 0xc]
mov eax, 0x5b2169
mov dword [eax], edx
lea edx, [ebp - 8]
push edx
mov byte [eax + 4], cl
mov eax, dword [ebp - 4]
push eax
push 5
push 0x5b2169
mov dword [ebp - 8], 0
call esi
test eax, eax
je 0x10034df8
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x1003559e
Capabilities:
Parse pe header

Disassembly:
push 0x24
push 0x1003eb98
call fcn.10037360
push 0x1c
lea eax, [ebp - 0x34]
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
and dword [ebp - 4], 0
mov eax, 0x5a4d
mov edx, dword [ebp - 0x30]
cmp word [edx], ax
jne 0x10035606
mov eax, dword [edx + 0x3c]
add eax, edx
cmp dword [eax], 0x4550
jne 0x10035606
mov ecx, dword [eax + 0xd8]
lea esi, [ecx + edx]
cmp dword [ebp + 0xc], esi
jb 0x10035606
mov eax, dword [eax + 0xdc]
add eax, ecx
add eax, edx
cmp dword [ebp + 0xc], eax
jae 0x10035606
mov dword [ebp - 4], 0xfffffffe
mov al, 1
jmp 0x1003560f
mov dword [ebp - 4], 0xfffffffe
xor al, al
call fcn.100373a5
ret
Function at 0x10035707
Capabilities:
Allocate or change rwx memory
Hook routines via microsoft detours

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
push ebx
push esi
mov esi, eax
push edi
mov ebx, 0x10000
cmp esi, 0x7ff80000
jbe 0x1003572a
lea eax, [esi - 0x7ff80000]
mov dword [ebp - 4], eax
jmp 0x1003572d
mov dword [ebp - 4], ebx
cmp esi, 0x80000000
jae 0x10035740
lea eax, [esi + 0x7ff80000]
mov dword [ebp - 8], eax
jmp 0x10035747
mov dword [ebp - 8], 0xfff80000
mov eax, dword [0x101d770c]
mov ecx, dword [0x101d7708]
test eax, eax
jne 0x10035761
test ecx, ecx
je 0x10035776
mov eax, ecx
mov dword [0x101d770c], eax
mov edx, dword [eax + 8]
test edx, edx
je 0x10035776
cmp edx, dword [ebp - 4]
jb 0x10035776
cmp edx, dword [ebp - 8]
jbe 0x10035847
mov eax, ecx
test ecx, ecx
jmp 0x1003579a
test eax, eax
je 0x10035795
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x10035795
cmp ecx, dword [ebp - 4]
jb 0x10035795
cmp ecx, dword [ebp - 8]
jbe 0x10035847
mov eax, dword [eax + 4]
test eax, eax
mov dword [0x101d770c], eax
jne 0x1003577c
mov eax, esi
and eax, 0xffff
sub esi, eax
mov edi, esi
cmp esi, dword [ebp - 4]
jbe 0x100358d9
lea eax, [edi - 0x70000000]
cmp eax, 0x10000000
ja 0x100357c7
mov edi, 0x6fff0000
push 0x1c
lea eax, [ebp - 0x40]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x100358d9
cmp dword [ebp - 0x30], ebx
jne 0x100357e6
cmp dword [ebp - 0x34], ebx
jae 0x100357f9
mov edi, dword [ebp - 0x3c]
add edi, 0xffff0000
cmp edi, dword [ebp - 4]
ja 0x100357b5
jmp 0x100358d9
push 0x40
push 0x3000
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [0x101d770c], eax
test eax, eax
je 0x100358d9
mov ecx, dword [0x101d7708]
xor edx, edx
mov dword [eax + 4], ecx
mov dword [eax], 0x52727464
mov dword [eax + 8], edx
mov dword [0x101d7708], eax
lea ecx, [eax + 0xffe0]
mov esi, 0x7fd
mov dword [ecx + 0x18], edx
mov edx, ecx
sub ecx, 0x20
dec esi
jne 0x10035839
mov dword [eax + 8], edx
mov esi, dword [eax + 8]
cmp esi, dword [ebp - 4]
jb 0x100358de
cmp esi, dword [ebp - 8]
ja 0x100358de
mov ecx, dword [esi + 0x18]
push 0x20
push 0xcc
push esi
mov dword [eax + 8], ecx
call sub.MSVCR100.dll_memset
add esp, 0xc
mov eax, esi
jmp 0x100358e0
lea eax, [esi - 0x70000000]
cmp eax, 0x10000000
ja 0x10035888
mov esi, 0x80010000
push 0x1c
lea eax, [ebp - 0x24]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x100358de
cmp dword [ebp - 0x14], ebx
jne 0x100358d3
cmp dword [ebp - 0x18], ebx
jb 0x100358d3
movzx ecx, si
test ecx, ecx
je 0x100358b7
mov eax, ebx
sub eax, ecx
sub dword [ebp - 0x18], eax
add dword [ebp - 0x24], eax
mov esi, dword [ebp - 0x24]
push 0x40
push 0x3000
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [0x101d770c], eax
test eax, eax
jne 0x10035815
mov esi, dword [ebp - 0x24]
add esi, dword [ebp - 0x18]
cmp esi, dword [ebp - 8]
jb 0x10035876
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10035969
Capabilities:
Allocate or change rwx memory

Disassembly:
push ecx
push edi
xor edi, edi
cmp dword [0x101d7714], edi
je 0x1003597c
mov eax, 0x10dd
jmp 0x100359d7
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push 0x101d7714
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
test eax, eax
jne 0x10035975
push esi
mov esi, dword [0x101d7708]
mov dword [0x101d7710], edi
mov dword [0x101d7724], edi
mov dword [0x101d7720], edi
mov dword [0x101d7718], edi
mov dword [0x101d771c], edi
jmp 0x100359d0
lea eax, [esp + 8]
push eax
push 0x40
push 0x10000
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov esi, dword [esi + 4]
cmp esi, edi
jne 0x100359ba
xor eax, eax
pop esi
pop edi
pop ecx
ret

Function at 0x100359da
Capabilities:
Resume thread

Disassembly:
push ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x101d7714], eax
je 0x100359f0
mov eax, 0x10dd
pop ecx
ret
push ebx
push esi
mov esi, dword [0x101d7724]
xor ebx, ebx
push edi
cmp esi, ebx
je 0x10035a3b
lea eax, [esp + 0xc]
push eax
mov eax, dword [esi + 0x10]
push dword [esi + 0x14]
movzx eax, byte [eax + 0x17]
push eax
push dword [esi + 0xc]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
cmp dword [esi + 4], ebx
jne 0x10035a2c
mov edi, dword [esi + 0x10]
cmp edi, ebx
je 0x10035a2c
call fcn.100358e5
mov dword [esi + 0x10], ebx
mov edi, dword [esi]
push esi
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
pop ecx
mov esi, edi
cmp edi, ebx
jne 0x100359ff
mov dword [0x101d7724], ebx
call fcn.100356e0
mov esi, dword [0x101d7720]
cmp esi, ebx
je 0x10035a68
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov edi, dword [esi]
push esi
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
pop ecx
mov esi, edi
cmp edi, ebx
jne 0x10035a50
pop edi
pop esi
mov dword [0x101d7720], ebx
mov dword [0x101d7714], ebx
xor eax, eax
pop ebx
pop ecx
ret
Function at 0x10035cbf
Capabilities:
Suspend thread

Disassembly:
mov eax, dword [0x101d7718]
test eax, eax
jne 0x10035d2f
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov edi, dword [esp + 8]
cmp edi, eax
jne 0x10035cdb
xor eax, eax
jmp 0x10035d2e
push esi
push 8
call fcn.10036f56
mov esi, eax
pop ecx
test esi, esi
jne 0x10035cef
push 8
pop edi
jmp 0x10035d0a
push edi
call dword [sym.imp.KERNEL32.dll_SuspendThread]
cmp eax, 0xffffffff
jne 0x10035d1b
call dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
mov edi, eax
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
pop ecx
and dword [0x101d771c], 0
mov dword [0x101d7718], edi
mov eax, edi
jmp 0x10035d2d
mov eax, dword [0x101d7720]
mov dword [esi], eax
mov dword [esi + 4], edi
mov dword [0x101d7720], esi
xor eax, eax
pop esi
pop edi
ret 4
Function at 0x10036350
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 8]
mov dword [eax + 4], ecx
mov edx, dword [ebp - 4]
mov eax, dword [ebp + 0xc]
mov dword [edx + 8], eax
mov ecx, dword [ebp - 4]
mov dword [ecx + 0xc], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, dword [ebp - 4]
mov dword [edx], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0
je 0x100363c1
mov ecx, dword [ebp - 4]
cmp dword [ecx + 8], 0
je 0x100363c1
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
push edx
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
test eax, eax
jne 0x100363aa
jmp 0x100363c1
mov eax, dword [ebp - 4]
add eax, 0xc
push eax
push 0x40
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret 8
Function at 0x10036e30
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x10042fd0]
jne 0x10036e3a
repz ret
jmp fcn.100373f0
Function at 0x10001080
Capabilities:
Get common file path

Disassembly:
cmp dword [0x1002c718], 0
jne 0x1000110e
mov dword [0x1002c718], 1
call fcn.10007210
test eax, eax
je 0x100010fe
push 0
push 0x104
push 0x1002c720
call fcn.100079c0
add esp, 0xc
test eax, eax
mov eax, 0x1002c720
je 0x10001113
add eax, 0xfffffffe
mov cx, word [eax + 2]
add eax, 2
test cx, cx
jne 0x100010c0
mov ecx, dword [str.SysWow64]
mov edx, dword [0x10023018]
mov dword [eax], ecx
mov ecx, dword [0x1002301c]
mov dword [eax + 4], edx
mov edx, dword [0x10023020]
mov dword [eax + 8], ecx
mov ecx, dword [0x10023024]
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], ecx
mov eax, 0x1002c720
ret
push 0x104
push 0x1002c720
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov eax, 0x1002c720
ret

Function at 0x10001490
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
push edi
mov edi, eax
lea eax, [ebp - 4]
push eax
push edi
xor esi, esi
push 0x80000002
mov dword [ebp - 4], esi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
je 0x100014c7
lea ecx, [ebp - 4]
push ecx
push edi
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x10001537
mov ecx, dword [ebp + 8]
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea edx, [ebp - 8]
push edx
mov edx, dword [ebp - 4]
push 0
lea eax, [ebp - 0xc]
push eax
push 0
push ecx
push edx
mov dword [ebp - 0xc], esi
mov dword [ebp - 8], esi
call edi
mov eax, dword [ebp - 8]
cmp eax, 2
jb 0x1000152d
add eax, 2
mov dword [ebp - 8], eax
xor ecx, ecx
shr eax, 1
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.10007dec
mov esi, eax
add esp, 4
test esi, esi
je 0x1000152d
mov edx, dword [ebp + 8]
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push esi
lea ecx, [ebp - 0xc]
push ecx
push 0
push edx
push eax
call edi
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x10001550
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
lea eax, [ebp - 4]
push eax
push esi
push 0x80000002
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
je 0x1000158c
lea ecx, [ebp - 4]
push ecx
push esi
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x100015c0
lea edx, [ebp - 0xc]
push edx
mov edx, dword [ebp + 8]
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 4]
lea ecx, [ebp - 0x10]
push ecx
push 0
push edx
push eax
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret 4