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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
pushal
call 0x10003b19
pop dword [ebp - 0x10]
mov eax, 0x700755ed
add eax, 0x9ff8e52c
sub dword [ebp - 0x10], eax
mov dword [ebp - 0x20], 0x314f7964
add dword [ebp - 0x20], 0x1d02cbe7
mov dword [ebp - 0x1c], 0xdba3a646
add dword [ebp - 0x1c], 0x568fa5ff
mov dword [ebp - 0x18], 0xff04da7d
add dword [ebp - 0x18], 0x4d4769b1
mov dword [ebp - 0x14], 0x9178fb77
add dword [ebp - 0x14], 0x6e870489
lea eax, [ebp - 0x20]
push eax
mov eax, 0xb8336a80
add eax, 0x57cd6600
add eax, dword [ebp - 0x10]
call dword [eax]
mov dword [ebp - 0x20], 0xef146bb6
sub dword [ebp - 0x20], 0x7aa20260
mov dword [ebp - 0x1c], 0xe605b8c3
add dword [ebp - 0x1c], 0x5b66a8b2
mov dword [ebp - 0x18], 0x511649f6
add dword [ebp - 0x18], 0x12592276
mov dword [ebp - 0x14], 0x5c88bcc2
add dword [ebp - 0x14], 0xa377433e
lea ebx, [ebp - 0x20]
push ebx
push eax
mov eax, 0x171c1e9
sub eax, 0xf170f171
add eax, dword [ebp - 0x10]
call dword [eax]
push 0x40
push 0x1000
push 0x34075
push 0
call eax
mov ecx, 0xd355ef1c
add ecx, 0x2caa4802
mov esi, eax
mov edx, 0xe58a63ee
add edx, 0x2a775012
add edx, dword [ebp - 0x10]
mov ebx, 0x920e2a3
sub ebx, 0xea15d5ef
xor dword [ebp - 8], 0x1e2e242
mov edi, dword [edx]
sub dword [ebp - 0xc], 0x278aaaf3
xor edi, ebx
add dword [ebp - 0xc], 0x544a820b
mov dword [esi], edi
sub dword [ebp - 0xc], ebx
add esi, 4
add edx, 4
loop 0x10003c3b
add eax, 0xf34e440c
sub eax, 0xf34d74c1
mov ebx, eax
add eax, 0xa2d69234
add eax, 0x5d296dd1
mov ecx, 0xa7e4aab1
add ecx, 0x681b554f
add ecx, dword [ebp - 0x10]
call ebx
leave
ret

Function at 0x10009670
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
mov eax, dword [esi + 0xc]
sub eax, dword [esi + 4]
cmp eax, 0x1a
jl 0x100096c8
mov eax, dword [esi + 8]
cmp eax, dword [esi]
jl 0x100096c8
push 0
push dword [edi + 0x18]
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esi + 0xc]
sub eax, dword [esi + 4]
push 0x10
push eax
mov eax, dword [esi + 8]
sub eax, dword [esi]
push eax
push dword [esi + 4]
push dword [esi]
push 0
push dword [edi + 0x18]
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, edi
call fcn.10003b0a
push 1
push dword [edi + 0x18]
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
pop esi
pop ebp
ret 4

