joyce8/EMBER2024-capa huggingface dataset:
Function at 0x404c70
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x16c
mov eax, dword [0x43a008]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x104
lea eax, [ebp - 0x108]
mov esi, ecx
push eax
push 0
call dword [0x4300d0]
mov eax, 0x5a4d
cmp word [esi], ax
jne 0x404e8d
mov edi, dword [esi + 0x3c]
add edi, esi
cmp dword [edi], 0x4550
jne 0x404e8d
push 0x44
lea eax, [ebp - 0x14c]
push 0
push eax
call fcn.0041aa10
add esp, 0xc
lea eax, [ebp - 0x160]
xorps xmm0, xmm0
movups xmmword [ebp - 0x160], xmm0
push eax
lea eax, [ebp - 0x14c]
push eax
push 0
push 0
push 4
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x108]
push eax
call dword [0x43007c]
test eax, eax
je 0x404e8d
push 4
push 0x1000
push 4
push 0
call dword [0x4300bc]
mov ebx, eax
push ebx
mov dword [ebp - 0x16c], ebx
mov dword [ebx], 0x10007
push dword [ebp - 0x15c]
call dword [0x430060]
test eax, eax
je 0x404e8d
push 0
push 4
lea eax, [ebp - 0x150]
push eax
push 0x435ecc
push dword [ebp - 0x160]
call dword [0x430074]
mov eax, dword [edi + 0x34]
cmp dword [ebp - 0x150], eax
jne 0x404d8c
push 0x435ed0
push 0x435ee8
call dword [0x4300a4]
push eax
call dword [0x430064]
push dword [ebp - 0x150]
push dword [ebp - 0x160]
call eax
mov eax, dword [edi + 0x34]
push 0x40
push 0x3000
push dword [edi + 0x50]
push eax
push dword [ebp - 0x160]
call dword [0x430068]
mov dword [ebp - 0x168], eax
test eax, eax
je 0x404e8d
push 0
push dword [edi + 0x54]
push esi
push eax
push dword [ebp - 0x160]
call dword [0x4300cc]
xor eax, eax
mov dword [ebp - 0x164], 0
cmp ax, word [edi + 6]
jae 0x404e26
xor ebx, ebx
lea ecx, [ebx + esi]
add ecx, dword [esi + 0x3c]
push 0
push dword [ecx + 0x108]
mov eax, dword [ecx + 0x10c]
add eax, esi
push eax
mov eax, dword [ecx + 0x104]
add eax, dword [ebp - 0x168]
push eax
push dword [ebp - 0x160]
call dword [0x4300cc]
mov ecx, dword [ebp - 0x164]
lea ebx, [ebx + 0x28]
movzx eax, word [edi + 6]
inc ecx
mov dword [ebp - 0x164], ecx
cmp ecx, eax
jl 0x404dd8
mov ebx, dword [ebp - 0x16c]
push 0
push 4
lea eax, [edi + 0x34]
push eax
mov eax, dword [ebx + 0xa4]
add eax, 8
push eax
push dword [ebp - 0x160]
call dword [0x4300cc]
mov eax, dword [edi + 0x28]
add eax, dword [ebp - 0x168]
push ebx
mov dword [ebx + 0xb0], eax
push dword [ebp - 0x15c]
call dword [0x430084]
push dword [ebp - 0x15c]
call dword [0x4300a8]
push 0x8000
push 0
push esi
call dword [0x4300c4]
pop edi
pop esi
mov al, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00419532
mov esp, ebp
pop ebp
ret
push 0x8000
push 0
push esi
call dword [0x4300c4]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00419532
mov esp, ebp
pop ebp
ret
Function at 0x409320
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42a6c0
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x43a008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x43b194
lea ecx, [ebp - 0x40]
call fcn.00417e00
mov dword [ebp - 4], 0
xor edx, edx
mov ecx, 7
mov dword [ebp - 0x18], edx
xor eax, eax
mov dword [ebp - 0x14], ecx
mov word [ebp - 0x28], ax
mov byte [ebp - 4], 1
xor esi, esi
mov ebx, dword [ebp - 0x40]
cmp dword [ebp - 0x30], esi
jbe 0x4093d2
cmp dword [ebp - 0x2c], 0x10
lea eax, [ebp - 0x40]
cmovae eax, ebx
movsx ax, byte [eax + esi]
movzx edi, ax
cmp edx, ecx
jae 0x4093b3
lea eax, [edx + 1]
cmp ecx, 8
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
xor ecx, ecx
mov word [eax + edx*2], di
mov word [eax + edx*2 + 2], cx
jmp 0x4093c4
push edi
mov byte [ebp - 0x44], 0
push dword [ebp - 0x44]
push ecx
lea ecx, [ebp - 0x28]
call fcn.00418dc0
mov ecx, dword [ebp - 0x14]
inc esi
cmp esi, dword [ebp - 0x30]
jae 0x4093d2
mov edx, dword [ebp - 0x18]
jmp 0x409380
cmp ecx, 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
push 0
push 0
call dword [0x4300b8]
call dword [0x430044]
cmp eax, 0xb7
je 0x40948d
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x40942e
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x409424
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x409494
push edx
push ecx
call fcn.004199bf
add esp, 8
xor eax, eax
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x14], 7
cmp eax, 0x10
jb 0x409471
lea ecx, [eax + 1]
mov eax, ebx
cmp ecx, 0x1000
jb 0x409467
mov ebx, dword [ebx - 4]
add ecx, 0x23
sub eax, ebx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x409494
push ecx
push ebx
call fcn.004199bf
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00419532
mov esp, ebp
pop ebp
ret
push 0
call fcn.0041cddf
call fcn.0041e01c
int3
Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
nop
nop
push 4
nop
nop
nop
nop
nop
nop
pop edi
cmp eax, 0
nop
nop
nop
nop
nop
je 0x433072
nop
nop
mov ebx, 0x40de38
nop
nop
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
div edi
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
mov esi, 0x38b2738d
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x433060
mov eax, section..data
nop
nop
nop
nop
cmp eax, 0
nop
nop
je 0x4330d2
nop
nop
mov ebx, 0x4304d8
nop
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x3d7346ec
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
loop 0x4330c0
nop
nop
nop
nop
nop
popal
nop
jmp 0x431219
Function at 0x407f80
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x6000]
push edi
or ebp, 0xffffffff
jmp 0x407fa2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x407fa9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x407f98
mov eax, 1
add ebx, ebx
jne 0x407fbb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x407fb0
jne 0x407fcc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407fb0
xor ecx, ecx
sub eax, 3
jb 0x407fe0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x408052
mov ebp, eax
add ebx, ebx
jne 0x407feb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x407ff8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x40801c
inc ecx
add ebx, ebx
jne 0x408008
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x407ffd
jne 0x408019
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407ffd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x40803c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x40802d
jmp 0x407f9e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x40803c
add edi, ecx
jmp 0x407f9e
pop esi
mov edi, esi
mov ecx, 0x8f
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x40805a
cmp byte [edi], 0
jne 0x40805a
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 0x40805f
lea edi, [esi + 0x5000]
mov eax, dword [edi]
or eax, eax
je 0x4080d7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x8d64]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x8ddc]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x40808c
mov ecx, edi
jns 0x4080bb
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 + 0x8de4]
or eax, eax
je 0x4080d1
mov dword [ebx], eax
add ebx, 4
jmp 0x4080a9
call dword [esi + 0x8de0]
mov ebp, dword [esi + 0x8de8]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x217]
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 0x40810b
sub esp, 0xffffff80
jmp 0x402130

Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
nop
nop
nop
nop
nop
pop eax
add eax, 0x403d6f
nop
sub eax, 0x403d15
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
xor dword [ebx], edx
add ebx, 4
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
jl 0x430030
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43001e
nop
nop
nop
nop
nop
popal
nop
jmp fcn.00401219
Function at 0x10001740
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ebp + 0xc]
sub eax, 0x10000
push eax
call fcn.10001910
add esp, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 8]
jbe 0x1000181d
mov edx, dword [ebp - 4]
cmp edx, dword [0x1001a028]
jb 0x1000178a
mov eax, dword [ebp - 4]
cmp eax, dword [0x1001a02c]
ja 0x1000178a
mov ecx, dword [ebp - 4]
sub ecx, 0x8000000
mov dword [ebp - 4], ecx
jmp 0x1000175a
push 0x1c
push 0
lea edx, [ebp - 0x24]
push edx
call fcn.100078e0
add esp, 0xc
push 0x1c
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp - 4]
push ecx
call sub.KERNEL32.dll_VirtualQuery
test eax, eax
jne 0x100017af
jmp 0x1000181d
cmp dword [ebp - 0x14], 0x10000
jne 0x10001803
cmp dword [ebp - 0x18], 0x10000
jb 0x10001803
push 0x40
push 0x3000
push 0x10000
mov edx, dword [ebp - 4]
push edx
call sub.KERNEL32.dll_VirtualAlloc
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x100017e6
mov eax, dword [ebp - 8]
jmp 0x1000181f
call sub.KERNEL32.dll_GetLastError
cmp eax, 0x677
jne 0x100017f6
xor eax, eax
jmp 0x1000181f
mov eax, dword [ebp - 4]
sub eax, 0x10000
mov dword [ebp - 4], eax
jmp 0x10001818
mov ecx, dword [ebp - 0x20]
sub ecx, 0x10000
push ecx
call fcn.10001910
add esp, 4
mov dword [ebp - 4], eax
jmp 0x1000175a
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x10001830
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ebp + 8]
push eax
call fcn.10001940
add esp, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 0xc]
jae 0x10001905
mov edx, dword [ebp - 4]
cmp edx, dword [0x1001a028]
jb 0x10001875
mov eax, dword [ebp - 4]
cmp eax, dword [0x1001a02c]
ja 0x10001875
mov ecx, dword [ebp - 4]
add ecx, 0x8000000
mov dword [ebp - 4], ecx
jmp 0x10001845
push 0x1c
push 0
lea edx, [ebp - 0x24]
push edx
call fcn.100078e0
add esp, 0xc
push 0x1c
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp - 4]
push ecx
call sub.KERNEL32.dll_VirtualQuery
test eax, eax
jne 0x1000189a
jmp 0x10001905
cmp dword [ebp - 0x14], 0x10000
jne 0x100018ee
cmp dword [ebp - 0x18], 0x10000
jb 0x100018ee
push 0x40
push 0x3000
push 0x10000
mov edx, dword [ebp - 4]
push edx
call sub.KERNEL32.dll_VirtualAlloc
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x100018d1
mov eax, dword [ebp - 8]
jmp 0x10001907
call sub.KERNEL32.dll_GetLastError
cmp eax, 0x677
jne 0x100018e1
xor eax, eax
jmp 0x10001907
mov eax, dword [ebp - 4]
add eax, 0x10000
mov dword [ebp - 4], eax
jmp 0x10001900
mov ecx, dword [ebp - 0x24]
add ecx, dword [ebp - 0x18]
push ecx
call fcn.10001940
add esp, 4
mov dword [ebp - 4], eax
jmp 0x10001845
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x10001970
Capabilities:
Hook routines via microsoft detours

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
lea eax, [ebp - 0xc]
push eax
lea ecx, [ebp - 0x10]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.10001d60
add esp, 0xc
mov dword [ebp - 4], 0
cmp dword [0x1001a9a8], 0
jne 0x100019ad
cmp dword [0x1001a9a4], 0
je 0x100019ad
mov eax, dword [0x1001a9a4]
mov dword [0x1001a9a8], eax
cmp dword [0x1001a9a8], 0
je 0x10001a2a
mov ecx, dword [0x1001a9a8]
cmp dword [ecx + 8], 0
je 0x10001a2a
mov edx, dword [0x1001a9a8]
mov eax, dword [edx + 8]
cmp eax, dword [ebp - 0x10]
jb 0x10001a2a
mov ecx, dword [0x1001a9a8]
mov edx, dword [ecx + 8]
cmp edx, dword [ebp - 0xc]
ja 0x10001a2a
mov eax, dword [0x1001a9a8]
mov ecx, dword [eax + 8]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
cmp edx, dword [ebp - 0x10]
jb 0x100019f9
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 0xc]
jbe 0x10001a00
xor eax, eax
jmp 0x10001b49
mov ecx, dword [0x1001a9a8]
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x40]
mov dword [ecx + 8], eax
push 0x48
push 0xcc
mov ecx, dword [ebp - 4]
push ecx
call fcn.100078e0
add esp, 0xc
mov eax, dword [ebp - 4]
jmp 0x10001b49
mov edx, dword [0x1001a9a4]
mov dword [0x1001a9a8], edx
jmp 0x10001a46
mov eax, dword [0x1001a9a8]
mov ecx, dword [eax + 4]
mov dword [0x1001a9a8], ecx
cmp dword [0x1001a9a8], 0
je 0x10001a86
cmp dword [0x1001a9a8], 0
je 0x10001a84
mov edx, dword [0x1001a9a8]
cmp dword [edx + 8], 0
je 0x10001a84
mov eax, dword [0x1001a9a8]
mov ecx, dword [eax + 8]
cmp ecx, dword [ebp - 0x10]
jb 0x10001a84
mov edx, dword [0x1001a9a8]
mov eax, dword [edx + 8]
cmp eax, dword [ebp - 0xc]
ja 0x10001a84
jmp 0x100019de
jmp 0x10001a38
mov ecx, dword [ebp + 8]
and ecx, 0xffff
mov edx, dword [ebp + 8]
sub edx, ecx
mov dword [ebp + 8], edx
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.10001b50
add esp, 0xc
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x10001b47
mov eax, dword [ebp - 0x18]
mov dword [0x1001a9a8], eax
mov ecx, dword [0x1001a9a8]
mov dword [ecx], 0x52727464
mov edx, dword [0x1001a9a8]
mov dword [edx + 8], 0
mov eax, dword [0x1001a9a8]
mov ecx, dword [0x1001a9a4]
mov dword [eax + 4], ecx
mov edx, dword [0x1001a9a8]
mov dword [0x1001a9a4], edx
mov dword [ebp - 0x14], 0
mov eax, dword [0x1001a9a8]
add eax, 0x48
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0x38c
jmp 0x10001b17
mov ecx, dword [ebp - 8]
sub ecx, 1
mov dword [ebp - 8], ecx
cmp dword [ebp - 8], 1
jle 0x10001b37
imul edx, dword [ebp - 8], 0x48
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x14]
mov dword [eax + edx + 0x40], ecx
imul edx, dword [ebp - 8], 0x48
add edx, dword [ebp - 4]
mov dword [ebp - 0x14], edx
jmp 0x10001b0e
mov eax, dword [0x1001a9a8]
mov ecx, dword [ebp - 0x14]
mov dword [eax + 8], ecx
jmp 0x100019de
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x100028e0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x1001a9a4]
mov dword [ebp - 4], eax
jmp 0x100028f9
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 4]
mov dword [ebp - 4], edx
cmp dword [ebp - 4], 0
je 0x10002920
lea eax, [ebp - 8]
push eax
push 0x40
push 0x10000
mov ecx, dword [ebp - 4]
push ecx
call sub.KERNEL32.dll_VirtualProtect
test eax, eax
jne 0x1000291e
call sub.KERNEL32.dll_GetLastError
jmp 0x10002922
jmp 0x100028f0
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x10002f70
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
call sub.KERNEL32.dll_GetCurrentThreadId
cmp dword [0x1001a9b4], eax
je 0x10002f8d
mov eax, 0x10dd
jmp 0x10003072
mov eax, dword [0x1001a9c4]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x1000300d
lea ecx, [ebp - 0x1c]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x14]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x10]
movzx eax, byte [edx + 0x36]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0xc]
push edx
call sub.KERNEL32.dll_VirtualProtect
nop
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0
jne 0x10002fe9
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0x10], 0
je 0x10002fe9
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x10]
push eax
call fcn.10001df0
add esp, 4
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x10], 0
mov edx, dword [ebp - 4]
mov eax, dword [edx]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 4]
mov dword [ebp - 0xc], ecx
push 0x18
mov edx, dword [ebp - 0xc]
push edx
call fcn.10006d0f
add esp, 8
mov eax, dword [ebp - 0x10]
mov dword [ebp - 4], eax
jmp 0x10002f95
mov dword [0x1001a9c4], 0
call fcn.100026d0
nop
mov ecx, dword [0x1001a9c0]
mov dword [ebp - 8], ecx
cmp dword [ebp - 8], 0
je 0x1000305c
mov edx, dword [ebp - 8]
mov eax, dword [edx + 4]
push eax
call sub.KERNEL32.dll_ResumeThread
mov ecx, dword [ebp - 8]
mov edx, dword [ecx]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 8]
mov dword [ebp - 0x14], eax
push 8
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.10006d0f
add esp, 8
mov edx, dword [ebp - 0x18]
mov dword [ebp - 8], edx
jmp 0x10003026
mov dword [0x1001a9c0], 0
mov dword [0x1001a9b4], 0
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x10003550
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
cmp dword [0x1001a9b8], 0
je 0x10003569
mov eax, dword [0x1001a9b8]
jmp 0x10003608
call sub.KERNEL32.dll_GetCurrentThread
cmp dword [ebp + 8], eax
jne 0x1000357a
xor eax, eax
jmp 0x10003608
push 8
call fcn.10006cdf
add esp, 4
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x100035d2
mov dword [ebp - 8], 8
cmp dword [ebp - 4], 0
je 0x100035bb
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x10], ecx
push 8
mov edx, dword [ebp - 0x10]
push edx
call fcn.10006d0f
add esp, 8
mov dword [ebp - 4], 0
mov eax, dword [ebp - 8]
mov dword [0x1001a9b8], eax
mov dword [0x1001a9bc], 0
mov eax, dword [ebp - 8]
jmp 0x10003608
mov ecx, dword [ebp + 8]
push ecx
call sub.KERNEL32.dll_SuspendThread
cmp eax, 0xffffffff
jne 0x100035ea
call sub.KERNEL32.dll_GetLastError
mov dword [ebp - 8], eax
jmp 0x1000359a
mov edx, dword [ebp - 4]
mov eax, dword [ebp + 8]
mov dword [edx + 4], eax
mov ecx, dword [ebp - 4]
mov edx, dword [0x1001a9c0]
mov dword [ecx], edx
mov eax, dword [ebp - 4]
mov dword [0x1001a9c0], eax
xor eax, eax
mov esp, ebp
pop ebp
ret 4
Function at 0x10004420
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
mov eax, dword [0x1001a040]
xor eax, ebp
mov dword [ebp - 4], eax
push 0xf8
push 0
mov eax, dword [ebp + 0x10]
push eax
call fcn.100078e0
add esp, 0xc
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x48], ecx
cmp dword [ebp - 0x48], 0
jne 0x1000445d
push 0x57
call sub.KERNEL32.dll_SetLastError
xor eax, eax
jmp 0x10004511
push 0x1c
push 0
lea edx, [ebp - 0x64]
push edx
call fcn.100078e0
add esp, 0xc
push 0x1c
lea eax, [ebp - 0x64]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call sub.KERNEL32.dll_VirtualQueryEx
test eax, eax
jne 0x1000448b
xor eax, eax
jmp 0x10004511
push 0
push 0x40
lea eax, [ebp - 0x44]
push eax
mov ecx, dword [ebp - 0x48]
push ecx
mov edx, dword [ebp + 8]
push edx
call sub.KERNEL32.dll_ReadProcessMemory
test eax, eax
jne 0x100044a8
xor eax, eax
jmp 0x10004511
movzx eax, word [ebp - 0x44]
cmp eax, 0x5a4d
jne 0x100044c1
mov ecx, dword [ebp - 8]
cmp ecx, dword [ebp - 0x58]
ja 0x100044c1
cmp dword [ebp - 8], 0x40
jae 0x100044cf
push 0xc1
call sub.KERNEL32.dll_SetLastError
xor eax, eax
jmp 0x10004511
push 0
push 0xf8
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp - 0x48]
add eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp + 8]
push ecx
call sub.KERNEL32.dll_ReadProcessMemory
test eax, eax
jne 0x100044f2
xor eax, eax
jmp 0x10004511
mov edx, dword [ebp + 0x10]
cmp dword [edx], 0x4550
je 0x1000450b
push 0xc1
call sub.KERNEL32.dll_SetLastError
xor eax, eax
jmp 0x10004511
mov eax, dword [ebp - 0x48]
add eax, dword [ebp - 8]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10006d1d
mov esp, ebp
pop ebp
ret
Function at 0x1000a6bf
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x1000a6fe
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x1000a6fe
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1000a6fe
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x1000a6fe
cmp dword [ecx + 0x74], 0xe
jbe 0x1000a6fe
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x1000d7f1
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x1000d88e
push ebx
push esi
call fcn.1000d7ba
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.1000d74e
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x1000d83b
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1000d88d
push edi
push eax
call fcn.1000b500
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x1000d85b
call fcn.1000b4c6
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1000d88c
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.1000d74e
add esp, 0x20
test eax, eax
jne 0x1000d87a
push edi
call fcn.1000b4c6
jmp 0x1000d882
push ebx
call fcn.1000b4c6
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x1000dafb
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10014fb8
push 0x10014fb0
push str.FlsAlloc
push 0x1f
call fcn.1000da17
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1000db2f
push dword [ebp + 8]
mov ecx, esi
call dword [0x1001316c]
call esi
jmp 0x1000db35
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x1000db79
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10014fc8
push 0x10014fc0
push str.FlsGetValue
push 0x21
call fcn.1000da17
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1000dbb0
push dword [ebp + 8]
mov ecx, esi
call dword [0x1001316c]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x1000dbb8
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10014fd0
push 0x10014fc8
push str.FlsSetValue
push 0x22
call fcn.1000da17
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1000dbf2
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x1001316c]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x10012bd0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x10012bfd
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x10012bfd
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x457ca0
Capabilities:
Check mutex on windows

Disassembly:
mov eax, dword [esp + 4]
mov edx, dword [esp + 8]
mov ecx, dword [esp + 0xc]