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

Disassembly:
push 0x24
push 0x1004d598
call fcn.10017690
push 0x1c
lea eax, [ebp - 0x34]
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
and dword [ebp - 4], 0
mov eax, 0x5a4d
mov edx, dword [ebp - 0x30]
cmp word [edx], ax
jne 0x10001068
mov eax, dword [edx + 0x3c]
add eax, edx
cmp dword [eax], 0x4550
jne 0x10001068
mov ecx, dword [eax + 0xd8]
lea esi, [ecx + edx]
cmp dword [ebp + 0xc], esi
jb 0x10001068
mov eax, dword [eax + 0xdc]
add eax, ecx
add eax, edx
cmp dword [ebp + 0xc], eax
jae 0x10001068
mov dword [ebp - 4], 0xfffffffe
mov al, 1
jmp 0x10001071
mov dword [ebp - 4], 0xfffffffe
xor al, al
call fcn.100176d6
ret
Function at 0x10001169
Capabilities:
Allocate or change rwx memory
Hook routines via microsoft detours

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
push ebx
push esi
mov esi, eax
push edi
mov ebx, 0x10000
cmp esi, 0x7ff80000
jbe 0x1000118c
lea eax, [esi - 0x7ff80000]
mov dword [ebp - 4], eax
jmp 0x1000118f
mov dword [ebp - 4], ebx
cmp esi, 0x80000000
jae 0x100011a2
lea eax, [esi + 0x7ff80000]
mov dword [ebp - 8], eax
jmp 0x100011a9
mov dword [ebp - 8], 0xfff80000
mov eax, dword [0x1011c044]
mov ecx, dword [0x1011c040]
test eax, eax
jne 0x100011c3
test ecx, ecx
je 0x100011d8
mov eax, ecx
mov dword [0x1011c044], eax
mov edx, dword [eax + 8]
test edx, edx
je 0x100011d8
cmp edx, dword [ebp - 4]
jb 0x100011d8
cmp edx, dword [ebp - 8]
jbe 0x100012a9
mov eax, ecx
test ecx, ecx
jmp 0x100011fc
test eax, eax
je 0x100011f7
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x100011f7
cmp ecx, dword [ebp - 4]
jb 0x100011f7
cmp ecx, dword [ebp - 8]
jbe 0x100012a9
mov eax, dword [eax + 4]
test eax, eax
mov dword [0x1011c044], eax
jne 0x100011de
mov eax, esi
and eax, 0xffff
sub esi, eax
mov edi, esi
cmp esi, dword [ebp - 4]
jbe 0x1000133b
lea eax, [edi - 0x70000000]
cmp eax, 0x10000000
ja 0x10001229
mov edi, 0x6fff0000
push 0x1c
lea eax, [ebp - 0x40]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x1000133b
cmp dword [ebp - 0x30], ebx
jne 0x10001248
cmp dword [ebp - 0x34], ebx
jae 0x1000125b
mov edi, dword [ebp - 0x3c]
add edi, 0xffff0000
cmp edi, dword [ebp - 4]
ja 0x10001217
jmp 0x1000133b
push 0x40
push 0x3000
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [0x1011c044], eax
test eax, eax
je 0x1000133b
mov ecx, dword [0x1011c040]
xor edx, edx
mov dword [eax + 4], ecx
mov dword [eax], 0x52727464
mov dword [eax + 8], edx
mov dword [0x1011c040], eax
lea ecx, [eax + 0xffe0]
mov esi, 0x7fd
mov dword [ecx + 0x18], edx
mov edx, ecx
sub ecx, 0x20
dec esi
jne 0x1000129b
mov dword [eax + 8], edx
mov esi, dword [eax + 8]
cmp esi, dword [ebp - 4]
jb 0x10001340
cmp esi, dword [ebp - 8]
ja 0x10001340
mov ecx, dword [esi + 0x18]
push 0x20
push 0xcc
push esi
mov dword [eax + 8], ecx
call fcn.10019b80
add esp, 0xc
mov eax, esi
jmp 0x10001342
lea eax, [esi - 0x70000000]
cmp eax, 0x10000000
ja 0x100012ea
mov esi, 0x80010000
push 0x1c
lea eax, [ebp - 0x24]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x10001340
cmp dword [ebp - 0x14], ebx
jne 0x10001335
cmp dword [ebp - 0x18], ebx
jb 0x10001335
movzx ecx, si
test ecx, ecx
je 0x10001319
mov eax, ebx
sub eax, ecx
sub dword [ebp - 0x18], eax
add dword [ebp - 0x24], eax
mov esi, dword [ebp - 0x24]
push 0x40
push 0x3000
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [0x1011c044], eax
test eax, eax
jne 0x10001277
mov esi, dword [ebp - 0x24]
add esi, dword [ebp - 0x18]
cmp esi, dword [ebp - 8]
jb 0x100012d8
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x100013cb
Capabilities:
Allocate or change rwx memory