Function at 0x10009c50
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 8]
push dword [ebp + 0xc]
push 0xd
push dword [ecx + 0x38]
call dword [sym.imp.USER32.dll_SendMessageA]
pop ebp
ret 8
Function at 0x4172d8
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x425458]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.00408115
mov dword [ebp - 0x14], eax
cmp dword [0x44e6c8], esi
jne 0x4173cb
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x417358
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x4174ab
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x4174ab
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4174ab
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x44e6c8], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x44e6cc], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x44e6d0], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x44e6d8], eax
test eax, eax
je 0x4173c8
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x44e6d4], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x4173f0
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x4173e3
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x417405
push 4
pop eax
jmp 0x4174ad
cmp dword [ebp - 0x14], esi
je 0x417405
push dword [0x44e6c8]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x4173ea
mov eax, dword [0x44e6d4]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x417463
cmp dword [0x44e6d8], edi
je 0x417463
push eax
call ebx
push dword [0x44e6d8]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x417463
test eax, eax
je 0x417463
call ecx
test eax, eax
je 0x417458
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x417458
test byte [ebp - 8], 1
jne 0x417463
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x417493
mov eax, dword [0x44e6cc]
cmp eax, edi
je 0x417490
push eax
call ebx
test eax, eax
je 0x417490
call eax
mov esi, eax
test esi, esi
je 0x417490
mov eax, dword [0x44e6d0]
cmp eax, edi
je 0x417490
push eax
call ebx
test eax, eax
je 0x417490
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x44e6c8]
call ebx
test eax, eax
je 0x4174ab
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x4174ad
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004070bf
mov esp, ebp
pop ebp
ret
Function at 0x425e50
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x19000]
push edi
jmp 0x425e6a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x425e71
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x425e60
mov eax, 1
add ebx, ebx
jne 0x425e83
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x425e78
jne 0x425e94
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x425e78
xor ecx, ecx
sub eax, 3
jb 0x425ea8
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x425f1a
mov ebp, eax
add ebx, ebx
jne 0x425eb3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x425ec0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x425ee4
inc ecx
add ebx, ebx
jne 0x425ed0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x425ec5
jne 0x425ee1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x425ec5
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x425f04
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x425ef5
jmp 0x425e66
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x425f04
add edi, ecx
jmp 0x425e66
pop esi
mov edi, esi
mov ecx, 0x91a
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x425f22
cmp byte [edi], 9
jne 0x425f22
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x425f27
lea edi, [esi + 0x23000]
mov eax, dword [edi]
or eax, eax
je 0x425f9f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x2c37c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x2c444]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x425f54
mov ecx, edi
jns 0x425f83
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x2c448]
or eax, eax
je 0x425f99
mov dword [ebx], eax
add ebx, 4
jmp 0x425f71
call dword [esi + 0x2c458]
mov ebp, dword [esi + 0x2c44c]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x17f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x425fd3
sub esp, 0xffffff80
jmp 0x41382f
Function at 0x100025d0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.10009580
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.1000a330
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 0x10002676
nop
inc eax
cmp byte [eax], 0
jne 0x10002660
lea ecx, [ebp - 0x1001]
cmp eax, ecx
jbe 0x10002676
cmp byte [eax - 1], 0xa
je 0x1000267a
mov byte [eax], 0xa
inc eax
mov byte [eax], 0
lea ecx, [ebp - 0x1018]
sub ax, cx
inc ax
push 0x1001e870
mov word [ebp - 0x1018], ax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea ecx, [ebp - 0x1015]
call fcn.100024c0
test eax, eax
je 0x1000272d
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 0x1000272d
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x1001e888], eax
cmp eax, 0x542
je 0x1000272d
mov eax, dword [0x1001da70]
cmp eax, 0xffffffff
je 0x10002701
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x1001da70], 0xffffffff
lea ecx, [ebp - 0x1015]
call fcn.100024c0
test eax, eax
je 0x1000272d
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 0x1001e870
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100087ff
mov esp, ebp
pop ebp
ret
Function at 0x10002860
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.1000a330
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 0x100029ed
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 0x100029ed
mov eax, dword [ebp - 0x3c]
add eax, ecx
cmp eax, esi
jb 0x100029ed
cmp dword [ebp - 0x2c], 0x1000
jne 0x100029d1
cmp byte [ebp - 0x28], 1
je 0x100029d1
test dword [ebp - 0x28], 0x100
jne 0x100029d1
push 0xf8
push 0
push dword [ebp - 0x84]
call fcn.1000a330
add esp, 0xc
test esi, esi
jne 0x10002936
push 0x57
jmp 0x100029cf
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 0x100029d1
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 0x100029d1
mov eax, 0x5a4d
cmp word [ebp - 0x80], ax
jne 0x100029ca
mov eax, dword [ebp - 0x44]
cmp eax, dword [ebp - 0x14]
ja 0x100029ca
cmp eax, 0x40
jb 0x100029ca
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 0x100029d1
mov eax, dword [ebp - 0x84]
cmp dword [eax], 0x4550
jne 0x100029ca
mov eax, dword [ebp - 0x44]
add eax, esi
je 0x100029d1
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100087ff
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 0x100028d0
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100087ff
mov esp, ebp
pop ebp
ret
Function at 0x10003630
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 0x10003672
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.100087ff
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 0x1000365d
push 0x40
lea eax, [ebp - 0xc8]
mov dword [ebp - 8], 0
push 0
push eax
call fcn.1000a330
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 0x1000365d
cmp dword [ebp - 8], 0x40
jne 0x1000365d
push 0xf8
lea eax, [ebp - 0x1c0]
add esi, 0x40
push 0
push eax
call fcn.1000a330
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 0x1000365d
cmp dword [ebp - 8], 0xf8
jne 0x1000365d
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 0x1000365d
cmp dword [ebp - 8], 0x28
jne 0x1000365d
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 0x1000365d
cmp dword [ebp - 8], 0x40
jne 0x1000365d
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 0x1000365d
cmp dword [ebp - 8], 0x18
jne 0x1000365d
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 0x1000365d
cmp dword [ebp - 8], 0x678
jne 0x1000365d
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.100087ff
mov esp, ebp
pop ebp
ret 8
Function at 0x100038a0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x1001e88c]
sub esp, 0x10
push ebx
push esi
push edi
xor edi, edi
test eax, eax
jne 0x100038be
mov esi, 0x26b1
jmp 0x1000399a
push dword [eax + 4]
push 0
push 0x1fffff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x10], eax
test eax, eax
jne 0x100038df
mov esi, 0x26ad
jmp 0x10003981
mov eax, dword [0x1001e88c]
xor ecx, ecx
mov edx, 4
mov eax, dword [eax + 8]
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.10008942
mov ecx, dword [0x1001e88c]
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 0x1000395a
nop word [eax + 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.100027f0
test eax, eax
js 0x100039a1
mov eax, dword [ebp - 4]
mov ecx, dword [0x1001e88c]
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 0x10003920
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 0x10]
push eax
call fcn.100031a0
neg eax
sbb esi, esi
and esi, 0xffffd951
add esi, 0x26af
push dword [ebp - 4]
call fcn.1000893d
add esp, 4
mov ecx, dword [0x1001e88c]
test ecx, ecx
je 0x1000399a
call fcn.100075f0
mov dword [0x1001e88c], 0
push esi
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov esi, 0x26ae
jmp 0x10003976

