joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1002db50
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea eax, [ebp - 8]
push esi
push edi
push eax
push 1
lea eax, [ebp - 1]
mov byte [ebp - 1], 0xe9
push eax
push 0x555593
call ebx
mov edi, dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
push eax
call edi
mov eax, 0x1002db30
sub eax, 0x555598
mov dword [ebp - 0xc], eax
lea eax, [ebp - 8]
push eax
push 4
lea eax, [ebp - 0xc]
push eax
push 0x555594
call ebx
push eax
call edi
lea eax, [ebp - 0xc]
mov byte [ebp - 1], 0xe9
push eax
push 1
lea eax, [ebp - 1]
push eax
push 0x40b8ae
call ebx
push eax
call edi
mov eax, 0x1002db10
sub eax, 0x40b8b3
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
push eax
push 4
lea eax, [ebp - 8]
push eax
push 0x40b8af
call ebx
push eax
call edi
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 0x10]
push eax
push 0x40
push 1
push 0x40b8b3
call esi
mov eax, 0x40b8b3
mov byte [eax], 0x90
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 0x10]
push 1
push 0x40b8b3
call esi
lea eax, [ebp - 0xc]
mov byte [ebp - 1], 0xe9
push eax
push 1
lea eax, [ebp - 1]
push eax
push 0x4cb02e
call ebx
push eax
call edi
mov eax, 0x1002d790
sub eax, 0x4cb033
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
push eax
push 4
lea eax, [ebp - 8]
push eax
push 0x4cb02f
call ebx
push eax
call edi
lea eax, [ebp - 0xc]
mov byte [ebp - 1], 0xe9
push eax
push 1
lea eax, [ebp - 1]
push eax
push 0x4cb0ae
call ebx
push eax
call edi
mov eax, 0x1002d880
sub eax, 0x4cb0b3
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
push eax
push 4
lea eax, [ebp - 8]
push eax
push 0x4cb0af
call ebx
push eax
call edi
lea eax, [ebp - 0xc]
mov byte [ebp - 1], 0xe9
push eax
push 1
lea eax, [ebp - 1]
push eax
push 0x5a06aa
call ebx
push eax
call edi
mov eax, 0x1002d9a0
sub eax, 0x5a06af
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
push eax
push 4
lea eax, [ebp - 8]
push eax
push 0x5a06ab
call ebx
push eax
call edi
lea eax, [ebp - 0x10]
push eax
push 0x40
push 1
push 0x5a06af
call esi
mov eax, 0x5a06af
mov byte [eax], 0x90
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 0x10]
push 1
push 0x5a06af
call esi
lea eax, [ebp - 0xc]
mov byte [ebp - 1], 0xe9
push eax
push 1
lea eax, [ebp - 1]
push eax
push 0x5ce960
call ebx
push eax
call edi
mov eax, 0x1002d970
sub eax, 0x5ce965
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
push eax
push 4
lea eax, [ebp - 8]
push eax
push 0x5ce961
call ebx
push eax
call edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10030920
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 0xc]
push eax
push 0x40
push 5
push 0x6013a1
call esi
mov byte [0x6013a1], 0xe9
mov eax, 0x10030690
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
add eax, 0xff9fec5a
mov dword [0x6013a2], eax
lea eax, [ebp - 8]
push eax
push dword [ebp - 0xc]
push 5
push 0x6013a1
call esi
lea eax, [ebp - 0xc]
push eax
push 0x40
push 5
push 0x602d64
call esi
mov byte [0x602d64], 0xe9
mov eax, 0x10030850
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
add eax, 0xff9fd297
mov dword [0x602d65], eax
lea eax, [ebp - 8]
push eax
push dword [ebp - 0xc]
push 5
push 0x602d64
call esi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10031680
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
mov eax, dword [0x1007100c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push 0x104
lea eax, [ebp - 0x108]
xor bl, bl
push 0
push eax
call main
add esp, 0xc
mov dword [ebp - 0x110], 0x104
lea eax, [ebp - 0x10c]
push eax
push 0x20019
push 0
push str.SOFTWAREVooblyVooblygame13
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1003174e
lea eax, [ebp - 0x110]
push eax
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x114]
push eax
push 0
push str.launchtosingle
push dword [ebp - 0x10c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ecx, str.true
lea eax, [ebp - 0x108]
nop dword [eax + eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x10031730
test dl, dl
je 0x1003172c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x10031730
add eax, 2
add ecx, 2
test dl, dl
jne 0x10031710
xor eax, eax
jmp 0x10031735
sbb eax, eax
or eax, 1
push dword [ebp - 0x10c]
test eax, eax
movzx ebx, bl
mov ecx, 1
cmove ebx, ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
mov al, bl
xor ecx, ebp
pop ebx
call fcn.1003cc0e
mov esp, ebp
pop ebp
ret

Function at 0x10031760
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
mov eax, dword [0x1007100c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push 0x104
lea eax, [ebp - 0x108]
xor bl, bl
push 0
push eax
call main
add esp, 0xc
mov dword [ebp - 0x110], 0x104
lea eax, [ebp - 0x10c]
push eax
push 0x20019
push 0
push str.SOFTWAREVooblyVooblygame13_v1.6_RC_Destruction
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1003182e
lea eax, [ebp - 0x110]
push eax
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x114]
push eax
push 0
push str.Auto_Save
push dword [ebp - 0x10c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ecx, str.true
lea eax, [ebp - 0x108]
nop dword [eax + eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x10031810
test dl, dl
je 0x1003180c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x10031810
add eax, 2
add ecx, 2
test dl, dl
jne 0x100317f0
xor eax, eax
jmp 0x10031815
sbb eax, eax
or eax, 1
push dword [ebp - 0x10c]
test eax, eax
movzx ebx, bl
mov ecx, 1
cmove ebx, ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
mov al, bl
xor ecx, ebp
pop ebx
call fcn.1003cc0e
mov esp, ebp
pop ebp
ret
Function at 0x10032760
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
mov eax, dword [0x1007100c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push 0x104
lea eax, [ebp - 0x108]
xor bl, bl
push 0
push eax
call main
add esp, 0xc
mov dword [ebp - 0x110], 0x104
lea eax, [ebp - 0x10c]
push eax
push 0x20019
push 0
push str.SOFTWAREVooblyVooblygame13_v1.6_RC_Destruction
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1003282e
lea eax, [ebp - 0x110]
push eax
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x114]
push eax
push 0
push str.Select_All
push dword [ebp - 0x10c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ecx, str.true
lea eax, [ebp - 0x108]
nop dword [eax + eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x10032810
test dl, dl
je 0x1003280c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x10032810
add eax, 2
add ecx, 2
test dl, dl
jne 0x100327f0
xor eax, eax
jmp 0x10032815
sbb eax, eax
or eax, 1
push dword [ebp - 0x10c]
test eax, eax
movzx ebx, bl
mov ecx, 1
cmove ebx, ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
mov al, bl
xor ecx, ebp
pop ebx
call fcn.1003cc0e
mov esp, ebp
pop ebp
ret
Function at 0x100334c0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
call fcn.10031b20
call fcn.100325e0
call fcn.10032760
test al, al
je 0x10033554
push esi
lea eax, [ebp - 8]
mov byte [ebp - 1], 0xe9
push eax
push 1
lea eax, [ebp - 1]
push eax
push 0x51d1d7
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov esi, dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
push eax
call esi
mov eax, 0x10033430
sub eax, 0x51d1dc
mov dword [ebp - 0xc], eax
lea eax, [ebp - 8]
push eax
push 4
lea eax, [ebp - 0xc]
push eax
push 0x51d1d8
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call esi
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 0x10]
push eax
push 0x40
push 2
push 0x51d1dc
call esi
mov eax, 0x51d1dc
mov ecx, 0x90909090
mov word [eax], cx
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 0x10]
push 2
push 0x51d1dc
call esi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10036be0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
mov eax, dword [0x1007100c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push 0x104
lea eax, [ebp - 0x108]
xor bl, bl
push 0
push eax
call main
add esp, 0xc
mov dword [ebp - 0x110], 0x104
lea eax, [ebp - 0x10c]
push eax
push 0x20019
push 0
push str.SOFTWAREVooblyVooblygame13_v1.6_RC_Destruction
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x10036cae
lea eax, [ebp - 0x110]
push eax
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x114]
push eax
push 0
push str.Advanced_Interface
push dword [ebp - 0x10c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ecx, str.true
lea eax, [ebp - 0x108]
nop dword [eax + eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x10036c90
test dl, dl
je 0x10036c8c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x10036c90
add eax, 2
add ecx, 2
test dl, dl
jne 0x10036c70
xor eax, eax
jmp 0x10036c95
sbb eax, eax
or eax, 1
push dword [ebp - 0x10c]
test eax, eax
movzx ebx, bl
mov ecx, 1
cmove ebx, ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
mov al, bl
xor ecx, ebp
pop ebx
call fcn.1003cc0e
mov esp, ebp
pop ebp
ret

Function at 0x10036d30
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 eax, [ebp - 8]
push eax
push 0x40
push 7
push 0x52236e
call esi
mov eax, 0x52236e
mov ecx, 0x90909090
mov dword [eax], ecx
mov word [eax + 4], cx
mov byte [eax + 6], cl
lea eax, [ebp - 4]
push eax
push dword [ebp - 8]
push 7
push 0x52236e
call esi
lea eax, [ebp - 0x10]
push eax
push 0x40
push 5
push 0x52236e
call esi
mov byte [0x52236e], 0xe9
mov eax, 0x10036cc0
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
add eax, 0xffaddc8d
mov dword [0x52236f], eax
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 0x10]
push 5
push 0x52236e
call esi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10037110
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea eax, [ebp - 8]
push eax
push 1
lea eax, [ebp - 1]
mov byte [ebp - 1], 0xe9
push eax
push 0x5b7f1d
call edi
mov esi, dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
push eax
call esi
mov eax, 0x10037090
sub eax, 0x5b7f22
mov dword [ebp - 0xc], eax
lea eax, [ebp - 8]
push eax
push 4
lea eax, [ebp - 0xc]
push eax
push 0x5b7f1e
call edi
push eax
call esi
lea eax, [ebp - 0xc]
mov byte [ebp - 1], 0xe9
push eax
push 1
lea eax, [ebp - 1]
push eax
push 0x4fa866
call edi
push eax
call esi
mov eax, 0x100370b0
sub eax, 0x4fa86b
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
push eax
push 4
lea eax, [ebp - 8]
push eax
push 0x4fa867
call edi
push eax
call esi
lea eax, [ebp - 0xc]
mov byte [ebp - 1], 0xe9
push eax
push 1
lea eax, [ebp - 1]
push eax
push 0x5bc668
call edi
push eax
call esi
mov eax, 0x10037050
sub eax, 0x5bc66d
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
push eax
push 4
lea eax, [ebp - 8]
push eax
push 0x5bc669
call edi
push eax
call esi
lea eax, [ebp - 0xc]
mov byte [ebp - 1], 0xe9
push eax
push 1
lea eax, [ebp - 1]
push eax
push 0x4f6d58
call edi
push eax
call esi
mov eax, 0x10037070
sub eax, 0x4f6d5d
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
push eax
push 4
lea eax, [ebp - 8]
push eax
push 0x4f6d59
call edi
push eax
call esi
lea eax, [ebp - 0xc]
mov byte [ebp - 1], 0xe9
push eax
push 1
lea eax, [ebp - 1]
push eax
push 0x51e975
call edi
push eax
call esi
mov eax, 0x10037010
sub eax, 0x51e97a
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
push eax
push 4
lea eax, [ebp - 8]
push eax
push 0x51e976
call edi
push eax
call esi
lea eax, [ebp - 0xc]
mov byte [ebp - 1], 0xe9
push eax
push 1
lea eax, [ebp - 1]
push eax
push 0x5b1418
call edi
push eax
call esi
mov eax, 0x10037030
sub eax, 0x5b141d
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
push eax
push 4
lea eax, [ebp - 8]
push eax
push 0x5b1419
call edi
push eax
call esi
lea eax, [ebp - 0xc]
mov byte [ebp - 1], 0xe9
push eax
push 1
lea eax, [ebp - 1]
push eax
push 0x43f989
call edi
push eax
call esi
mov eax, 0x100370d0
sub eax, 0x43f98e
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
push eax
push 4
lea eax, [ebp - 8]
push eax
push 0x43f98a
call edi
push eax
call esi
lea eax, [ebp - 0xc]
mov byte [ebp - 1], 0xe9
push eax
push 1
lea eax, [ebp - 1]
push eax
push 0x4fb06a
call edi
push eax
call esi
mov eax, 0x100370f0
sub eax, 0x4fb06f
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
push eax
push 4
lea eax, [ebp - 8]
push eax
push 0x4fb06b
call edi
push eax
call esi
push 0
push 0
push 0
push 0x10036df0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esi, eax
push 0x14
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10037350
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
mov eax, dword [0x1007100c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push 0x104
lea eax, [ebp - 0x108]
xor bl, bl
push 0
push eax
call main
add esp, 0xc
mov dword [ebp - 0x110], 0x104
lea eax, [ebp - 0x10c]
push eax
push 0x20019
push 0
push str.SOFTWAREVooblyVooblygame13_v1.6_RC_Destruction
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1003741e
lea eax, [ebp - 0x110]
push eax
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x114]
push eax
push 0
push str.double_click_Selection
push dword [ebp - 0x10c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ecx, str.true
lea eax, [ebp - 0x108]
nop dword [eax + eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x10037400
test dl, dl
je 0x100373fc
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x10037400
add eax, 2
add ecx, 2
test dl, dl
jne 0x100373e0
xor eax, eax
jmp 0x10037405
sbb eax, eax
or eax, 1
push dword [ebp - 0x10c]
test eax, eax
movzx ebx, bl
mov ecx, 1
cmove ebx, ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
mov al, bl
xor ecx, ebp
pop ebx
call fcn.1003cc0e
mov esp, ebp
pop ebp
ret

Function at 0x10037430
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
mov eax, dword [0x1007100c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push 0x104
lea eax, [ebp - 0x108]
xor bl, bl
push 0
push eax
call main
add esp, 0xc
mov dword [ebp - 0x110], 0x104
lea eax, [ebp - 0x10c]
push eax
push 0x20019
push 0
push str.SOFTWAREVooblyVooblygame13_v1.6_RC_Destruction
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x100374fe
lea eax, [ebp - 0x110]
push eax
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x114]
push eax
push 0
push str.selection_box
push dword [ebp - 0x10c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ecx, str.true
lea eax, [ebp - 0x108]
nop dword [eax + eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x100374e0
test dl, dl
je 0x100374dc
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x100374e0
add eax, 2
add ecx, 2
test dl, dl
jne 0x100374c0
xor eax, eax
jmp 0x100374e5
sbb eax, eax
or eax, 1
push dword [ebp - 0x10c]
test eax, eax
movzx ebx, bl
mov ecx, 1
cmove ebx, ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
mov al, bl
xor ecx, ebp
pop ebx
call fcn.1003cc0e
mov esp, ebp
pop ebp
ret
Function at 0x10037590
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 0xc]
push edi
push eax
push 0x40
push 5
push 0x556b5e
call esi
mov byte [0x556b5e], 0xe9
mov eax, 0x10037510
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
add eax, 0xffaa949d
mov dword [0x556b5f], eax
lea eax, [ebp - 8]
push eax
push dword [ebp - 0xc]
push 5
push 0x556b5e
call esi
lea eax, [ebp - 0xc]
push eax
push 0x40
push 2
push 0x556b63
call esi
mov eax, 0x556b63
mov edi, 0x90909090
mov word [eax], di
lea eax, [ebp - 8]
push eax
push dword [ebp - 0xc]
push 2
push 0x556b63
call esi
call fcn.10037350
test al, al
je 0x100376a6
lea eax, [ebp - 0xc]
push eax
push 0x40
push 0xb
push 0x42fc2c
call esi
mov eax, 0x42fc2c
mov ecx, edi
mov dword [eax], ecx
mov dword [eax + 4], ecx
mov word [eax + 8], cx
mov byte [eax + 0xa], cl
lea eax, [ebp - 8]
push eax
push dword [ebp - 0xc]
push 0xb
push 0x42fc2c
call esi
lea eax, [ebp - 0xc]
push eax
push 0x40
push 5
push 0x42fc83
call esi
mov byte [0x42fc83], 0xe9
mov eax, 0x10037550
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
add eax, 0xffbd0378
mov dword [0x42fc84], eax
lea eax, [ebp - 8]
push eax
push dword [ebp - 0xc]
push 5
push 0x42fc83
call esi
lea eax, [ebp - 0xc]
push eax
push 0x40
push 1
push 0x42fc88
call esi
mov eax, 0x42fc88
mov byte [eax], 0x90
lea eax, [ebp - 8]
push eax
push dword [ebp - 0xc]
push 1
push 0x42fc88
call esi
call fcn.10037430
mov ecx, dword [0x100952b4]
test al, al
lea eax, [ebp - 0xc]
mov edx, 1
push eax
push 0x40
push 5
cmovne ecx, edx
push 0x420b7d
mov dword [0x100952b4], ecx
call esi
mov byte [0x420b7d], 0xe9
mov eax, 0x10037320
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
add eax, 0xffbdf47e
mov dword [0x420b7e], eax
lea eax, [ebp - 8]
push eax
push dword [ebp - 0xc]
push 5
push 0x420b7d
call esi
lea eax, [ebp - 0xc]
push eax
push 0x40
push 2
push 0x420b82
call esi
mov eax, 0x420b82
mov word [eax], di
lea eax, [ebp - 8]
push eax
push dword [ebp - 0xc]
push 2
push 0x420b82
call esi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10038510
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 0xc]
push eax
push 0x40
push 5
push 0x4b3ca5
call esi
mov byte [0x4b3ca5], 0xe9
mov eax, 0x10038440
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
add eax, 0xffb4c356
mov dword [0x4b3ca6], eax
lea eax, [ebp - 8]
push eax
push dword [ebp - 0xc]
push 5
push 0x4b3ca5
call esi
lea eax, [ebp - 0xc]
push eax
push 0x40
push 2
push 0x4b3caa
call esi
mov eax, 0x4b3caa
mov ecx, 0x90909090
mov word [eax], cx
lea eax, [ebp - 8]
push eax
push dword [ebp - 0xc]
push 2
push 0x4b3caa
call esi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x10039980
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1005ce63
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x1007100c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi + 8], 0xffffffff
mov dword [esi + 4], 0xffffffff
mov dword [esi + 0xc], 0
mov dword [esi + 0x20], 0x100a6cf8
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [ebp - 4], 0
lea ecx, [esi + 0x34]
mov dword [esi], vtable.TiXmlDocument.0
mov dword [ecx], 0x100a6cf8
mov byte [ebp - 4], 1
mov dword [esi + 0x40], 0xffffffff
mov dword [esi + 0x3c], 0xffffffff
push 0
push 0x10069fa0
mov dword [esi + 0x38], 4
mov byte [esi + 0x44], 0
mov byte [esi + 0x2c], 0
mov dword [esi + 0x30], 0
call fcn.100386b0
mov dword [esi + 0x40], 0
mov eax, esi
mov dword [esi + 0x3c], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10039c60
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
push edi
test ebx, ebx
jne 0x10039cba
cmp byte [esi + 0x2c], bl
jne 0x10039cb1
mov edx, dword [str.Failed_to_open_file]
mov ecx, edx
mov byte [esi + 0x2c], 1
mov dword [esi + 0x30], 2
lea edi, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10039c90
sub ecx, edi
push ecx
push edx
lea ecx, [esi + 0x34]
call fcn.100386b0
mov dword [esi + 0x40], 0xffffffff
mov dword [esi + 0x3c], 0xffffffff
pop edi
pop esi
xor al, al
pop ebx
pop ebp
ret 8
mov edi, dword [esi + 0x18]
test edi, edi
je 0x10039cd0
mov ecx, edi
mov edi, dword [edi + 0x28]
push 1
mov eax, dword [ecx]
call dword [eax]
test edi, edi
jne 0x10039cc1
push 2
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
push 0
push ebx
mov dword [esi + 8], 0xffffffff
mov dword [esi + 4], 0xffffffff
call fcn.10044848
push ebx
call fcn.10048282
push 0
mov edi, eax
push 0
push ebx
mov dword [ebp + 8], edi
call fcn.10044848
add esp, 0x1c
test edi, edi
jg 0x10039d3c
cmp byte [esi + 0x2c], 0
jne 0x10039cb1
mov edx, dword [str.Error_document_empty.]
mov ecx, edx
mov byte [esi + 0x2c], 1
mov dword [esi + 0x30], 0xc
lea edi, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10039d30
jmp 0x10039c97
lea eax, [edi + 1]
push eax
call fcn.1003cc1f
push ebx
mov ebx, dword [ebp + 8]
mov edi, eax
push 1
push ebx
push edi
mov byte [edi], 0
call fcn.1004898b
add esp, 0x14
cmp eax, 1
je 0x10039d94
push edi
call fcn.1003cc52
add esp, 4
cmp byte [esi + 0x2c], 0
jne 0x10039cb1
mov edx, dword [str.Failed_to_open_file]
mov ecx, edx
mov byte [esi + 0x2c], 1
mov dword [esi + 0x30], 2
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10039d88
jmp 0x10039c97
mov byte [edi + ebx], 0
mov eax, edi
cmp byte [edi], 0
mov ecx, edi
je 0x10039dbf
mov dl, byte [eax]
mov ebx, eax
cmp dl, 0xd
jne 0x10039db6
inc eax
mov byte [ecx], 0xa
cmp byte [eax], 0xa
cmovne eax, ebx
jmp 0x10039db8
mov byte [ecx], dl
inc eax
inc ecx
cmp byte [eax], 0
jne 0x10039da1
mov byte [ecx], 0
mov ecx, esi
mov eax, dword [esi]
push 0
push 0
push edi
call dword [eax + 8]
push edi
call fcn.1003cc52
add esp, 4
cmp byte [esi + 0x2c], 0
sete al
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x1003cb90
Capabilities:
Allocate or change rwx memory
Create thread
Execute shellcode via indirect call
Spawn thread to rwx shellcode

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
push 0
push 0
push 0
push 0x1003c960
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esi, eax
push 0xa
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 0xc]
push eax
push 0x40
push 5
push 0x586d00
mov dword [0x100a6d08], 1
call esi
mov byte [0x586d00], 0xe9
mov eax, 0x1003c7e0
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
add eax, 0xffa792fb
mov dword [0x586d01], eax
lea eax, [ebp - 8]
push eax
push dword [ebp - 0xc]
push 5
push 0x586d00
call esi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x1004d0d0
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.1004cf4f

Function at 0x10051d2a
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.100519ea