joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1002347b
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 0xffffffffffffffff
push esi
mov esi, esp
xor dword [esp - 0x43], esi
xor dword [esp - 0x45], esi
and dword [esi + 4], eax
pop esi
push 0
ja 0x100233c4
add ebx, 0
push ecx
call 0x100233d9
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
add esp, 8
xor dword [esp], ebx
sub esp, 0x6b
mov dword [esp + 0x67], edx
add esp, 0x67
push ecx
push 0
xor dword [esp - 0x56], edx
xor edi, 0
add dword [esp], edi
push esi
mov ebx, 0x6c52a017
sub ebx, dword [0x6c549856]
mov dword [ebp - 8], ebx
xchg esi, eax
push 0x6c549846
call fcn.1001eea3
xchg esi, eax
add esi, ebx
mov edx, dword [ebp + 8]
sub edx, ebx
call fcn.1001e3b1
mov edi, eax
mov eax, dword [esi + 8]
xor dword [esp - 0x69], edx
xor ebx, 0
xor eax, edi
cmp edx, eax
jb 0x10023537
mov eax, dword [esi + 0xc]
xor eax, edi
cmp edx, eax
ja 0x10023537
mov ecx, dword [esi + 0x10]
sub dword [esp - 0x34], ebx
xor ecx, edi
mov edx, dword [esi + 0x14]
xor edx, edi
shl edx, 2
add edx, 0x18
mov eax, dword [esi]
xor eax, edi
cmp eax, 1
je 0x100234ee
mov eax, 1
lock xchg dword [0x6c549852], eax
push 0x3dd1fc71
call 0x1002347b
push esi
add esp, 8
cmp eax, 0
jne 0x10023464
push edx
mov eax, edi
xor byte [esi + edx], al
inc edx
dec ecx
jne 0x1002348a
pop edx
mov eax, dword [esi + 0x14]
xor eax, edi
js 0x1002349f
cmp ecx, edx
cmp eax, 0
je 0x100234c4
mov dword [ebp - 4], eax
lea ecx, [esi + 0x18]
mov eax, dword [esi + ecx]
xor eax, edi
add eax, edx
add dword [esi + eax], ebx
add ecx, 4
dec dword [ebp - 4]
jne 0x100234ae
mov eax, 1
mov dword [esp - 0x1a], eax
push 0x8ae1b7eb
call fcn.100234dd
dec eax
loope 0x100234e0
invalid
xor eax, edi
mov dword [esi], eax
mov dword [0x6c549852], 0
add edx, esi
mov dword [ebp + 4], edx
xchg dword [esp], esi
push ecx
lea ecx, [edi - 0x72d1f741]
mov ecx, esp
mov dword [ecx - 0x15], ebx
pop ecx
push esi
xor esi, esi
mov esi, esp
and dword [esi - 0x1d], ecx
pop esi
mov dword [esp], esi
jb 0x10023514
xor edx, 0
add esp, 4
pop edi
pop ecx
pop edx
pop ebx
pop eax
leave
jmp 0x10023529
jmp 0x10023534
ret 4
mov eax, dword [esi + 4]
xor eax, edi
add esi, eax
jmp 0x10023422
Function at 0x1002a59c
Capabilities:
Access peb ldr_data

