Function at 0x10004e10
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1002f476
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
push ebx
push esi
push edi
mov eax, dword [0x10044080]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
lea ebx, [esi + 0xc]
mov dword [ebp - 4], 0
mov dword [ebp - 0x24], ebx
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
lea eax, [esi + 0x18]
mov dword [eax], 0
mov dword [ebp - 0x44], eax
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov edi, dword [ebp + 0x20]
lea ecx, [esi + 0x30]
mov byte [ebp - 4], 3
mov eax, dword [edi]
mov eax, dword [eax]
add eax, 0xc8
push eax
call fcn.10002a90
push dword [ebp + 0x10]
lea ecx, [esi + 0x48]
mov byte [ebp - 4], 4
call fcn.10002a90
push dword [ebp + 0x14]
lea ecx, [esi + 0x60]
mov byte [ebp - 4], 5
call fcn.10002a90
push dword [ebp + 0x18]
mov byte [ebp - 4], 6
lea ecx, [esi + 0x7c]
mov eax, dword [edi]
mov eax, dword [eax]
mov al, byte [eax + 0x114]
mov byte [esi + 0x78], al
call fcn.10005b30
lea edi, [esi + 0x88]
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov eax, dword [ebp + 0x1c]
push 0x7c
mov dword [esi + 0x94], eax
lea eax, [esi + 0x98]
push 0
push eax
call fcn.1002d3b0
lea eax, [esi + 0x114]
add esp, 0xc
mov dword [eax], 0
mov dword [ebp - 0x18], eax
mov dword [eax + 4], 0
mov dword [eax + 8], 0
lea eax, [esi + 0x120]
mov dword [eax], 0
mov dword [ebp - 0x34], eax
mov dword [eax + 4], 0
mov dword [eax + 8], 0
lea eax, [esi + 0x12c]
mov dword [eax], 0
mov dword [ebp - 0x20], eax
mov dword [eax + 4], 0
mov dword [eax + 8], 0
lea eax, [esi + 0x138]
mov dword [ebp - 0x38], eax
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
lea eax, [esi + 0x144]
mov dword [eax], 0
mov dword [ebp - 0x1c], eax
mov dword [eax + 4], 0
mov dword [eax + 8], 0
lea eax, [esi + 0x150]
mov dword [eax], 0
mov dword [ebp - 0x3c], eax
mov dword [eax + 4], 0
mov dword [eax + 8], 0
lea ecx, [esi + 0x15c]
mov dword [ecx], 0
mov dword [ebp - 0x28], ecx
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
lea eax, [esi + 0x168]
mov dword [eax], 0
mov dword [ebp - 0x40], eax
mov dword [eax + 4], 0
mov dword [eax + 8], 0
lea eax, [esi + 0x174]
mov dword [esi + 0x174], 0
mov dword [ebp - 0x30], eax
mov dword [esi + 0x178], 0
mov dword [esi + 0x17c], 0
push dword [ebp + 8]
lea ecx, [esi + 0x180]
mov byte [ebp - 4], 0x11
call fcn.10002a90
mov esi, dword [ebp + 0xc]
mov byte [ebp - 4], 0x12
mov ecx, dword [ebp - 0x10]
push esi
add ecx, 0x198
call fcn.10002a90
mov byte [ebp - 4], 0x13
lea eax, [esi + 0x18]
mov ecx, dword [ebp - 0x10]
push eax
lea ecx, [ecx + 0x1b0]
call fcn.10002a90
lea eax, [esi + 0x30]
mov byte [ebp - 4], 0x14
mov esi, dword [ebp - 0x10]
push eax
lea ecx, [esi + 0x1c8]
call fcn.10002a90
mov edx, edi
mov byte [ebp - 4], 0x15
lea ecx, [esi + 0x7c]
call fcn.10004d80
mov eax, dword [ebp + 0x24]
mov ecx, dword [eax + 4]
mov edi, dword [eax]
mov dword [ebp - 0x2c], ecx
cmp edi, ecx
je 0x100050fa
lea eax, [edi + 0x18]
mov dword [ebp - 0x14], eax
mov eax, dword [esi + 4]
push edi
cmp eax, dword [esi + 8]
je 0x100050c6
mov ecx, eax
call fcn.10002a90
add dword [esi + 4], 0x18
jmp 0x100050ce
push eax
mov ecx, esi
call fcn.100065c0
mov eax, dword [ebx + 4]
push dword [ebp - 0x14]
cmp eax, dword [ebx + 8]
je 0x100050e6
mov ecx, eax
call fcn.10002a90
add dword [ebx + 4], 0x18
jmp 0x100050ee
push eax
mov ecx, ebx
call fcn.100065c0
add dword [ebp - 0x14], 0x30
add edi, 0x30
cmp edi, dword [ebp - 0x2c]
jne 0x100050b0
mov eax, dword [ebp + 0x20]
mov ecx, dword [ebp - 0x18]
mov esi, dword [eax + 4]
sub esi, dword [eax]
mov eax, dword [ecx + 8]
sub eax, dword [ecx]
sar eax, 3
imul eax, eax, 0xaaaaaaab
sar esi, 2
mov dword [ebp - 0x2c], esi
cmp esi, eax
jbe 0x10005132
cmp esi, 0xaaaaaaa
ja 0x100053d7
lea eax, [ebp - 0x2c]
push eax
call fcn.10005ea0
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x2c], esi
mov eax, dword [ecx + 8]
sub eax, dword [ecx]
sar eax, 3
imul eax, eax, 0xaaaaaaab
cmp esi, eax
jbe 0x1000515f
cmp esi, 0xaaaaaaa
ja 0x100053d7
lea eax, [ebp - 0x2c]
push eax
call fcn.10005ea0
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x2c], esi
mov eax, dword [ecx + 8]
sub eax, dword [ecx]
sar eax, 3
imul eax, eax, 0xaaaaaaab
cmp esi, eax
jbe 0x1000518c
cmp esi, 0xaaaaaaa
ja 0x100053d7
lea eax, [ebp - 0x2c]
push eax
call fcn.10005ea0
mov edi, dword [ebp - 0x28]
mov dword [ebp - 0x2c], esi
mov eax, dword [edi + 8]
sub eax, dword [edi]
sar eax, 3
imul eax, eax, 0xaaaaaaab
cmp esi, eax
jbe 0x100051bb
cmp esi, 0xaaaaaaa
ja 0x100053d7
lea eax, [ebp - 0x2c]
mov ecx, edi
push eax
call fcn.10005ea0
lea ecx, [ebp - 0x64]
call fcn.10005c70
mov ecx, dword [ebp + 0x20]
mov byte [ebp - 4], 0x16
mov eax, dword [ecx + 4]
mov esi, dword [ecx]
mov dword [ebp - 0x2c], eax
cmp esi, eax
je 0x1000528a
mov ebx, dword [ebp - 0x20]
nop dword [eax]
mov ecx, dword [esi]
lea eax, [ebp - 0x64]
push eax
add ecx, 0x60
call fcn.10027f20
mov eax, dword [ebp - 0x18]
mov edx, dword [esi]
push edx
mov ecx, dword [eax + 4]
cmp ecx, dword [eax + 8]
je 0x1000520a
call fcn.10002a90
mov eax, dword [ebp - 0x18]
add dword [eax + 4], 0x18
jmp 0x10005212
push ecx
mov ecx, eax
call fcn.100065c0
mov eax, dword [esi]
mov ecx, dword [ebx + 4]
add eax, 0x18
push eax
cmp ecx, dword [ebx + 8]
je 0x1000522b
call fcn.10002a90
add dword [ebx + 4], 0x18
jmp 0x10005233
push ecx
mov ecx, ebx
call fcn.100065c0
mov ecx, dword [ebp - 0x1c]
mov eax, dword [esi]
add eax, 0x30
push eax
mov edx, dword [ecx + 4]
cmp edx, dword [ecx + 8]
je 0x10005254
mov ecx, edx
call fcn.10002a90
mov eax, dword [ebp - 0x1c]
add dword [eax + 4], 0x18
jmp 0x1000525a
push edx
call fcn.100065c0
mov eax, dword [esi]
mov ecx, dword [edi + 4]
add eax, 0x48
push eax
cmp ecx, dword [edi + 8]
je 0x10005273
call fcn.10002a90
add dword [edi + 4], 0x18
jmp 0x1000527b
push ecx
mov ecx, edi
call fcn.100065c0
add esi, 4
cmp esi, dword [ebp - 0x2c]
jne 0x100051e0
mov ebx, dword [ebp - 0x24]
mov edi, dword [ebp - 0x60]
mov esi, dword [edi]
cmp esi, edi
je 0x100052df
mov eax, dword [ebp - 0x10]
lea edx, [esi + 8]
push edx
mov ecx, dword [eax + 4]
cmp ecx, dword [eax + 8]
je 0x100052b0
call fcn.10002a90
mov eax, dword [ebp - 0x10]
add dword [eax + 4], 0x18
jmp 0x100052b8
push ecx
mov ecx, eax
call fcn.100065c0
mov eax, dword [ebx + 4]
lea ecx, [esi + 0x20]
push ecx
cmp eax, dword [ebx + 8]
je 0x100052d1
mov ecx, eax
call fcn.10002a90
add dword [ebx + 4], 0x18
jmp 0x100052d9
push eax
mov ecx, ebx
call fcn.100065c0
mov esi, dword [esi]
cmp esi, edi
jne 0x10005293
mov edi, dword [ebp + 0x20]
mov eax, dword [edi]
mov eax, dword [eax]
mov ecx, dword [eax + 0x90]
mov esi, dword [eax + 0x8c]
cmp esi, ecx
je 0x10005328
mov edi, dword [ebp - 0x30]
mov ebx, ecx
nop dword [eax + eax]
mov eax, dword [edi + 4]
push esi
cmp eax, dword [edi + 8]
je 0x10005316
mov ecx, eax
call fcn.10006870
add dword [edi + 4], 0x78
jmp 0x1000531e
push eax
mov ecx, edi
call fcn.100062a0
add esi, 0x78
cmp esi, ebx
jne 0x10005300
mov ebx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x18]
call fcn.10004d80
mov edx, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x20]
call fcn.10004d80
mov edx, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x1c]
call fcn.10004d80
mov edx, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x28]
call fcn.10004d80
mov esi, dword [ebp - 0x10]
mov ecx, esi
mov edx, dword [ebp - 0x44]
call fcn.10004d80
lea edx, [esi + 0x24]
mov ecx, ebx
call fcn.10004d80
mov edx, dword [ebp - 0x58]
test edx, edx
je 0x100053b9
mov ecx, dword [ebp - 0x50]
mov eax, edx
sub ecx, edx
and ecx, 0xfffffffc
cmp ecx, 0x1000
jb 0x1000539a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1000539a
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1002b9f2
add esp, 8
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 0
lea ecx, [ebp - 0x60]
call fcn.10005d80
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 0x20
call fcn.100041a0
int3