Disassembly:
push ecx
push edi
xor edi, edi
cmp dword [0x1011c04c], edi
je 0x100013de
mov eax, 0x10dd
jmp 0x10001439
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push 0x1011c04c
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
test eax, eax
jne 0x100013d7
push esi
mov esi, dword [0x1011c040]
mov dword [0x1011c048], edi
mov dword [0x1011c05c], edi
mov dword [0x1011c058], edi
mov dword [0x1011c050], edi
mov dword [0x1011c054], edi
jmp 0x10001432
lea eax, [esp + 8]
push eax
push 0x40
push 0x10000
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov esi, dword [esi + 4]
cmp esi, edi
jne 0x1000141c
xor eax, eax
pop esi
pop edi
pop ecx
ret

Function at 0x1000143c
Capabilities:
Resume thread

Disassembly:
push ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x1011c04c], eax
je 0x10001452
mov eax, 0x10dd
pop ecx
ret
push ebx
push esi
mov esi, dword [0x1011c05c]
xor ebx, ebx
push edi
cmp esi, ebx
je 0x1000149d
lea eax, [esp + 0xc]
push eax
mov eax, dword [esi + 0x10]
push dword [esi + 0x14]
movzx eax, byte [eax + 0x17]
push eax
push dword [esi + 0xc]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
cmp dword [esi + 4], ebx
jne 0x1000148e
mov edi, dword [esi + 0x10]
cmp edi, ebx
je 0x1000148e
call fcn.10001347
mov dword [esi + 0x10], ebx
mov edi, dword [esi]
push esi
call fcn.100176eb
pop ecx
mov esi, edi
cmp edi, ebx
jne 0x10001461
mov dword [0x1011c05c], ebx
call fcn.10001142
mov esi, dword [0x1011c058]
cmp esi, ebx
je 0x100014ca
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov edi, dword [esi]
push esi
call fcn.100176eb
pop ecx
mov esi, edi
cmp edi, ebx
jne 0x100014b2
pop edi
pop esi
mov dword [0x1011c058], ebx
mov dword [0x1011c04c], ebx
xor eax, eax
pop ebx
pop ecx
ret
Function at 0x10001721
Capabilities:
Suspend thread