Function at 0x100039b0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x1001b618
push 0x100099a0
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 0x10003a53
mov edx, dword [ecx + 0x3c]
cmp dword [edx + ecx], 0x4550
jne 0x10003a53
mov esi, dword [edx + ecx + 0xd8]
lea eax, [esi + ecx]
cmp edi, eax
jb 0x10003a53
mov eax, dword [edx + ecx + 0xdc]
add eax, esi
add eax, ecx
cmp edi, eax
jae 0x10003a53
mov dword [ebp - 4], 0xfffffffe
mov al, 1
jmp 0x10003a5c
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.100087ff
mov esp, ebp
pop ebp
ret
Function at 0x10003d00
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 0x10003dc9
lea eax, [edi - 0x70000000]
cmp eax, 0x10000000
ja 0x10003d46
sub edi, 0x8000000
jmp 0x10003dc1
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 0x10003dc9
cmp dword [ebp - 0x10], 0x10000
jne 0x10003dac
cmp dword [ebp - 0x14], 0x10000
jb 0x10003dac
push 0x40
push 0x3000
push 0x10000
push edi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
test eax, eax
jne 0x10003e84
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x677
je 0x10003dc9
sub edi, 0x10000
jmp 0x10003dc1
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 0x10003d31
movzx eax, si
test eax, eax
je 0x10003dd8
sub esi, eax
add esi, 0x10000
mov edi, dword [ebp + 8]
cmp esi, edi
jae 0x10003e82
mov ebx, dword [sym.imp.KERNEL32.dll_VirtualQuery]
nop dword [eax]
lea eax, [esi - 0x70000000]
cmp eax, 0x10000000
ja 0x10003e05
add esi, 0x8000000
jmp 0x10003e7a
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 0x10003e82
cmp dword [ebp - 0x10], 0x10000
mov ecx, dword [ebp - 0x14]
jne 0x10003e65
cmp ecx, 0x10000
jb 0x10003e65
push 0x40
push 0x3000
push 0x10000
push esi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
test eax, eax
jne 0x10003e84
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x677
je 0x10003e82
add esi, 0x10000
jmp 0x10003e7a
mov esi, dword [ebp - 0x20]
add esi, ecx
movzx ecx, si
test ecx, ecx
je 0x10003e7a
mov eax, 0x10000
sub eax, ecx
add esi, eax
cmp esi, edi
jb 0x10003df0
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100087ff
mov esp, ebp
pop ebp
ret
Function at 0x10003ea0
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 [0x1001e898], 0
jne 0x10003f29
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ecx, eax
mov edx, 0x1001e898
xor eax, eax
lock cmpxchg dword [edx], ecx
test eax, eax
jne 0x10003f29
push esi
mov esi, dword [0x1001e8a4]
mov dword [0x1001e8ac], eax
mov dword [0x1001e8a8], eax
mov dword [0x1001e8a0], eax
push edi
test esi, esi
je 0x10003f0a
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 0x10003f21
mov esi, dword [esi + 4]
test esi, esi
jne 0x10003ef1
xor eax, eax
pop edi
mov dword [0x1001e894], eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100087ff
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x10003f0c
mov ecx, dword [ebp - 4]
mov eax, 0x10dd
xor ecx, ebp
call fcn.100087ff
mov esp, ebp
pop ebp
ret
Function at 0x100043a0
Capabilities:
Suspend thread