Disassembly:
add esp, 8
and dword [esp], ebx
push ecx
push edx
push edi
push esi
or edi, 0xffffffff
not edi
add edi, dword [ebp + 8]
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov ecx, dword [eax + 0xc]
push ecx
xor edx, edx
mov ecx, dword [ecx]
cmp ecx, dword [esp]
je 0x1002a872
push ebp
push 0xffffffffffffffff
sub esp, 0x32
mov dword [esp + 0x2e], 0x6c5364ca
add esp, 0x2e
sub esp, 4
mov dword [esp], 0x6c52d490
push 0xffffffffffffffff
call fcn.1002179c
xchg edx, eax
and eax, 0
add eax, 0x75d46dc4
push ecx
and ecx, 0xcfb6d7ec
mov ecx, esp
mov dword [ecx - 0x54], esi
pop ecx
ja 0x1002a606
and eax, eax
xchg edx, eax
mov edx, dword [ecx + edx - 0x75d46dac]
call fcn.1002a61e
mov byte [0xee69f033], al
invalid
mov eax, ecx
pop esi
mov edi, dword [esp]
add esp, 4
pop edx
xor ecx, ecx
add ecx, 0xffffffff
and ecx, dword [esp]
xor ecx, 0
add esp, 4
pop ebx
mov esp, ebp
mov ebp, dword [esp]
add esp, 4
jno 0x1002a866
xor eax, 0
ret 4
xor ecx, ecx
jmp 0x1002a83a
Function at 0x1003a06c
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ebx
push ecx
lea esp, [esp - 0x10]
mov dword [esp + 0xc], edx
lea esp, [esp + 0xc]
sub esp, 4
mov dword [esp], 0x8b92e34e
mov dword [esp], edi
push esi
mov eax, dword [ebp + 8]
and ax, 0xf001
dec eax
cmp word [eax], 0x5a4d
jne 0x1003a08e
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xf08
ja 0x1003a08e
add ebx, eax
cmp dword [ebx], 0x4550
jne 0x1003a08e
ret
cmp word [ebx + 4], 0x14c
jne 0x1003a08e
test word [ebx + 0x16], 2
je 0x1003a08e
test word [ebx + 0x16], 0x100
je 0x1003a08e
cmp word [ebx + 0x18], 0x10b
jne 0x1003a08e
mov edx, dword [ebx + 0x78]
cmp edx, 0
je 0x1003a08e
lea edx, [eax + edx]
mov edx, dword [edx + 0xc]
push 0xe1641d81
call 0x1003a11a
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x75ac5ffe], 0xa
jnp 0x1003a0ae
int1
salc
push edi
inc esp
add esp, 8
lea edx, [edx + eax]
mov ebx, eax
push edx
call fcn.10020ff9
xchg ebx, eax
cmp ebx, dword [ebp + 0xc]
jne 0x1003a08e
sub esp, 0x3e
mov esi, dword [esp + 0x3e]
add esp, 0x42
pop edi
mov edx, dword [esp]
add esp, 4
pop ecx
pop ebx
leave
ret 8