Disassembly:
mov eax, dword [0x1011c050]
test eax, eax
jne 0x10001791
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov edi, dword [esp + 8]
cmp edi, eax
jne 0x1000173d
xor eax, eax
jmp 0x10001790
push esi
push 8
call fcn.10016baa
mov esi, eax
pop ecx
test esi, esi
jne 0x10001751
push 8
pop edi
jmp 0x1000176c
push edi
call dword [sym.imp.KERNEL32.dll_SuspendThread]
cmp eax, 0xffffffff
jne 0x1000177d
call dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
mov edi, eax
call fcn.100176eb
pop ecx
and dword [0x1011c054], 0
mov dword [0x1011c050], edi
mov eax, edi
jmp 0x1000178f
mov eax, dword [0x1011c058]
mov dword [esi], eax
mov dword [esi + 4], edi
mov dword [0x1011c058], esi
xor eax, eax
pop esi
pop edi
ret 4
Function at 0x100019e5
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x1011c04c], eax
je 0x10001a01
mov eax, 0x10dd
jmp 0x10001ae4
mov eax, dword [0x1011c050]
test eax, eax
jne 0x10001ae4
push edi
mov edi, dword [ebp + 8]
test edi, edi
jne 0x10001a1e
push 6
pop eax
jmp 0x10001ae3
cmp dword [edi], 0
jne 0x10001a36
push 6
pop eax
mov dword [0x1011c050], eax
mov dword [0x1011c054], edi
jmp 0x10001ae3
push ebx
push esi
push 0x18
call fcn.10016baa
mov esi, eax
pop ecx
test esi, esi
jne 0x10001a4b
push 8
pop edi
jmp 0x10001ac6
mov edi, dword [edi]
push 0
push dword [ebp + 0xc]
call fcn.1000109f
mov ebx, dword [edi + 0x18]
pop ecx
pop ecx
movzx ecx, byte [edi + 0x17]
xor edx, edx
sub ebx, ecx
cmp ecx, edx
je 0x10001abb
cmp ecx, 0x17
ja 0x10001abb
cmp dword [edi + 0x1c], eax
jne 0x10001abb
lea eax, [ebp - 4]
push eax
push 0x40
push ecx
push ebx
mov dword [ebp - 4], edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x10001a91
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
jmp 0x10001ac6
mov eax, dword [ebp + 8]
mov dword [esi + 8], eax
mov dword [esi + 4], 1
mov dword [esi + 0x10], edi
mov dword [esi + 0xc], ebx
mov eax, dword [ebp - 4]
mov dword [esi + 0x14], eax
mov eax, dword [0x1011c05c]
mov dword [esi], eax
mov dword [0x1011c05c], esi
xor eax, eax
jmp 0x10001ae1
push 9
pop edi
cmp dword [0x1011c048], edx
jne 0x10001acc
mov dword [0x1011c050], edi
test esi, esi
je 0x10001ad7
push esi
call fcn.100176eb
pop ecx
mov eax, dword [ebp + 8]
mov dword [0x1011c054], eax
mov eax, edi
pop esi
pop ebx
pop edi
leave
ret 8
Function at 0x1000bee0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov eax, dword [0x1004f124]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x2c], ecx
mov eax, dword [ebp - 0x2c]
cmp dword [eax + 0x38], 0
je 0x1000bf07
mov ecx, dword [ebp - 0x2c]
movzx edx, byte [ecx + 0x3d]
test edx, edx
jne 0x1000bf0e
mov al, 1
jmp 0x1000bfe2
call fcn.1000e610
push eax
mov eax, dword [ebp - 0x2c]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x2c]
mov eax, dword [edx + 0xc]
call eax
mov dword [ebp - 0x3c], eax
call fcn.1000e610
mov dword [ebp - 0x40], eax
lea ecx, [ebp - 0x3c]
push ecx
lea edx, [ebp - 0x40]
push edx
call fcn.1000e670
add esp, 8
movzx eax, al
test eax, eax
je 0x1000bf4a
xor al, al
jmp 0x1000bfe2
mov dword [ebp - 0x48], 0x20
lea ecx, [ebp - 0x44]
push ecx
lea edx, [ebp - 8]
push edx
lea eax, [ebp - 0x28]
push eax
mov ecx, dword [ebp - 0x2c]
add ecx, 0x40
push ecx
mov edx, dword [ebp - 0x2c]
mov ecx, dword [edx + 0x38]
call fcn.100105b0
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
je 0x1000bf86
cmp dword [ebp - 0x30], 1
je 0x1000bf8d
cmp dword [ebp - 0x30], 3
je 0x1000bfdc
jmp 0x1000bfe0
mov eax, dword [ebp - 0x2c]
mov byte [eax + 0x3d], 0
mov ecx, dword [ebp - 0x44]
lea edx, [ebp - 0x28]
sub ecx, edx
mov dword [ebp - 0x34], ecx
je 0x1000bfbc
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax + 0x4c]
push ecx
mov edx, dword [ebp - 0x34]
push edx
push 1
lea eax, [ebp - 0x28]
push eax
call fcn.1001cba1
add esp, 0x10
cmp dword [ebp - 0x34], eax
je 0x1000bfbc
xor al, al
jmp 0x1000bfe2
mov ecx, dword [ebp - 0x2c]
movzx edx, byte [ecx + 0x3d]
test edx, edx
jne 0x1000bfd0
mov dword [ebp - 0x38], 1
jmp 0x1000bfd7
mov dword [ebp - 0x38], 0
mov al, byte [ebp - 0x38]
jmp 0x1000bfe2
mov al, 1
jmp 0x1000bfe2
xor al, al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10016b99
mov esp, ebp
pop ebp
ret
Function at 0x1000f790
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
mov eax, dword [0x1004f124]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov dword [ebp - 0x2c], ecx
call fcn.1000e610
mov dword [ebp - 0x44], eax
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x44]
push ecx
call fcn.1000e670
add esp, 8
movzx edx, al
test edx, edx
je 0x1000f7d5
lea eax, [ebp + 8]
push eax
call fcn.1000f640
add esp, 4
jmp 0x1000f956
mov ecx, dword [ebp - 0x2c]
call fcn.1000fb40
test eax, eax
je 0x1000f817
mov ecx, dword [ebp - 0x2c]
call fcn.1000fb40
mov esi, eax
mov ecx, dword [ebp - 0x2c]
call fcn.1000e650
cmp esi, eax
jae 0x1000f817
lea ecx, [ebp + 8]
push ecx
call fcn.10010220
add esp, 4
mov bl, al
mov ecx, dword [ebp - 0x2c]
call fcn.1000d430
mov byte [eax], bl
mov eax, dword [ebp + 8]
jmp 0x1000f956
mov edx, dword [ebp - 0x2c]
cmp dword [edx + 0x4c], 0
jne 0x1000f82a
call fcn.1000e610
jmp 0x1000f956
mov ecx, dword [ebp - 0x2c]
call fcn.1000d480
mov eax, dword [ebp - 0x2c]
cmp dword [eax + 0x38], 0
jne 0x1000f879
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ecx + 0x4c]
push edx
lea eax, [ebp + 8]
push eax
call fcn.10010220
add esp, 4
movzx ecx, al
push ecx
call fcn.10003ab0
add esp, 8
movzx edx, al
test edx, edx
je 0x1000f869
mov eax, dword [ebp + 8]
mov dword [ebp - 0x3c], eax
jmp 0x1000f871
call fcn.1000e610
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
jmp 0x1000f956
mov dword [ebp - 0x50], 0x20
lea ecx, [ebp + 8]
push ecx
call fcn.10010220
add esp, 4
mov byte [ebp - 0x2e], al
lea edx, [ebp - 0x48]
push edx
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 0x28]
push ecx
lea edx, [ebp - 0x4c]
push edx
lea eax, [ebp - 0x2d]
push eax
lea ecx, [ebp - 0x2e]
push ecx
mov edx, dword [ebp - 0x2c]
add edx, 0x40
push edx
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax + 0x38]
call fcn.1000f750
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
jl 0x1000f951
cmp dword [ebp - 0x34], 1
jle 0x1000f8d4
cmp dword [ebp - 0x34], 3
je 0x1000f921
jmp 0x1000f951
mov ecx, dword [ebp - 0x48]
lea edx, [ebp - 0x28]
sub ecx, edx
mov dword [ebp - 0x38], ecx
je 0x1000f906
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax + 0x4c]
push ecx
mov edx, dword [ebp - 0x38]
push edx
push 1
lea eax, [ebp - 0x28]
push eax
call fcn.1001cba1
add esp, 0x10
cmp dword [ebp - 0x38], eax
je 0x1000f906
call fcn.1000e610
jmp 0x1000f956
mov ecx, dword [ebp - 0x2c]
mov byte [ecx + 0x3d], 1
lea edx, [ebp - 0x2e]
cmp dword [ebp - 0x4c], edx
je 0x1000f91a
mov eax, dword [ebp + 8]
jmp 0x1000f956
call fcn.1000e610
jmp 0x1000f956
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax + 0x4c]
push ecx
movzx edx, byte [ebp - 0x2e]
push edx
call fcn.10003ab0
add esp, 8
movzx eax, al
test eax, eax
je 0x1000f944
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x40], ecx
jmp 0x1000f94c
call fcn.1000e610
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
jmp 0x1000f956
call fcn.1000e610
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10016b99
mov esp, ebp
pop ebp
ret 4
Function at 0x100106c0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 4], ecx
mov eax, 1
test eax, eax
je 0x100107e6
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0x38], 0
je 0x100106f8
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 4]
call fcn.10010800
jmp 0x100107fa
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 4]
call fcn.1000c980
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], edx
cmp dword [ebp + 0x10], 0
jl 0x1001078c
jg 0x10010720
cmp dword [ebp + 0xc], 0
jbe 0x1001078c
cmp dword [ebp - 8], 0
jl 0x1001078c
jg 0x1001072e
cmp dword [ebp - 0xc], 0
jbe 0x1001078c
mov ecx, dword [ebp + 0x10]
cmp ecx, dword [ebp - 8]
jg 0x1001074c
jl 0x10010740
mov edx, dword [ebp + 0xc]
cmp edx, dword [ebp - 0xc]
jae 0x1001074c
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 0xc]
push edx
mov ecx, dword [ebp - 4]
call fcn.1000f1b0
push eax
mov eax, dword [ebp + 8]
push eax
call fcn.1000e1a0
add esp, 0xc
mov ecx, dword [ebp - 0xc]
add ecx, dword [ebp + 8]
mov dword [ebp + 8], ecx
mov edx, dword [ebp + 0xc]
sub edx, dword [ebp - 0xc]
mov eax, dword [ebp + 0x10]
sbb eax, dword [ebp - 8]
mov dword [ebp + 0xc], edx
mov dword [ebp + 0x10], eax
mov ecx, dword [ebp - 0xc]
push ecx
mov ecx, dword [ebp - 4]
call fcn.1000edf0
cmp dword [ebp + 0x10], 0
jl 0x100107d6
jg 0x1001079a
cmp dword [ebp + 0xc], 0
jbe 0x100107d6
mov edx, dword [ebp - 4]
cmp dword [edx + 0x4c], 0
je 0x100107d6
mov ecx, dword [ebp - 4]
call fcn.1000d480
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x4c]
push ecx
mov edx, dword [ebp + 0xc]
push edx
push 1
mov eax, dword [ebp + 8]
push eax
call fcn.1001c534
add esp, 0x10
xor ecx, ecx
mov edx, dword [ebp + 0xc]
sub edx, eax
mov eax, dword [ebp + 0x10]
sbb eax, ecx
mov dword [ebp + 0xc], edx
mov dword [ebp + 0x10], eax
mov eax, dword [ebp - 0x14]
sub eax, dword [ebp + 0xc]
mov edx, dword [ebp - 0x10]
sbb edx, dword [ebp + 0x10]
jmp 0x100107fa
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 4]
call fcn.10010800
mov esp, ebp
pop ebp
ret 0xc
Function at 0x10010920
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 4], ecx
mov eax, 1
test eax, eax
je 0x10010a3e
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0x38], 0
je 0x10010958
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 4]
call fcn.10010a60
jmp 0x10010a52
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 4]
call fcn.1000d400
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], edx
cmp dword [ebp + 0x10], 0
jl 0x100109ec
jg 0x10010980
cmp dword [ebp + 0xc], 0
jbe 0x100109ec
cmp dword [ebp - 8], 0
jl 0x100109ec
jg 0x1001098e
cmp dword [ebp - 0xc], 0
jbe 0x100109ec
mov ecx, dword [ebp + 0x10]
cmp ecx, dword [ebp - 8]
jg 0x100109ac
jl 0x100109a0
mov edx, dword [ebp + 0xc]
cmp edx, dword [ebp - 0xc]
jae 0x100109ac
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 4]
call fcn.1000fb40
push eax
call fcn.1000e1a0
add esp, 0xc
mov ecx, dword [ebp - 0xc]
add ecx, dword [ebp + 8]
mov dword [ebp + 8], ecx
mov edx, dword [ebp + 0xc]
sub edx, dword [ebp - 0xc]
mov eax, dword [ebp + 0x10]
sbb eax, dword [ebp - 8]
mov dword [ebp + 0xc], edx
mov dword [ebp + 0x10], eax
mov ecx, dword [ebp - 0xc]
push ecx
mov ecx, dword [ebp - 4]
call fcn.1000fae0
cmp dword [ebp + 0x10], 0
jl 0x10010a2e
jg 0x100109fa
cmp dword [ebp + 0xc], 0
jbe 0x10010a2e
mov edx, dword [ebp - 4]
cmp dword [edx + 0x4c], 0
je 0x10010a2e
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x4c]
push ecx
mov edx, dword [ebp + 0xc]
push edx
push 1
mov eax, dword [ebp + 8]
push eax
call fcn.1001cba1
add esp, 0x10
xor ecx, ecx
mov edx, dword [ebp + 0xc]
sub edx, eax
mov eax, dword [ebp + 0x10]
sbb eax, ecx
mov dword [ebp + 0xc], edx
mov dword [ebp + 0x10], eax
mov eax, dword [ebp - 0x14]
sub eax, dword [ebp + 0xc]
mov edx, dword [ebp - 0x10]
sbb edx, dword [ebp + 0x10]
jmp 0x10010a52
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 4]
call fcn.10010a60
mov esp, ebp
pop ebp
ret 0xc
Function at 0x10011f50
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0
push 0x1003a658
call dword [sym.imp.USER32.dll_FindWindowA]
mov dword [0x1008a9b0], eax
mov eax, 1
imul ecx, eax, 0
movzx edx, byte [ecx + 0x1008a9d0]
test edx, edx
jne 0x10011f95
mov eax, dword [0x1008a9b0]
push eax
call dword [sym.imp.USER32.dll_UpdateWindow]
push 0
mov ecx, dword [0x1008a9b0]
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x10011fd6
mov edx, dword [0x1008a9b0]
push edx
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov eax, dword [0x1008a9b0]
push eax
call dword [sym.imp.USER32.dll_SetActiveWindow]
mov ecx, dword [0x1008a9b0]
push ecx
call dword [sym.imp.USER32.dll_SetFocus]
push 1
mov edx, dword [0x1008a9b0]
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [0x1008a9b0]
push eax
call dword [sym.imp.USER32.dll_UpdateWindow]
pop ebp
ret

