joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10005050
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x10056b2c]
test eax, eax
jne 0x100050d2
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov edi, dword [ebp + 8]
cmp edi, eax
jne 0x10005071
xor eax, eax
pop edi
pop ebp
ret 4
push esi
push 8
call fcn.100090c2
mov esi, eax
add esp, 4
test esi, esi
jne 0x10005087
lea edi, [eax + 8]
jmp 0x100050a6
push edi
call dword [sym.imp.KERNEL32.dll_SuspendThread]
cmp eax, 0xffffffff
jne 0x100050be
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
push 8
push esi
call fcn.100093b2
add esp, 8
pop esi
mov dword [0x10056b2c], edi
mov eax, edi
mov dword [0x10056b30], 0
pop edi
pop ebp
ret 4
mov eax, dword [0x10056b34]
mov dword [esi + 4], edi
mov dword [esi], eax
xor eax, eax
mov dword [0x10056b34], esi
pop esi
pop edi
pop ebp
ret 4

Function at 0x100051b0
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
cmp dword [0x10056b6c], 0
jne 0x1000537f
mov eax, dword [0x10056b68]
test eax, eax
jne 0x10005381
xorps xmm0, xmm0
mov dword [0x10056b64], eax
movups xmmword [0x10056b44], xmm0
movups xmmword [0x10056b54], xmm0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push 0
push 0
push str.dbghelp.dll
mov dword [0x10056b44], eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov dword [0x10056b48], eax
test eax, eax
je 0x10005324
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.ImagehlpApiVersionEx
push eax
call esi
push str.SymInitialize
push dword [0x10056b48]
mov dword [0x10056b4c], eax
call esi
push str.SymSetOptions
push dword [0x10056b48]
mov dword [0x10056b50], eax
call esi
push str.SymGetOptions
push dword [0x10056b48]
mov dword [0x10056b54], eax
call esi
push str.SymLoadModule64
push dword [0x10056b48]
mov dword [0x10056b58], eax
call esi
push str.SymGetModuleInfo64
push dword [0x10056b48]
mov dword [0x10056b5c], eax
call esi
push str.SymFromName
push dword [0x10056b48]
mov dword [0x10056b60], eax
call esi
xorps xmm0, xmm0
mov dword [0x10056b64], eax
mov ecx, 0xc
movq qword [ebp - 8], xmm0
mov word [ebp - 8], cx
mov ecx, dword [0x10056b4c]
pop esi
test ecx, ecx
je 0x1000531f
cmp dword [0x10056b50], 0
je 0x1000531f
cmp dword [0x10056b5c], 0
je 0x1000531f
cmp dword [0x10056b60], 0
je 0x1000531f
test eax, eax
je 0x1000531f
lea eax, [ebp - 8]
push eax
call ecx
cmp word [ebp - 8], 0xc
jb 0x1000531f
push 0
push 0
push dword [0x10056b44]
call dword [0x10056b50]
test eax, eax
je 0x1000531f
mov eax, dword [0x10056b58]
test eax, eax
je 0x1000530c
cmp dword [0x10056b54], 0
je 0x1000530c
call eax
and eax, 0xfffffffc
or eax, 0x2704
push eax
call dword [0x10056b54]
mov dword [0x10056b68], 0x10056b44
mov eax, 0x10056b44
mov esp, ebp
pop ebp
ret
mov eax, dword [0x10056b48]
mov dword [0x10056b6c], 1
test eax, eax
je 0x10005339
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [0x10056b4c], 0
mov dword [0x10056b50], 0
mov dword [0x10056b54], 0
mov dword [0x10056b58], 0
mov dword [0x10056b5c], 0
mov dword [0x10056b60], 0
mov dword [0x10056b64], 0
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x10005390
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x10052088
push 0x1000bde0
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x10054010]
xor dword [ebp - 8], eax
xor eax, ebp
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov ebx, dword [ebp + 8]
test ebx, ebx
jne 0x100053d3
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov ebx, eax
mov dword [ebp - 4], 0
mov eax, 0x5a4d
cmp word [ebx], ax
je 0x100053ee
push 0xc1
jmp 0x100054de
mov ecx, dword [ebx + 0x3c]
add ecx, ebx
mov dword [ebp + 8], ecx
cmp dword [ecx], 0x4550
je 0x10005408
push 0xbf
jmp 0x100054de
movzx eax, word [ecx + 0x14]
test ax, ax
je 0x100054d9
lea edx, [ecx + 0x18]
add edx, eax
mov dword [ebp - 0x20], edx
xor esi, esi
mov dword [ebp - 0x1c], esi
movzx eax, word [ecx + 6]
cmp esi, eax
jae 0x100054d9
lea eax, [esi + esi*4]
lea edi, [edx + eax*8]
mov ecx, str..detour
mov eax, edi
nop dword [eax + eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x10005460
test dl, dl
je 0x1000545c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x10005460
add eax, 2
add ecx, 2
test dl, dl
jne 0x10005440
xor eax, eax
jmp 0x10005465
sbb eax, eax
or eax, 1
test eax, eax
jne 0x100054b7
mov eax, dword [edi + 0xc]
test eax, eax
je 0x100054d9
cmp dword [edi + 0x10], 0
je 0x100054d9
lea esi, [eax + ebx]
mov eax, dword [esi]
cmp eax, 0x40
jb 0x100054d9
cmp dword [esi + 4], 0x727444
jne 0x100054d9
cmp dword [esi + 8], 0
jne 0x10005492
mov dword [esi + 8], eax
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov dword [ebp - 4], 0xfffffffe
mov eax, esi
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
inc esi
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x20]
jmp 0x1000541f
push 0xc0
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov dword [ebp - 4], 0xfffffffe
xor eax, eax
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 0x10005790
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x10052008
push 0x1000bde0
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
push edi
mov eax, dword [0x10054010]
xor dword [ebp - 8], eax
xor eax, ebp
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov edx, dword [ebp + 8]
test edx, edx
jne 0x100057d6
push edx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov edx, eax
mov dword [ebp + 8], edx
mov dword [ebp - 4], 0
mov eax, 0x5a4d
cmp word [edx], ax
je 0x100057f1
push 0xc1
jmp 0x1000591e
mov ecx, dword [edx + 0x3c]
add ecx, edx
cmp dword [ecx], 0x4550
je 0x10005808
push 0xbf
jmp 0x1000591e
cmp word [ecx + 0x14], 0
je 0x10005919
mov ebx, dword [ecx + 0x78]
lea eax, [ebx + edx]
neg ebx
sbb ebx, ebx
and ebx, eax
je 0x10005919
mov eax, dword [ecx + 0x7c]
add eax, ebx
mov dword [ebp - 0x20], eax
mov esi, dword [ebx + 0x1c]
lea eax, [esi + edx]
neg esi
sbb esi, esi
and esi, eax
mov dword [ebp - 0x34], esi
mov ecx, dword [ebx + 0x20]
lea eax, [ecx + edx]
neg ecx
sbb ecx, ecx
and ecx, eax
mov dword [ebp - 0x28], ecx
mov ecx, dword [ebx + 0x24]
lea eax, [ecx + edx]
neg ecx
sbb ecx, ecx
and ecx, eax
mov dword [ebp - 0x1c], ecx
xor edi, edi
mov dword [ebp - 0x30], edi
cmp edi, dword [ebx + 0x14]
jae 0x100058db
test esi, esi
je 0x10005876
mov esi, dword [esi + edi*4]
lea eax, [edx + esi]
neg esi
sbb esi, esi
and esi, eax
jmp 0x10005878
xor esi, esi
mov dword [ebp - 0x24], esi
xor eax, eax
cmp esi, ebx
jbe 0x1000588c
xor edx, edx
cmp esi, dword [ebp - 0x20]
cmovb esi, edx
mov dword [ebp - 0x24], esi
xor edx, edx
mov dword [ebp - 0x2c], edx
cmp edx, dword [ebx + 0x18]
jae 0x100058b3
movzx ecx, word [ecx + edx*2]
cmp ecx, edi
jne 0x100058d5
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x100058d1
mov eax, dword [eax + edx*4]
mov ecx, dword [ebp + 8]
add ecx, eax
neg eax
sbb eax, eax
and eax, ecx
mov ecx, dword [ebx + 0x10]
add ecx, edi
push esi
push eax
push ecx
push dword [ebp + 0xc]
call dword [ebp + 0x10]
test eax, eax
je 0x100058db
inc edi
mov edx, dword [ebp + 8]
mov ecx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x34]
jmp 0x1000585c
xor eax, eax
jmp 0x100058b3
inc edx
mov ecx, dword [ebp - 0x1c]
jmp 0x1000588e
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov dword [ebp - 4], 0xfffffffe
mov eax, 1
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
push 0xc0
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov dword [ebp - 4], 0xfffffffe
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x10005980
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x10052028
push 0x1000bde0
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x10054010]
xor dword [ebp - 8], eax
xor eax, ebp
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov ecx, dword [ebp + 8]
test ecx, ecx
jne 0x100059c6
push ecx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov ecx, eax
mov dword [ebp + 8], ecx
mov dword [ebp - 4], 0
mov eax, 0x5a4d
cmp word [ecx], ax
je 0x100059e1
push 0xc1
jmp 0x10005b41
mov eax, dword [ecx + 0x3c]
cmp dword [eax + ecx], 0x4550
je 0x100059f7
push 0xbf
jmp 0x10005b41
cmp word [eax + ecx + 0x14], 0
je 0x10005b3c
mov eax, dword [eax + ecx + 0x80]
test eax, eax
je 0x10005b1d
lea edx, [eax + ecx]
mov dword [ebp - 0x1c], edx
test edx, edx
je 0x10005b3c
mov edi, dword [ebp + 0x14]
mov ebx, dword [edx]
test ebx, ebx
je 0x10005ae4
mov esi, dword [edx + 0xc]
lea eax, [ecx + esi]
neg esi
sbb esi, esi
and esi, eax
je 0x10005b3c
lea eax, [ecx + ebx]
neg ebx
sbb ebx, ebx
and ebx, eax
mov edx, dword [edx + 0x10]
lea eax, [ecx + edx]
neg edx
sbb edx, edx
and edx, eax
mov dword [ebp + 0x14], edx
push dword [edx]
call fcn.10005ff0
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x10005a71
push esi
push eax
mov esi, dword [ebp + 0xc]
push esi
call ecx
test eax, eax
je 0x10005ae7
xor esi, esi
mov dword [ebp - 0x24], esi
test ebx, ebx
je 0x10005ad3
nop word [eax + eax]
mov eax, dword [ebx + esi*4]
test eax, eax
je 0x10005ac4
xor ecx, ecx
mov dword [ebp - 0x20], ecx
xor edx, edx
test eax, eax
jns 0x10005a9a
movzx ecx, ax
mov dword [ebp - 0x20], ecx
jmp 0x10005aa8
add eax, 2
je 0x10005aa6
mov edx, dword [ebp + 8]
add edx, eax
jmp 0x10005aa8
xor edx, edx
test edi, edi
je 0x10005abe
mov eax, dword [ebp + 0x14]
lea eax, [eax + esi*4]
push eax
push edx
push ecx
push dword [ebp + 0xc]
call edi
test eax, eax
je 0x10005ac4
inc esi
mov dword [ebp - 0x24], esi
jmp 0x10005a80
test edi, edi
je 0x10005ad3
push 0
push 0
push 0
push dword [ebp + 0xc]
call edi
mov edx, dword [ebp - 0x1c]
add edx, 0x14
mov dword [ebp - 0x1c], edx
mov ecx, dword [ebp + 8]
jmp 0x10005a23
mov esi, dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x10005af5
push 0
push 0
push esi
call eax
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov dword [ebp - 4], 0xfffffffe
mov eax, 1
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov dword [ebp - 0x1c], 0
jmp 0x10005b3c
push 0xc0
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov dword [ebp - 4], 0xfffffffe
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x10005b70
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x10051fa8
push 0x1000bde0
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
push edi
mov eax, dword [0x10054010]
xor dword [ebp - 8], eax
xor eax, ebp
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov esi, dword [ebp + 8]
add esi, 0x10000
xorps xmm0, xmm0
movups xmmword [ebp - 0x34], xmm0
movq qword [ebp - 0x24], xmm0
mov dword [ebp - 0x1c], 0
mov edi, 0x5a4d
push 0x1c
lea eax, [ebp - 0x34]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
jne 0x10005be9
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
cmp dword [ebp - 0x24], 0x1000
jne 0x10005c71
cmp byte [ebp - 0x20], 1
je 0x10005c71
test dword [ebp - 0x20], 0x100
jne 0x10005c71
mov dword [ebp - 4], 0
cmp word [esi], di
jne 0x10005c23
mov eax, dword [esi + 0x3c]
cmp eax, dword [ebp - 0x28]
ja 0x10005c23
cmp eax, 0x40
jb 0x10005c23
cmp dword [eax + esi], 0x4550
je 0x10005c32
mov dword [ebp - 4], 0xfffffffe
mov esi, dword [ebp - 0x28]
add esi, dword [ebp - 0x34]
jmp 0x10005bc4
mov dword [ebp - 4], 0xfffffffe
mov eax, esi
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
mov esi, dword [ebp - 0x28]
add esi, dword [ebp - 0x34]
jmp 0x10005bc4