Function at 0x1003a11a
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ebx
push ecx
lea esp, [esp - 0x10]
mov dword [esp + 0xc], edx
lea esp, [esp + 0xc]
sub esp, 4
mov dword [esp], 0x8b92e34e
mov dword [esp], edi
push esi
mov eax, dword [ebp + 8]
and ax, 0xf001
dec eax
cmp word [eax], 0x5a4d
jne 0x1003a08e
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xf08
ja 0x1003a08e
add ebx, eax
cmp dword [ebx], 0x4550
jne 0x1003a08e
ret
cmp word [ebx + 4], 0x14c
jne 0x1003a08e
test word [ebx + 0x16], 2
je 0x1003a08e
test word [ebx + 0x16], 0x100
je 0x1003a08e
cmp word [ebx + 0x18], 0x10b
jne 0x1003a08e
mov edx, dword [ebx + 0x78]
cmp edx, 0
je 0x1003a08e
lea edx, [eax + edx]
mov edx, dword [edx + 0xc]
push 0xe1641d81
call 0x1003a11a
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x75ac5ffe], 0xa
jnp 0x1003a0ae
int1
salc
push edi
inc esp
add esp, 8
lea edx, [edx + eax]
mov ebx, eax
push edx
call fcn.10020ff9
xchg ebx, eax
cmp ebx, dword [ebp + 0xc]
jne 0x1003a08e
sub esp, 0x3e
mov esi, dword [esp + 0x3e]
add esp, 0x42
pop edi
mov edx, dword [esp]
add esp, 4
pop ecx
pop ebx
leave
ret 8
Function at 0x1003a1d1
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0
push ecx
xor ecx, ecx
jne 0x1003a22a
mov ecx, esp
xor dword [ecx - 0x55], edi
pop ecx
call 0x1003a1d1
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
call 0x1003a1e0
cld
test edx, ebx
or ebp, eax
add dword [esi - 0x7cc26b19], esp
les ecx, [eax]
or dword [esp], ebp
mov ebp, esp
sub esp, 0x100
push ebx
push edx
push ecx
push edi
push esi
mov ebx, dword [ebp + 8]
mov edx, ebx
add ebx, dword [ebx + 0x3c]
mov ebx, dword [ebx + 0x78]
lea ebx, [ebx + edx]
mov eax, dword [ebx + 0x24]
add eax, edx
xor edi, edi
jne 0x1043fe83
or edi, dword [ebx + 0x20]
add edi, edx
mov ecx, dword [ebx + 0x18]
mov esi, dword [edi]
add esi, edx
push 0
push ecx
mov ecx, esp
push 0x55d34c8a
call 0x1003a231
sti
sbb byte [ecx + 0x56], dh
xlatb
les ebp, [ebp + 0x8c483e2]
xchg dword [ecx + 4], eax
xor eax, edx
shl eax, 3
xor ecx, 0
shl eax, 0x1d
add eax, dword [ecx + 4]
pop ecx
push esi
call fcn.100210a7
cmp eax, dword [ebp + 0xc]
pop eax
je 0x1003a2d0
add edi, 4
add eax, 2
dec ecx
jne 0x1003a216
call 0x1003a27d
loope 0x1003a273
invalid
sbb esi, ebx
mov edi, 0xdbead58c
js 0x1003a2cd
mov dh, 0xe8
or byte [eax], al
add byte [eax], al
mov bh, 0x24
lea eax, [edx + 0x53]
nop
mov dword [esi + 0x2308c483], ecx
sal byte [ecx], 0xc0
fsub st(7)
int 0xf
mov bh, 0
movzx eax, word [eax]
jmp 0x1003a2de
shl eax, 2
add eax, dword [ebx + 0x1c]
add eax, edx
mov eax, dword [eax]
add eax, edx
mov ebx, edx
add ebx, dword [edx + 0x3c]
mov ecx, dword [ebx + 0x7c]
mov ebx, dword [ebx + 0x78]
add ebx, edx
add ecx, ebx
cmp eax, ebx
jb 0x1003a291
cmp eax, ecx
ja 0x1003a291
mov esi, eax
lea edi, [ebp - 0x100]
mov al, byte [esi]
mov byte [edi], al
inc edi
inc esi
js 0x1003a31b
or ecx, ecx
xor dword [esp - 0x6b], eax
cmp al, 0x2e
jne 0x1003a311
lea edi, [ebp - 0x100]
push 0x100
push edi
push esi
call fcn.10021586
lea esp, [esp - 0x60]
mov dword [esp + 0x5c], edi
lea esp, [esp + 0x5c]
Function at 0x1003a1e0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0
push ecx
xor ecx, ecx
jne 0x1003a22a
mov ecx, esp
xor dword [ecx - 0x55], edi
pop ecx
call 0x1003a1d1
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
call 0x1003a1e0
cld
test edx, ebx
or ebp, eax
add dword [esi - 0x7cc26b19], esp
les ecx, [eax]
or dword [esp], ebp
mov ebp, esp
sub esp, 0x100
push ebx
push edx
push ecx
push edi
push esi
mov ebx, dword [ebp + 8]
mov edx, ebx
add ebx, dword [ebx + 0x3c]
mov ebx, dword [ebx + 0x78]
lea ebx, [ebx + edx]
mov eax, dword [ebx + 0x24]
add eax, edx
xor edi, edi
jne 0x1043fe83
or edi, dword [ebx + 0x20]
add edi, edx
mov ecx, dword [ebx + 0x18]
mov esi, dword [edi]
add esi, edx
push 0
push ecx
mov ecx, esp
push 0x55d34c8a
call 0x1003a231
sti
sbb byte [ecx + 0x56], dh
xlatb
les ebp, [ebp + 0x8c483e2]
xchg dword [ecx + 4], eax
xor eax, edx
shl eax, 3
xor ecx, 0
shl eax, 0x1d
add eax, dword [ecx + 4]
pop ecx
push esi
call fcn.100210a7
cmp eax, dword [ebp + 0xc]
pop eax
je 0x1003a2d0
add edi, 4
add eax, 2
dec ecx
jne 0x1003a216
call 0x1003a27d
loope 0x1003a273
invalid
sbb esi, ebx
mov edi, 0xdbead58c
js 0x1003a2cd
mov dh, 0xe8
or byte [eax], al
add byte [eax], al
mov bh, 0x24
lea eax, [edx + 0x53]
nop
mov dword [esi + 0x2308c483], ecx
sal byte [ecx], 0xc0
fsub st(7)
int 0xf
mov bh, 0
movzx eax, word [eax]
jmp 0x1003a2de
shl eax, 2
add eax, dword [ebx + 0x1c]
add eax, edx
mov eax, dword [eax]
add eax, edx
mov ebx, edx
add ebx, dword [edx + 0x3c]
mov ecx, dword [ebx + 0x7c]
mov ebx, dword [ebx + 0x78]
add ebx, edx
add ecx, ebx
cmp eax, ebx
jb 0x1003a291
cmp eax, ecx
ja 0x1003a291
mov esi, eax
lea edi, [ebp - 0x100]
mov al, byte [esi]
mov byte [edi], al
inc edi
inc esi
js 0x1003a31b
or ecx, ecx
xor dword [esp - 0x6b], eax
cmp al, 0x2e
jne 0x1003a311
lea edi, [ebp - 0x100]
push 0x100
push edi
push esi
call fcn.10021586
lea esp, [esp - 0x60]
mov dword [esp + 0x5c], edi
lea esp, [esp + 0x5c]
Function at 0x100025a0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.100096e0
mov eax, dword [0x1001d040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov bl, dl
push 0x100d
mov dword [ebp - 0x101c], eax
mov esi, ecx
lea eax, [ebp - 0x1018]
mov dword [ebp - 8], 0
push 0
push eax
call fcn.1000a480
add esp, 0xc
lea eax, [ebp - 0x1015]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
mov ecx, dword [ebp - 0x101c]
lea eax, [ebp - 0x1001]
push 0xff5
push eax
mov edx, edi
mov dword [ebp - 0x100d], esi
mov byte [ebp - 0x1016], bl
mov byte [ebp - 0xc], 0
call fcn.100016a0
add esp, 8
lea eax, [ebp - 0x1001]
cmp byte [ebp - 0x1001], 0
je 0x10002646
nop
inc eax
cmp byte [eax], 0
jne 0x10002630
lea ecx, [ebp - 0x1001]
cmp eax, ecx
jbe 0x10002646
cmp byte [eax - 1], 0xa
je 0x1000264a
mov byte [eax], 0xa
inc eax
mov byte [eax], 0
lea ecx, [ebp - 0x1018]
sub ax, cx
inc ax
push 0x1001e878
mov word [ebp - 0x1018], ax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea ecx, [ebp - 0x1015]
call fcn.10002490
test eax, eax
je 0x100026fd
mov esi, dword [sym.imp.KERNEL32.dll_WriteFile]
lea eax, [ebp - 8]
push 0
push eax
movzx eax, word [ebp - 0x1018]
push eax
lea eax, [ebp - 0x1018]
push eax
push dword [0x1001da70]
call esi
test eax, eax
jne 0x100026fd
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x1001e890], eax
cmp eax, 0x542
je 0x100026fd
mov eax, dword [0x1001da70]
cmp eax, 0xffffffff
je 0x100026d1
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x1001da70], 0xffffffff
lea ecx, [ebp - 0x1015]
call fcn.10002490
test eax, eax
je 0x100026fd
push 0
lea eax, [ebp - 8]
push eax
movzx eax, word [ebp - 0x1018]
push eax
lea eax, [ebp - 0x1018]
push eax
push dword [0x1001da70]
call esi
push 0x1001e878
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10008800
mov esp, ebp
pop ebp
ret
Function at 0x10002830
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x84
mov eax, dword [0x1001d040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
push 0xf8
push 0
push eax
mov esi, edx
mov dword [ebp - 0x84], eax
mov ebx, ecx
call fcn.1000a480
add esp, 0xc
mov dword [ebp - 0x24], 0
lea eax, [ebp - 0x3c]
add esi, 0x10000
xorps xmm0, xmm0
movups xmmword [ebp - 0x3c], xmm0
push 0x1c
push eax
push esi
push ebx
movq qword [ebp - 0x2c], xmm0
call dword [sym.imp.KERNEL32.dll_VirtualQueryEx]
test eax, eax
je 0x100029bd
mov edi, dword [sym.imp.KERNEL32.dll_SetLastError]
nop dword [eax + eax]
mov ecx, dword [ebp - 0x30]
mov eax, ecx
and eax, 0xfff
cmp eax, 0xfff
je 0x100029bd
mov eax, dword [ebp - 0x3c]
add eax, ecx
cmp eax, esi
jb 0x100029bd
cmp dword [ebp - 0x2c], 0x1000
jne 0x100029a1
cmp byte [ebp - 0x28], 1
je 0x100029a1
test dword [ebp - 0x28], 0x100
jne 0x100029a1
push 0xf8
push 0
push dword [ebp - 0x84]
call fcn.1000a480
add esp, 0xc
test esi, esi
jne 0x10002906
push 0x57
jmp 0x1000299f
push 0x1c
lea eax, [ebp - 0x20]
mov dword [ebp - 8], 0
push eax
xorps xmm0, xmm0
push esi
push ebx
movups xmmword [ebp - 0x20], xmm0
movq qword [ebp - 0x10], xmm0
call dword [sym.imp.KERNEL32.dll_VirtualQueryEx]
test eax, eax
je 0x100029a1
push 0
push 0x40
lea eax, [ebp - 0x80]
push eax
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x100029a1
mov eax, 0x5a4d
cmp word [ebp - 0x80], ax
jne 0x1000299a
mov eax, dword [ebp - 0x44]
cmp eax, dword [ebp - 0x14]
ja 0x1000299a
cmp eax, 0x40
jb 0x1000299a
push 0
push 0xf8
push dword [ebp - 0x84]
add eax, esi
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x100029a1
mov eax, dword [ebp - 0x84]
cmp dword [eax], 0x4550
jne 0x1000299a
mov eax, dword [ebp - 0x44]
add eax, esi
je 0x100029a1
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10008800
mov esp, ebp
pop ebp
ret
push 0xc1
call edi
mov esi, dword [ebp - 0x30]
lea eax, [ebp - 0x3c]
add esi, dword [ebp - 0x3c]
push 0x1c
push eax
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualQueryEx]
test eax, eax
jne 0x100028a0
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10008800
mov esp, ebp
pop ebp
ret
Function at 0x10003620
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c4
mov eax, dword [0x1001d040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x1c4], eax
test edi, edi
jne 0x10003662
push 6
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10008800
mov esp, ebp
pop ebp
ret 8
push 4
push 0x1000
push 0x830
push 0
push edi
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov esi, eax
test esi, esi
je 0x1000364d
push 0x40
lea eax, [ebp - 0xc8]
mov dword [ebp - 8], 0
push 0
push eax
call fcn.1000a480
mov ebx, dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
add esp, 0xc
mov eax, 0x5a4d
mov dword [ebp - 0x8c], 0x40
mov word [ebp - 0xc8], ax
lea eax, [ebp - 8]
push eax
push 0x40
lea eax, [ebp - 0xc8]
push eax
push esi
push edi
call ebx
test eax, eax
je 0x1000364d
cmp dword [ebp - 8], 0x40
jne 0x1000364d
push 0xf8
lea eax, [ebp - 0x1c0]
add esi, 0x40
push 0
push eax
call fcn.1000a480
add esp, 0xc
mov dword [ebp - 0x1c0], 0x4550
mov eax, 1
mov dword [ebp - 0x1ac], 0x200000e0
mov word [ebp - 0x1ba], ax
mov eax, 0x10b
mov word [ebp - 0x1a8], ax
lea eax, [ebp - 8]
push eax
push 0xf8
lea eax, [ebp - 0x1c0]
push eax
push esi
push edi
call ebx
test eax, eax
je 0x1000364d
cmp dword [ebp - 8], 0xf8
jne 0x1000364d
lea eax, [ebp - 8]
mov dword [ebp - 0x28], 0
push eax
push 0x28
lea eax, [ebp - 0x30]
mov dword [ebp - 0xc], 0
push eax
add esi, 0xf8
mov dword [ebp - 0x30], 0x7465642e
xorps xmm0, xmm0
mov dword [ebp - 0x2c], 0x72756f
push esi
push edi
movlpd qword [ebp - 0x1c], xmm0
movlpd qword [ebp - 0x14], xmm0
mov dword [ebp - 0x24], 0x160
mov dword [ebp - 0x20], 0x6d0
call ebx
test eax, eax
je 0x1000364d
cmp dword [ebp - 8], 0x28
jne 0x1000364d
lea eax, [ebp - 8]
mov dword [ebp - 0x70], 0x40
push eax
push 0x40
xorps xmm0, xmm0
mov dword [ebp - 0x6c], 0x727444
lea eax, [ebp - 0x70]
movlpd qword [ebp - 0x60], xmm0
push eax
add esi, 0x28
movlpd qword [ebp - 0x58], xmm0
push esi
push edi
movlpd qword [ebp - 0x50], xmm0
movlpd qword [ebp - 0x48], xmm0
movlpd qword [ebp - 0x40], xmm0
movlpd qword [ebp - 0x38], xmm0
mov dword [ebp - 0x68], 0x40
mov dword [ebp - 0x64], 0x6d0
call ebx
test eax, eax
je 0x1000364d
cmp dword [ebp - 8], 0x40
jne 0x1000364d
movups xmm0, xmmword [0x1001acf4]
lea eax, [ebp - 8]
mov dword [ebp - 0x88], 0x690
push eax
push 0x18
lea eax, [ebp - 0x88]
mov dword [ebp - 0x84], 0
push eax
add esi, 0x40
push esi
push edi
movups xmmword [ebp - 0x80], xmm0
call ebx
test eax, eax
je 0x1000364d
cmp dword [ebp - 8], 0x18
jne 0x1000364d
lea eax, [ebp - 8]
add esi, 0x18
push eax
push 0x678
push dword [ebp - 0x1c4]
push esi
push edi
call ebx
test eax, eax
je 0x1000364d
cmp dword [ebp - 8], 0x678
jne 0x1000364d
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10008800
mov esp, ebp
pop ebp
ret 8
Function at 0x10003890
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x1001e894]
sub esp, 0x10
push ebx
push esi
push edi
xor edi, edi
test eax, eax
jne 0x100038ae
mov esi, 0x26b1
jmp 0x1000398a
push dword [eax + 4]
push 0
push 0x1fffff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x10], eax
test eax, eax
jne 0x100038cf
mov esi, 0x26ad
jmp 0x10003971
mov eax, dword [0x1001e894]
mov ecx, 4
mov eax, dword [eax + 8]
mul ecx
mov ecx, 0xffffffff
cmovb eax, ecx
push eax
call fcn.10008944
mov ecx, dword [0x1001e894]
add esp, 4
mov dword [ebp - 4], eax
xor esi, esi
mov edx, dword [ecx]
mov eax, dword [ecx + 8]
sub edx, 0x10
mov dword [ebp - 0xc], edx
test eax, eax
je 0x1000394a
nop dword [eax]
lea ebx, [ecx + 0xc]
mov dword [ebp - 8], 0
lea eax, [ebp - 8]
add ebx, edi
push eax
sub edx, edi
mov ecx, ebx
call fcn.100027c0
test eax, eax
js 0x10003991
mov eax, dword [ebp - 4]
mov ecx, dword [0x1001e894]
mov edx, dword [ebp - 0xc]
mov dword [eax + esi*4], ebx
inc esi
mov eax, dword [ebp - 8]
inc eax
add edi, eax
mov eax, dword [ecx + 8]
cmp esi, eax
jb 0x10003910
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 0x10]
push eax
call fcn.10003190
neg eax
sbb esi, esi
and esi, 0xffffd951
add esi, 0x26af
push dword [ebp - 4]
call fcn.1000893f
add esp, 4
mov ecx, dword [0x1001e894]
test ecx, ecx
je 0x1000398a
call fcn.100075f0
mov dword [0x1001e894], 0
push esi
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov esi, 0x26ae
jmp 0x10003966