Function at 0x10012070
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
push eax
push 0
push 0
push 0x10012030
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [ebp - 4]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 4]
cmp dword [edx + 4], 0
jne 0x100120a1
xor al, al
jmp 0x100120b0
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
mov esp, ebp
pop ebp
ret
Function at 0x10012660
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x76e2f0
mov ecx, dword [0x1003aa08]
mov dword [eax], ecx
mov edx, dword [0x1003aa0c]
mov dword [eax + 4], edx
mov ecx, dword [0x1003aa10]
mov dword [eax + 8], ecx
mov dx, word [0x1003aa14]
mov word [eax + 0xc], dx
mov cl, byte [0x1003aa16]
mov byte [eax + 0xe], cl
mov edx, 0x77f5a0
mov eax, dword [str.................]
mov dword [edx], eax
mov ecx, dword [0x1003aa1c]
mov dword [edx + 4], ecx
mov eax, dword [0x1003aa20]
mov dword [edx + 8], eax
mov ecx, dword [0x1003aa24]
mov dword [edx + 0xc], ecx
mov edx, 0xad75
mov word [0x77eba8], dx
mov byte [0x648b4d], 0xc3
mov byte [0x6f6877], 0xc3
mov byte [0x4f8b49], 2
push 0x10012df0
push 0x66271f
call fcn.10013250
add esp, 8
push 0
push str.ScreenShot
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov dword [0x662262], 0x1003aa38
mov dword [0x647cd9], 0x10012ea0
mov dword [0x7564b4], 0x10012c20
push 0x10013430
push 0x69c2c0
call fcn.10013230
add esp, 8
push 0x10013d30
push 0x6864a2
call fcn.10013250
add esp, 8
push 0x10013c20
push 0x68621d
call fcn.10013250
add esp, 8
push 0x100133d0
push 0x5f8b77
call fcn.10013250
add esp, 8
push 0x10013bf0
push 0x56bcf1
call fcn.10013230
add esp, 8
push 0x10013bf0
push 0x56bd57
call fcn.10013230
add esp, 8
mov ecx, 0x1011bc40
call fcn.10015610
push str.._Loading_Weapons.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push str.._Loading_Colors.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov byte [0x5117c0], 0x48
mov byte [0x511845], 0x48
push 0x10013f80
push 0x648274
call fcn.10013250
add esp, 8
push 0x10013e70
push 0x649553
call fcn.10013250
add esp, 8
push 0x10013f20
push 0x4eeca1
call fcn.10013250
add esp, 8
push 0x10013f50
push 0x4ee5eb
call fcn.10013250
add esp, 8
mov byte [0x5e5e23], 0xeb
mov byte [0x5e5e2f], 0xeb
mov byte [0x496f7a], 0xeb
mov byte [0x4971af], 0xeb
mov ecx, 0x1008aa30
call fcn.10014430
mov ecx, 0x1008aa2d
call fcn.10014140
push 9
push 0x76b8a0
call fcn.100132f0
add esp, 8
push 9
push 0x76b8b8
call fcn.100132f0
add esp, 8
mov ecx, 0x1008ba38
call fcn.100146f0
mov ecx, 0x1004ff88
call fcn.1000a610
call fcn.10014260
push 0x22
push 0x5bc413
call fcn.100132f0
add esp, 8
push 0x100113a0
push 0x59d28d
call fcn.10013230
add esp, 8
push 0x10012160
push 0x64c431
call fcn.10013230
add esp, 8
push 0x10001f70
push 0x65ee5f
call fcn.10013230
add esp, 8
push 0x10012e10
push 0x662693
call fcn.10013230
add esp, 8
push 0x10010c20
push 0x59f307
call fcn.10013230
add esp, 8
pop ebp
ret