joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10006dd0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100a91b8
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x100d65e8]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
push esi
push edi
mov eax, dword [0x100d65e8]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov ebx, ecx
cmp dword [ebx + 0x40], 0
je 0x10006f63
cmp byte [ebx + 0x45], 0
je 0x10006f63
mov eax, dword [ebx]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
jne 0x10006e30
xor al, al
jmp 0x10006f65
mov ecx, 0xf
mov dword [esp + 0x2c], 0
mov dword [esp + 0x2c], ecx
mov byte [esp + 0x18], 0
xorps xmm0, xmm0
movq qword [esp + 0x18], xmm0
lea eax, [esp + 0x18]
cmp ecx, 0x10
cmovae eax, dword [esp + 0x18]
mov dword [esp + 0x28], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x28], 8
mov byte [eax + 8], 0
mov dword [esp + 0x40], 0
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x2c]
jmp 0x10006e90
cmp ecx, 0x10
mov ecx, dword [ebx + 0x40]
lea eax, [esp + 0x14]
push eax
mov eax, dword [esp + 0x2c]
lea edi, [esp + 0x1c]
cmovae edi, edx
lea esi, [esp + 0x1c]
cmovae esi, edx
mov edx, dword [ecx]
add eax, edi
push eax
push esi
lea eax, [ebx + 0x48]
push eax
call dword [edx + 0x20]
sub eax, 0
je 0x10006ecb
dec eax
je 0x10006ecf
sub eax, 2
je 0x10006f2d
xor bl, bl
jmp 0x10006f2f
mov byte [ebx + 0x45], 0
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x18]
mov esi, dword [esp + 0x14]
cmp ecx, 0x10
lea eax, [esp + 0x18]
cmovae eax, edx
sub esi, eax
je 0x10006f0e
push dword [ebx + 0x50]
cmp ecx, 0x10
push esi
lea eax, [esp + 0x20]
cmovae eax, edx
push 1
push eax
call fcn.1007dd66
add esp, 0x10
cmp esi, eax
jne 0x10006ec7
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x18]
cmp byte [ebx + 0x45], 0
je 0x10006f2d
test esi, esi
jne 0x10006e90
push esi
push 8
lea ecx, [esp + 0x20]
call fcn.10006700
jmp 0x10006e7f
mov bl, 1
mov dword [esp + 0x40], 0xffffffff
cmp dword [esp + 0x2c], 0x10
jb 0x10006f4a
push dword [esp + 0x18]
call fcn.1007d9ed
add esp, 4
mov dword [esp + 0x2c], 0xf
mov dword [esp + 0x28], 0
mov byte [esp + 0x18], 0
mov al, bl
jmp 0x10006f65
mov al, 1
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.1007e654
mov esp, ebp
pop ebp
ret
Function at 0x10009400
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100a7cfa
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x100d65e8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x10], 0
cmp dword [ebp + 8], 0
je 0x10009467
lea eax, [esi + 0x70]
mov dword [esi], 0x100bd814
mov dword [ebp + 8], eax
mov dword [eax], vtable.std::ios_base.0
mov dword [ebp - 4], 0
mov dword [eax], vtable.std::basic_ios_char__struct_std::char_traits_char__.0
mov dword [ebp - 4], 1
mov dword [ebp - 0x10], 1
mov eax, dword [esi]
mov eax, dword [eax + 4]
mov dword [esi + eax], vtable.std::basic_istream_char__struct_std::char_traits_char__.0
mov eax, dword [esi]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x18]
mov dword [ecx + esi - 4], eax
mov eax, dword [esi]
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov edi, dword [eax + 4]
add edi, esi
mov ecx, edi
call fcn.1000d5c0
lea eax, [ebp + 8]
lea ebx, [esi + 0x10]
push eax
mov ecx, edi
mov dword [edi + 0x38], ebx
mov dword [edi + 0x3c], 0
call fcn.1000db80
mov dword [ebp - 4], 4
push eax
call fcn.1000da50
add esp, 4
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 3
mov ecx, dword [ebp + 8]
test ecx, ecx
je 0x100094e2
mov edx, dword [ecx]
call dword [edx + 8]
test eax, eax
je 0x100094e2
mov edx, dword [eax]
push 1
mov ecx, eax
call dword [edx]
mov ecx, dword [ebp - 0x14]
push 0x20
mov eax, dword [ecx]
mov eax, dword [eax + 0x20]
call eax
cmp dword [edi + 0x38], 0
mov byte [edi + 0x40], al
jne 0x10009507
mov eax, dword [edi + 0xc]
or eax, 4
push 0
push eax
mov ecx, edi
call fcn.1000e8e0
mov dword [ebp - 4], 5
mov eax, dword [esi]
mov dword [ebp + 8], ebx
mov eax, dword [eax + 4]
mov dword [esi + eax], vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov eax, dword [esi]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x70]
mov dword [ecx + esi - 4], eax
mov ecx, ebx
call fcn.1000a450
mov byte [ebp - 4], 6
lea eax, [ebx + 4]
mov dword [ebx + 0xc], eax
lea eax, [ebx + 0x14]
mov dword [ebx + 0x1c], eax
lea eax, [ebx + 0x18]
mov dword [ebx + 0x20], eax
mov dword [ebx], vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
mov byte [ebx + 0x4c], 0
mov byte [ebx + 0x45], 0
lea eax, [ebx + 0x24]
mov dword [ebx + 0x2c], eax
lea ecx, [ebx + 8]
mov dword [ebx + 0x10], ecx
lea eax, [ebx + 0x28]
mov dword [ebx + 0x30], eax
mov dword [ecx], 0
mov eax, dword [ebx + 0x20]
mov dword [eax], 0
mov eax, dword [ebx + 0x30]
mov dword [eax], 0
mov eax, dword [ebx + 0xc]
mov dword [eax], 0
mov eax, dword [ebx + 0x1c]
mov dword [eax], 0
mov eax, dword [ebx + 0x2c]
mov dword [eax], 0
mov dword [ebx + 0x50], 0
mov eax, dword [0x100d9b94]
mov dword [ebx + 0x48], eax
mov dword [ebx + 0x40], 0
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x10016ac0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100a8ec8
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [0x100d65e8]
xor eax, esp
mov dword [esp + 0x4c], eax
push esi
push edi
mov eax, dword [0x100d65e8]
xor eax, esp
push eax
lea eax, [esp + 0x60]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [ebp + 8]
push 2
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
push 0x100bda2c
lea ecx, [esp + 0x18]
mov dword [esp + 0x2c], 0xf
mov dword [esp + 0x28], 0
mov byte [esp + 0x18], 0
call fcn.10010240
mov dword [esp + 0x68], 0
push 4
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0
push str.RULE
lea ecx, [esp + 0x30]
mov dword [esp + 0x44], 0xf
mov dword [esp + 0x40], 0
mov byte [esp + 0x30], 0
call fcn.10010240
mov byte [esp + 0x68], 1
mov edx, esi
lea ecx, [esp + 0x40]
call fcn.10019cd0
mov byte [esp + 0x68], 2
mov ecx, dword [edi]
push eax
mov edx, dword [ecx]
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x30]
push eax
call dword [edx + 0xc]
mov byte [esp + 0x68], 1
cmp dword [esp + 0x54], 0x10
jb 0x10016bac
push dword [esp + 0x40]
call fcn.1007d9ed
add esp, 4
mov dword [esp + 0x54], 0xf
mov dword [esp + 0x50], 0
mov byte [esp + 0x40], 0
mov byte [esp + 0x68], 0
cmp dword [esp + 0x3c], 0x10
jb 0x10016bd9
push dword [esp + 0x28]
call fcn.1007d9ed
add esp, 4
mov dword [esp + 0x3c], 0xf
mov dword [esp + 0x38], 0
mov byte [esp + 0x28], 0
mov dword [esp + 0x68], 0xffffffff
cmp dword [esp + 0x24], 0x10
jb 0x10016c09
push dword [esp + 0x10]
call fcn.1007d9ed
add esp, 4
mov dword [esp + 0x24], 0xf
mov dword [esp + 0x20], 0
mov byte [esp + 0x10], 0
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x4c]
xor ecx, esp
call fcn.1007e654
mov esp, ebp
pop ebp
ret 4
Function at 0x10016d70
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100a8ec8
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [0x100d65e8]
xor eax, esp
mov dword [esp + 0x4c], eax
push esi
push edi
mov eax, dword [0x100d65e8]
xor eax, esp
push eax
lea eax, [esp + 0x60]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [ebp + 8]
push 3
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
push 0x100bda30
lea ecx, [esp + 0x18]
mov dword [esp + 0x2c], 0xf
mov dword [esp + 0x28], 0
mov byte [esp + 0x18], 0
call fcn.10010240
mov dword [esp + 0x68], 0
push 4
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0
push str.RULE
lea ecx, [esp + 0x30]
mov dword [esp + 0x44], 0xf
mov dword [esp + 0x40], 0
mov byte [esp + 0x30], 0
call fcn.10010240
mov byte [esp + 0x68], 1
mov edx, esi
lea ecx, [esp + 0x40]
call fcn.10019cd0
mov byte [esp + 0x68], 2
mov ecx, dword [edi]
push eax
mov edx, dword [ecx]
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x30]
push eax
call dword [edx + 0xc]
mov byte [esp + 0x68], 1
cmp dword [esp + 0x54], 0x10
jb 0x10016e5c
push dword [esp + 0x40]
call fcn.1007d9ed
add esp, 4
mov dword [esp + 0x54], 0xf
mov dword [esp + 0x50], 0
mov byte [esp + 0x40], 0
mov byte [esp + 0x68], 0
cmp dword [esp + 0x3c], 0x10
jb 0x10016e89
push dword [esp + 0x28]
call fcn.1007d9ed
add esp, 4
mov dword [esp + 0x3c], 0xf
mov dword [esp + 0x38], 0
mov byte [esp + 0x28], 0
mov dword [esp + 0x68], 0xffffffff
cmp dword [esp + 0x24], 0x10
jb 0x10016eb9
push dword [esp + 0x10]
call fcn.1007d9ed
add esp, 4
mov dword [esp + 0x24], 0xf
mov dword [esp + 0x20], 0
mov byte [esp + 0x10], 0
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x4c]
xor ecx, esp
call fcn.1007e654
mov esp, ebp
pop ebp
ret 4
Function at 0x10016ef0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100a8ec8
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [0x100d65e8]
xor eax, esp
mov dword [esp + 0x4c], eax
push esi
push edi
mov eax, dword [0x100d65e8]
xor eax, esp
push eax
lea eax, [esp + 0x60]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [ebp + 8]
push 3
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
push 0x100bda34
lea ecx, [esp + 0x18]
mov dword [esp + 0x2c], 0xf
mov dword [esp + 0x28], 0
mov byte [esp + 0x18], 0
call fcn.10010240
mov dword [esp + 0x68], 0
push 4
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0
push str.RULE
lea ecx, [esp + 0x30]
mov dword [esp + 0x44], 0xf
mov dword [esp + 0x40], 0
mov byte [esp + 0x30], 0
call fcn.10010240
mov byte [esp + 0x68], 1
lea eax, [esp + 0x40]
push esi
push eax
call fcn.10019b60
add esp, 8
mov byte [esp + 0x68], 2
mov ecx, dword [edi]
push eax
mov edx, dword [ecx]
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x30]
push eax
call dword [edx + 0xc]
mov byte [esp + 0x68], 1
cmp dword [esp + 0x54], 0x10
jb 0x10016fdf
push dword [esp + 0x40]
call fcn.1007d9ed
add esp, 4
mov dword [esp + 0x54], 0xf
mov dword [esp + 0x50], 0
mov byte [esp + 0x40], 0
mov byte [esp + 0x68], 0
cmp dword [esp + 0x3c], 0x10
jb 0x1001700c
push dword [esp + 0x28]
call fcn.1007d9ed
add esp, 4
mov dword [esp + 0x3c], 0xf
mov dword [esp + 0x38], 0
mov byte [esp + 0x28], 0
mov dword [esp + 0x68], 0xffffffff
cmp dword [esp + 0x24], 0x10
jb 0x1001703c
push dword [esp + 0x10]
call fcn.1007d9ed
add esp, 4
mov dword [esp + 0x24], 0xf
mov dword [esp + 0x20], 0
mov byte [esp + 0x10], 0
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x4c]
xor ecx, esp
call fcn.1007e654
mov esp, ebp
pop ebp
ret 4
Function at 0x10017070
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100a8ec8
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [0x100d65e8]
xor eax, esp
mov dword [esp + 0x4c], eax
push esi
push edi
mov eax, dword [0x100d65e8]
xor eax, esp
push eax
lea eax, [esp + 0x60]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [ebp + 8]
push 3
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
push 0x100bda38
lea ecx, [esp + 0x18]
mov dword [esp + 0x2c], 0xf
mov dword [esp + 0x28], 0
mov byte [esp + 0x18], 0
call fcn.10010240
mov dword [esp + 0x68], 0
push 4
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0
push str.RULE
lea ecx, [esp + 0x30]
mov dword [esp + 0x44], 0xf
mov dword [esp + 0x40], 0
mov byte [esp + 0x30], 0
call fcn.10010240
mov byte [esp + 0x68], 1
lea eax, [esp + 0x40]
push esi
push eax
call fcn.10019b60
add esp, 8
mov byte [esp + 0x68], 2
mov ecx, dword [edi]
push eax
mov edx, dword [ecx]
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x30]
push eax
call dword [edx + 0xc]
mov byte [esp + 0x68], 1
cmp dword [esp + 0x54], 0x10
jb 0x1001715f
push dword [esp + 0x40]
call fcn.1007d9ed
add esp, 4
mov dword [esp + 0x54], 0xf
mov dword [esp + 0x50], 0
mov byte [esp + 0x40], 0
mov byte [esp + 0x68], 0
cmp dword [esp + 0x3c], 0x10
jb 0x1001718c
push dword [esp + 0x28]
call fcn.1007d9ed
add esp, 4
mov dword [esp + 0x3c], 0xf
mov dword [esp + 0x38], 0
mov byte [esp + 0x28], 0
mov dword [esp + 0x68], 0xffffffff
cmp dword [esp + 0x24], 0x10
jb 0x100171bc
push dword [esp + 0x10]
call fcn.1007d9ed
add esp, 4
mov dword [esp + 0x24], 0xf
mov dword [esp + 0x20], 0
mov byte [esp + 0x10], 0
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x4c]
xor ecx, esp
call fcn.1007e654
mov esp, ebp
pop ebp
ret 4
Function at 0x10017320
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100a8f90
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x100d65e8]
xor eax, esp
mov dword [esp + 0x34], eax
push esi
push edi
mov eax, dword [0x100d65e8]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [ebp + 8]
push 2
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0
push 0x100bda3c
lea ecx, [esp + 0x30]
mov dword [esp + 0x44], 0xf
mov dword [esp + 0x40], 0
mov byte [esp + 0x30], 0
call fcn.10010240
mov dword [esp + 0x50], 0
push 4
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
push str.RULE
lea ecx, [esp + 0x18]
mov dword [esp + 0x2c], 0xf
mov dword [esp + 0x28], 0
mov byte [esp + 0x18], 0
call fcn.10010240
mov byte [esp + 0x50], 1
mov ecx, dword [edi]
push esi
mov eax, dword [ecx]
lea edx, [esp + 0x2c]
push edx
lea edx, [esp + 0x18]
push edx
call dword [eax + 0xc]
mov byte [esp + 0x50], 0
cmp dword [esp + 0x24], 0x10
jb 0x100173fc
push dword [esp + 0x10]
call fcn.1007d9ed
add esp, 4
mov dword [esp + 0x24], 0xf
mov dword [esp + 0x20], 0
mov byte [esp + 0x10], 0
mov dword [esp + 0x50], 0xffffffff
cmp dword [esp + 0x3c], 0x10
jb 0x1001742c
push dword [esp + 0x28]
call fcn.1007d9ed
add esp, 4
mov dword [esp + 0x3c], 0xf
mov dword [esp + 0x38], 0
mov byte [esp + 0x28], 0
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.1007e654
mov esp, ebp
pop ebp
ret 4
Function at 0x1002cd50
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100ad6b8
mov eax, dword fs:[0]
push eax
sub esp, 0x270
mov eax, dword [0x100d65e8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [esi + 0x10], 0
jne 0x1002cd8c
xor al, al
jmp 0x1002cea2
xor eax, eax
push 0xffffffffffffffff
push eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
push esi
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
call fcn.1000f660
mov dword [ebp - 4], 0
mov edx, 0x2f
lea ecx, [ebp - 0x28]
call fcn.100199a0
mov edx, 0x5c
lea ecx, [ebp - 0x28]
call fcn.100199a0
cmp dword [ebp - 0x18], 3
ja case.default.0x1002cdf8
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 4
ja case.default.0x1002cdf8
jmp dword [eax*4 + 0x1002cec0]
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x278]
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
jne 0x1002ce58
mov eax, dword [esi + 0x10]
lea edx, [eax - 1]
cmp eax, edx
ja 0x1002ce31
push str.invalid_string_position
call fcn.1007cf5a
mov eax, dword [esi + 0x14]
cmp eax, 8
jb 0x1002ce3d
mov ecx, dword [esi]
jmp 0x1002ce3f
mov ecx, esi
cmp word [ecx + edx*2], 0x5c
je case.0x1002cdf8.3
cmp eax, 8
jb 0x1002ce4d
mov esi, dword [esi]
cmp word [esi + edx*2], 0x2f
jne case.0x1002cdf8.0
mov bl, 1
jmp 0x1002ce74
test byte [ebp - 0x278], 0x10
push eax
je 0x1002ce6c
call dword [sym.imp.KERNEL32.dll_FindClose]
mov bl, 1
jmp 0x1002ce74
call dword [sym.imp.KERNEL32.dll_FindClose]
xor bl, bl
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x14], 8
jb 0x1002ce8c
push dword [ebp - 0x28]
call fcn.1007d9ed
add esp, 4
xor eax, eax
mov word [ebp - 0x28], ax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1007e654
mov esp, ebp
pop ebp
ret
Function at 0x1002d4c0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100ad5d1
mov eax, dword fs:[0]
push eax
sub esp, 0x25c
mov eax, dword [0x100d65e8]
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
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x230]
push eax
mov dword [ebp - 0x268], edi
mov dword [ebp - 0x264], 0
call fcn.10006050
mov ecx, eax
call fcn.1002c020
mov dword [ebp - 4], 1
cmp dword [ebp - 0x220], 0
jne 0x1002d554
xor eax, eax
mov dword [edi + 0x14], 7
mov dword [edi + 0x10], 0
mov word [edi], ax
lea eax, [ebp - 0x230]
push eax
mov ecx, edi
call fcn.1000fcf0
mov dword [ebp - 0x264], 1
jmp 0x1002d71d
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push eax
call fcn.1007f340
add esp, 0xc
call esi
push eax
push 0x100bdc68
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.10081e82
add esp, 0x10
lea ecx, [ebp - 0x230]
push 1
push 0x100bdb2c
call fcn.100068c0
cmp word [ebp - 0x218], 0
mov esi, eax
jne 0x1002d5b8
xor ecx, ecx
jmp 0x1002d5d0
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1002d5c1
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x218]
push eax
mov ecx, esi
call fcn.100068c0
lea ecx, [ebp - 0x230]
call fcn.1002d190
test al, al
je 0x1002d645
xor eax, eax
push 0xffffffffffffffff
push eax
mov word [ebp - 0x248], ax
lea eax, [ebp - 0x230]
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 0
push eax
lea ecx, [ebp - 0x248]
mov dword [ebp - 0x234], 7
mov dword [ebp - 0x238], 0
call fcn.1000f660
lea eax, [ebp - 0x248]
mov byte [ebp - 4], 2
mov ebx, 2
jmp 0x1002d661
push 0x100bd6c4
lea ecx, [ebp - 0x260]
call fcn.1000fb40
mov dword [ebp - 4], 3
mov ebx, 4
mov dword [ebp - 0x264], ebx
xor ecx, ecx
mov dword [edi + 0x14], 7
mov dword [edi + 0x10], 0
mov word [edi], cx
push eax
mov ecx, edi
call fcn.1000fcf0
or ebx, 1
mov dword [ebp - 0x264], ebx
mov dword [ebp - 4], 2
test bl, 4
je 0x1002d6d4
and ebx, 0xfffffffb
mov dword [ebp - 0x264], ebx
cmp dword [ebp - 0x24c], 8
jb 0x1002d6b7
push dword [ebp - 0x260]
call fcn.1007d9ed
add esp, 4
xor eax, eax
mov dword [ebp - 0x24c], 7
mov dword [ebp - 0x250], 0
mov word [ebp - 0x260], ax
mov dword [ebp - 4], 1
test bl, 2
je 0x1002d71d
and ebx, 0xfffffffd
mov dword [ebp - 0x264], ebx
cmp dword [ebp - 0x234], 8
jb 0x1002d700
push dword [ebp - 0x248]
call fcn.1007d9ed
add esp, 4
xor eax, eax
mov dword [ebp - 0x234], 7
mov dword [ebp - 0x238], 0
mov word [ebp - 0x248], ax
mov byte [ebp - 4], 0
cmp dword [ebp - 0x21c], 8
jb 0x1002d738
push dword [ebp - 0x230]
call fcn.1007d9ed
add esp, 4
xor eax, eax
mov dword [ebp - 0x21c], 7
mov dword [ebp - 0x220], eax
mov word [ebp - 0x230], ax
mov eax, edi
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.1007e654
mov esp, ebp
pop ebp
ret
Function at 0x1002e8e0
Capabilities:
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100ad8f1
mov eax, dword fs:[0]
push eax
sub esp, 0x168
mov eax, dword [0x100d65e8]
xor eax, ebp
mov dword [ebp - 0x18], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 0x16c], esi
mov dword [ebp - 4], 0
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x168], ebx
mov dword [ebp - 0x170], 0
mov dword [ebx + 0x14], 0xf
mov dword [ebx + 0x10], 0
mov byte [ebx], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x170], 1
mov dword [ebp - 4], 1
lea eax, [esi + 0x30]
push eax
lea ecx, [ebp - 0x60]
call fcn.10004b80
mov byte [ebp - 4], 2
lea eax, [esi + 0x18]
push eax
lea eax, [ebp - 0x48]
push eax
call fcn.100188b0
mov edi, eax
mov byte [ebp - 4], 3
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0xf0]
push eax
call fcn.100188b0
mov esi, eax
mov byte [ebp - 4], 4
push dword [ebp - 0x16c]
lea eax, [ebp - 0xd8]
push eax
call fcn.100188b0
mov byte [ebp - 4], 5
push eax
push 0x100bdcdc
lea eax, [ebp - 0x90]
push eax
call fcn.1002eb30
add esp, 0x24
mov byte [ebp - 4], 6
push 0x100bdcd8
push eax
lea eax, [ebp - 0xa8]
push eax
call fcn.100120d0
add esp, 0xc
mov byte [ebp - 4], 7
push esi
mov edx, eax
lea ecx, [ebp - 0x78]
call fcn.1002ebb0
add esp, 4
mov byte [ebp - 4], 8
push 0x100bdcd4
push eax
lea eax, [ebp - 0xc0]
push eax
call fcn.100120d0
add esp, 0xc
mov byte [ebp - 4], 9
push edi
mov edx, eax
lea ecx, [ebp - 0x30]
call fcn.1002ebb0
add esp, 4
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0xc0]
call fcn.10010440
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x78]
call fcn.10010440
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0xa8]
call fcn.10010440
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x90]
call fcn.10010440
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0xd8]
call fcn.10010440
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0xf0]
call fcn.10010440
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x48]
call fcn.10010440
lea ecx, [ebp - 0x164]
call fcn.10037a00
call fcn.10037a30
lea eax, [ebp - 0x30]
cmp dword [ebp - 0x1c], 0x10
cmovae eax, dword [ebp - 0x30]
push dword [ebp - 0x20]
push eax
call fcn.10037a60
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x164]
call fcn.100384f0
mov byte [ebp - 4], 0x12
push eax
mov ecx, ebx
call fcn.10004b00
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x48]
call fcn.10010440
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x30]
call fcn.10010440
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x60]
call fcn.100103e0
mov dword [ebp - 4], 0
mov eax, ebx
jmp 0x1002eb0a
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.1007e654
mov esp, ebp
pop ebp
ret 4