Function at 0x10007380
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
mov eax, dword [0x10054010]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
test esi, esi
jne 0x100073a7
push 0x57
jmp 0x10007433
push 0x1c
lea eax, [ebp - 0x60]
mov dword [ebp - 0x48], 0
push eax
xorps xmm0, xmm0
push esi
push edi
movups xmmword [ebp - 0x60], xmm0
movq qword [ebp - 0x50], xmm0
call dword [sym.imp.KERNEL32.dll_VirtualQueryEx]
test eax, eax
je 0x10007439
push 0
push 0x40
lea eax, [ebp - 0x44]
push eax
push esi
push edi
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x10007439
mov eax, 0x5a4d
cmp word [ebp - 0x44], ax
jne 0x1000742e
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 0x54]
ja 0x1000742e
cmp eax, 0x40
jb 0x1000742e
push 0
push 0xf8
push ebx
add eax, esi
push eax
push edi
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x10007439
cmp dword [ebx], 0x4550
jne 0x1000742e
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100093a1
mov esp, ebp
pop ebp
ret 0xc
push 0xc1
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100093a1
mov esp, ebp
pop ebp
ret 0xc
Function at 0x10008410
Capabilities:
Resume thread
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
mov esi, dword [ebp + 0x34]
test esi, esi
push edi
cmove esi, dword [sym.imp.KERNEL32.dll_CreateProcessA]
mov edi, dword [ebp + 0x2c]
test edi, edi
jne 0x10008435
xorps xmm0, xmm0
lea edi, [ebp - 0x10]
movups xmmword [ebp - 0x10], xmm0
mov eax, dword [ebp + 0x1c]
push edi
push dword [ebp + 0x28]
or eax, 4
push dword [ebp + 0x24]
push dword [ebp + 0x20]
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call esi
test eax, eax
jne 0x10008463
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x30
push ebx
mov ebx, dword [ebp + 0x30]
lea eax, [ebp + 0x34]
push 1
push eax
push dword [edi]
mov dword [ebp + 0x34], ebx
call fcn.10008db0
test eax, eax
jne 0x100084b5
push esi
lea eax, [ebp + 0x34]
mov dword [ebp + 0x34], ebx
push eax
push 1
push dword [edi + 8]
call fcn.100089b0
test eax, eax
jne 0x100084b5
push 0xffffffffffffffff
push dword [edi]
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push dword [edi]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [edi + 4]
call esi
pop ebx
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 0x30
test byte [ebp + 0x1c], 4
jne 0x100084c4
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
lea eax, [ebp - 0x10]
cmp edi, eax
jne 0x100084da
push dword [edi]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [edi + 4]
call esi
pop ebx
pop edi
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret 0x30