Function at 0x100039a0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x1001b628
push 0x10009b00
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x1001d040]
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 dword [ebp - 0x18], esp
mov edi, edx
push 0x1c
lea eax, [ebp - 0x38]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
mov dword [ebp - 4], 0
mov eax, 0x5a4d
mov ecx, dword [ebp - 0x34]
cmp word [ecx], ax
jne 0x10003a43
mov edx, dword [ecx + 0x3c]
cmp dword [edx + ecx], 0x4550
jne 0x10003a43
mov esi, dword [edx + ecx + 0xd8]
lea eax, [esi + ecx]
cmp edi, eax
jb 0x10003a43
mov eax, dword [edx + ecx + 0xdc]
add eax, esi
add eax, ecx
cmp edi, eax
jae 0x10003a43
mov dword [ebp - 4], 0xfffffffe
mov al, 1
jmp 0x10003a4c
mov dword [ebp - 4], 0xfffffffe
xor al, al
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.10008800
mov esp, ebp
pop ebp
ret
Function at 0x10003cd0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x1001d040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
mov ebx, edx
push edi
lea ecx, [esi - 0x10000]
movzx eax, cx
mov edi, ecx
sub edi, eax
test eax, eax
cmove edi, ecx
cmp edi, ebx
jbe 0x10003d99
lea eax, [edi - 0x70000000]
cmp eax, 0x10000000
ja 0x10003d16
sub edi, 0x8000000
jmp 0x10003d91
push 0x1c
lea eax, [ebp - 0x20]
mov dword [ebp - 8], 0
xorps xmm0, xmm0
push eax
push edi
movups xmmword [ebp - 0x20], xmm0
movq qword [ebp - 0x10], xmm0
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x10003d99
cmp dword [ebp - 0x10], 0x10000
jne 0x10003d7c
cmp dword [ebp - 0x14], 0x10000
jb 0x10003d7c
push 0x40
push 0x3000
push 0x10000
push edi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
test eax, eax
jne 0x10003e54
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x677
je 0x10003d99
sub edi, 0x10000
jmp 0x10003d91
mov ecx, dword [ebp - 0x1c]
add ecx, 0xffff0000
mov edi, ecx
movzx eax, di
sub edi, eax
test eax, eax
cmove edi, ecx
cmp edi, ebx
ja 0x10003d01
movzx eax, si
test eax, eax
je 0x10003da8
sub esi, eax
add esi, 0x10000
mov edi, dword [ebp + 8]
cmp esi, edi
jae 0x10003e52
mov ebx, dword [sym.imp.KERNEL32.dll_VirtualQuery]
nop dword [eax]
lea eax, [esi - 0x70000000]
cmp eax, 0x10000000
ja 0x10003dd5
add esi, 0x8000000
jmp 0x10003e4a
push 0x1c
lea eax, [ebp - 0x20]
mov dword [ebp - 8], 0
xorps xmm0, xmm0
push eax
push esi
movups xmmword [ebp - 0x20], xmm0
movq qword [ebp - 0x10], xmm0
call ebx
test eax, eax
je 0x10003e52
cmp dword [ebp - 0x10], 0x10000
mov ecx, dword [ebp - 0x14]
jne 0x10003e35
cmp ecx, 0x10000
jb 0x10003e35
push 0x40
push 0x3000
push 0x10000
push esi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
test eax, eax
jne 0x10003e54
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x677
je 0x10003e52
add esi, 0x10000
jmp 0x10003e4a
mov esi, dword [ebp - 0x20]
add esi, ecx
movzx ecx, si
test ecx, ecx
je 0x10003e4a
mov eax, 0x10000
sub eax, ecx
add esi, eax
cmp esi, edi
jb 0x10003dc0
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10008800
mov esp, ebp
pop ebp
ret
Function at 0x10003e70
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x1001d040]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x1001e8a0], 0
jne 0x10003ef9
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ecx, eax
mov edx, 0x1001e8a0
xor eax, eax
lock cmpxchg dword [edx], ecx
test eax, eax
jne 0x10003ef9
push esi
mov esi, dword [0x1001e8ac]
mov dword [0x1001e8b4], eax
mov dword [0x1001e8b0], eax
mov dword [0x1001e8a8], eax
push edi
test esi, esi
je 0x10003eda
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 8]
push eax
push 0x40
push 0x10000
push esi
call edi
test eax, eax
je 0x10003ef1
mov esi, dword [esi + 4]
test esi, esi
jne 0x10003ec1
xor eax, eax
pop edi
mov dword [0x1001e89c], eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10008800
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x10003edc
mov ecx, dword [ebp - 4]
mov eax, 0x10dd
xor ecx, ebp
call fcn.10008800
mov esp, ebp
pop ebp
ret
Function at 0x10004370
Capabilities:
Suspend thread

Disassembly:
mov eax, dword [0x1001e89c]
push esi
mov esi, ecx
test eax, eax
jne 0x100043de
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
cmp esi, eax
jne 0x1000438a
xor eax, eax
pop esi
ret
push edi
push 8
call fcn.1000894d
add esp, 4
mov edi, eax
push esi
call dword [sym.imp.KERNEL32.dll_SuspendThread]
cmp eax, 0xffffffff
jne 0x100043cb
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
push 8
push edi
call fcn.10008931
add esp, 8
mov dword [0x1001e89c], esi
mov eax, esi
mov dword [0x1001e8a8], 0
pop edi
pop esi
ret
mov eax, dword [0x1001e8b0]
mov dword [edi], eax
xor eax, eax
mov dword [edi + 4], esi
mov dword [0x1001e8b0], edi
pop edi
pop esi
ret