Disassembly:
mov eax, dword [0x1001e894]
push esi
mov esi, ecx
test eax, eax
jne 0x1000440e
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
cmp esi, eax
jne 0x100043ba
xor eax, eax
pop esi
ret
push edi
push 8
call fcn.1000894b
add esp, 4
mov edi, eax
push esi
call dword [sym.imp.KERNEL32.dll_SuspendThread]
cmp eax, 0xffffffff
jne 0x100043fb
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
push 8
push edi
call fcn.1000892f
add esp, 8
mov dword [0x1001e894], esi
mov eax, esi
mov dword [0x1001e8a0], 0
pop edi
pop esi
ret
mov eax, dword [0x1001e8a8]
mov dword [edi], eax
xor eax, eax
mov dword [edi + 4], esi
mov dword [0x1001e8a8], edi
pop edi
pop esi
ret
Function at 0x10007150
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x1001b638
push 0x100099a0
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
lea esi, [ecx + 0x10000]
xorps xmm0, xmm0
movups xmmword [ebp - 0x38], xmm0
movq qword [ebp - 0x28], xmm0
mov dword [ebp - 0x20], 0
mov edi, 0x5a4d
push 0x1c
lea eax, [ebp - 0x38]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
jne 0x100071d1
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.100087ff
mov esp, ebp
pop ebp
ret
cmp dword [ebp - 0x28], 0x1000
jne 0x1000724f
cmp byte [ebp - 0x24], 1
je 0x1000724f
test dword [ebp - 0x24], 0x100
jne 0x1000724f
mov dword [ebp - 4], 0
cmp word [esi], di
jne 0x1000720b
mov eax, dword [esi + 0x3c]
cmp eax, dword [ebp - 0x2c]
ja 0x1000720b
cmp eax, 0x40
jb 0x1000720b
cmp dword [eax + esi], 0x4550
je 0x1000721a
mov dword [ebp - 4], 0xfffffffe
mov esi, dword [ebp - 0x2c]
add esi, dword [ebp - 0x38]
jmp 0x100071a4
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov dword [ebp - 4], 0xfffffffe
mov eax, esi
jmp 0x100071b5
mov esi, dword [ebp - 0x2c]
add esi, dword [ebp - 0x38]
jmp 0x100071a4