Function at 0x100084f0
Capabilities:
Resume thread
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
mov esi, dword [ebp + 0x34]
test esi, esi
push edi
cmove esi, dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov edi, dword [ebp + 0x2c]
test edi, edi
jne 0x10008515
xorps xmm0, xmm0
lea edi, [ebp - 0x10]
movups xmmword [ebp - 0x10], xmm0
mov eax, dword [ebp + 0x1c]
push edi
push dword [ebp + 0x28]
or eax, 4
push dword [ebp + 0x24]
push dword [ebp + 0x20]
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call esi
test eax, eax
jne 0x10008543
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x30
push ebx
mov ebx, dword [ebp + 0x30]
lea eax, [ebp + 0x34]
push 1
push eax
push dword [edi]
mov dword [ebp + 0x34], ebx
call fcn.10008db0
test eax, eax
jne 0x10008595
push esi
lea eax, [ebp + 0x34]
mov dword [ebp + 0x34], ebx
push eax
push 1
push dword [edi + 8]
call fcn.10008ba0
test eax, eax
jne 0x10008595
push 0xffffffffffffffff
push dword [edi]
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push dword [edi]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [edi + 4]
call esi
pop ebx
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 0x30
test byte [ebp + 0x1c], 4
jne 0x100085a4
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
lea eax, [ebp - 0x10]
cmp edi, eax
jne 0x100085ba
push dword [edi]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [edi + 4]
call esi
pop ebx
pop edi
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret 0x30
Function at 0x10008810
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x10056b74]
sub esp, 0x14
push ebx
push esi
push edi
xor edi, edi
test eax, eax
jne 0x1000882e
mov esi, 0x26b1
jmp 0x1000890b
push dword [eax + 4]
push 0
push 0x1fffff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x14], eax
test eax, eax
jne 0x1000884f
mov esi, 0x26ad
jmp 0x1000890b
mov eax, dword [0x10056b74]
xor ecx, ecx
mov edx, 4
mov eax, dword [eax + 8]
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.100093c0
mov edx, dword [0x10056b74]
mov ecx, eax
xor esi, esi
mov dword [ebp - 8], ecx
add esp, 4
mov eax, dword [edx]
sub eax, 0x10
mov dword [ebp - 0xc], eax
cmp dword [edx + 8], esi
jbe 0x100088dd
lea ecx, [edx + 0xc]
mov dword [ebp - 0x10], ecx
lea ebx, [ecx + edi]
mov dword [ebp - 4], 0
sub eax, edi
test ebx, ebx
je 0x100088d6
cmp eax, 0x7fffffff
ja 0x100088d6
lea ecx, [ebp - 4]
push ecx
push eax
push ebx
call fcn.10007900
test eax, eax
js 0x100088d6
mov ecx, dword [ebp - 8]
mov eax, dword [ebp - 4]
mov edx, dword [0x10056b74]
inc eax
add edi, eax
mov dword [ecx + esi*4], ebx
inc esi
cmp esi, dword [edx + 8]
jae 0x100088dd
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
jmp 0x10008890
mov esi, 0x26ae
jmp 0x100088fb
push dword [edx + 8]
push ecx
push dword [ebp - 0x14]
call fcn.10008db0
mov esi, eax
neg esi
sbb esi, esi
and esi, 0xffffd951
add esi, 0x26af
mov eax, dword [ebp - 8]
test eax, eax
je 0x1000890b
push eax
call fcn.100093c9
add esp, 4
push esi
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x100089b0
Capabilities:
Query environment variable
Resume thread
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x268
mov eax, dword [0x10054010]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
push esi
push edi
mov edi, dword [ebp + 0x10]
xor ebx, ebx
mov dword [ebp - 0x224], eax
lea eax, [ebp - 0x108]
push 0x104
push eax
push 0x100494b0
mov dword [ebp - 0x210], ebx
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
mov ecx, dword [ebp + 0xc]
mov esi, eax
lea eax, [ecx - 1]
cmp eax, 0xfff
ja 0x10008b77
push edi
push ecx
push dword [ebp + 8]
lea eax, [ebp - 0x210]
push eax
call fcn.10007000
mov edi, dword [ebp - 0x210]
test eax, eax
je 0x10008b68
test esi, esi
je 0x10008b68
cmp esi, 0x104
jae 0x10008b68
push 0x100494b8
push 0x104
lea eax, [ebp - 0x108]
push eax
call fcn.10005530
test eax, eax
js 0x10008b68
lea eax, [edi + 0xc]
push eax
push 0x100494d0
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.10007710
add esp, 0x10
test eax, eax
js 0x10008b68
push 0x44
lea eax, [ebp - 0x268]
xorps xmm0, xmm0
push ebx
push eax
movups xmmword [ebp - 0x220], xmm0
call fcn.1000bc40
add esp, 0xc
mov dword [ebp - 0x268], 0x44
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x268]
push eax
push ebx
push ebx
push 4
push ebx
push ebx
push ebx
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x108]
push eax
call dword [ebp - 0x224]
test eax, eax
je 0x10008b68
push dword [edi]
push edi
push 0x1004949c
push dword [ebp - 0x220]
call fcn.100080e0
test eax, eax
jne 0x10008b0e
push 0xffffffffffffffff
push dword [ebp - 0x220]
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push dword [ebp - 0x220]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x21c]
call esi
jmp 0x10008b68
push dword [ebp - 0x21c]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push 0xffffffffffffffff
push dword [ebp - 0x220]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [ebp - 0x210]
mov dword [ebp - 0x210], 0x1f4
push eax
push dword [ebp - 0x220]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
push dword [ebp - 0x220]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x21c]
call esi
cmp dword [ebp - 0x210], ebx
jne 0x10008b68
mov ebx, 1
test edi, edi
je 0x10008b7f
push edi
call fcn.100093c9
add esp, 4
jmp 0x10008b7f
push 0x57
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100093a1
mov esp, ebp
pop ebp
ret 0x10
Function at 0x10008ba0
Capabilities:
Query environment variable
Resume thread
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x470
mov eax, dword [0x10054010]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
push esi
push edi
mov edi, dword [ebp + 0x10]
xor ebx, ebx
mov dword [ebp - 0x42c], eax
lea eax, [ebp - 0x20c]
push 0x104
push eax
push str.WINDIR
mov dword [ebp - 0x418], ebx
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov ecx, dword [ebp + 0xc]
mov esi, eax
lea eax, [ecx - 1]
cmp eax, 0xfff
ja 0x10008d71
push edi
push ecx
push dword [ebp + 8]
lea eax, [ebp - 0x418]
push eax
call fcn.10007000
mov edi, dword [ebp - 0x418]
test eax, eax
je 0x10008d62
test esi, esi
je 0x10008d62
cmp esi, 0x104
jae 0x10008d62
push str._sysnative_rundll32.exe
push 0x104
lea eax, [ebp - 0x20c]
push eax
call fcn.100075f0
test eax, eax
js 0x10008d62
lea eax, [edi + 0xc]
push eax
push str.rundll32.exe___hs__1
lea eax, [ebp - 0x414]
push 0x104
push eax
call fcn.10007790
add esp, 0x10
test eax, eax
js 0x10008d62
push 0x44
lea eax, [ebp - 0x470]
xorps xmm0, xmm0
push ebx
push eax
movups xmmword [ebp - 0x428], xmm0
call fcn.1000bc40
add esp, 0xc
mov dword [ebp - 0x470], 0x44
lea eax, [ebp - 0x428]
push eax
lea eax, [ebp - 0x470]
push eax
push ebx
push ebx
push 4
push ebx
push ebx
push ebx
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x20c]
push eax
call dword [ebp - 0x42c]
test eax, eax
je 0x10008d62
push dword [edi]
push edi
push 0x1004949c
push dword [ebp - 0x428]
call fcn.100080e0
test eax, eax
jne 0x10008cfe
push 0xffffffffffffffff
push dword [ebp - 0x428]
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push dword [ebp - 0x428]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x424]
call esi
jmp 0x10008d62
push dword [ebp - 0x424]
mov esi, dword [sym.imp.KERNEL32.dll_ResumeThread]
call esi
push dword [ebp - 0x424]
call esi
push 0xffffffffffffffff
push dword [ebp - 0x428]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [ebp - 0x418]
mov dword [ebp - 0x418], 0x1f4
push eax
push dword [ebp - 0x428]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
push dword [ebp - 0x428]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x424]
call esi
cmp dword [ebp - 0x418], ebx
jne 0x10008d62
mov ebx, 1
test edi, edi
je 0x10008d79
push edi
call fcn.100093c9
add esp, 4
jmp 0x10008d79
push 0x57
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100093a1
mov esp, ebp
pop ebp
ret 0x10

Function at 0x10031cc2
Capabilities:
Set environment variable

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

Function at 0x10043448
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.1004331c