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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10033246
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
push ebx
push esi
push edi
mov eax, dword [0x1004805c]
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.10002af0
push dword [ebp + 0x10]
lea ecx, [esi + 0x48]
mov byte [ebp - 4], 4
call fcn.10002af0
push dword [ebp + 0x14]
lea ecx, [esi + 0x60]
mov byte [ebp - 4], 5
call fcn.10002af0
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.10005be0
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.10031240
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 ecx, [esi + 0x12c]
mov dword [ecx], 0
mov dword [ebp - 0x28], ecx
mov dword [ecx + 4], 0
mov dword [ecx + 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 - 0x20], 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 eax, [esi + 0x15c]
mov dword [eax], 0
mov dword [ebp - 0x1c], eax
mov dword [eax + 4], 0
mov dword [eax + 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.10002af0
mov esi, dword [ebp + 0xc]
mov byte [ebp - 4], 0x12
mov ecx, dword [ebp - 0x10]
push esi
add ecx, 0x198
call fcn.10002af0
mov byte [ebp - 4], 0x13
lea eax, [esi + 0x18]
mov ecx, dword [ebp - 0x10]
push eax
lea ecx, [ecx + 0x1b0]
call fcn.10002af0
lea eax, [esi + 0x30]
mov byte [ebp - 4], 0x14
mov esi, dword [ebp - 0x10]
push eax
lea ecx, [esi + 0x1c8]
call fcn.10002af0
mov edx, edi
mov byte [ebp - 4], 0x15
lea ecx, [esi + 0x7c]
call fcn.10004dc0
mov eax, dword [ebp + 0x24]
mov ecx, dword [eax + 4]
mov edi, dword [eax]
mov dword [ebp - 0x2c], ecx
cmp edi, ecx
je 0x1000513a
lea eax, [edi + 0x18]
mov dword [ebp - 0x14], eax
mov eax, dword [esi + 4]
push edi
cmp eax, dword [esi + 8]
je 0x10005106
mov ecx, eax
call fcn.10002af0
add dword [esi + 4], 0x18
jmp 0x1000510e
push eax
mov ecx, esi
call fcn.10006210
mov eax, dword [ebx + 4]
push dword [ebp - 0x14]
cmp eax, dword [ebx + 8]
je 0x10005126
mov ecx, eax
call fcn.10002af0
add dword [ebx + 4], 0x18
jmp 0x1000512e
push eax
mov ecx, ebx
call fcn.10006210
add dword [ebp - 0x14], 0x30
add edi, 0x30
cmp edi, dword [ebp - 0x2c]
jne 0x100050f0
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
cmp esi, eax
jbe 0x1000516c
cmp esi, 0xaaaaaaa
ja 0x100053f3
push esi
call fcn.10005eb0
mov edi, dword [ebp - 0x28]
mov eax, dword [edi + 8]
sub eax, dword [edi]
sar eax, 3
imul eax, eax, 0xaaaaaaab
cmp esi, eax
jbe 0x10005195
cmp esi, 0xaaaaaaa
ja 0x100053f3
push esi
mov ecx, edi
call fcn.10005eb0
mov ecx, dword [ebp - 0x20]
mov eax, dword [ecx + 8]
sub eax, dword [ecx]
sar eax, 3
imul eax, eax, 0xaaaaaaab
cmp esi, eax
jbe 0x100051bc
cmp esi, 0xaaaaaaa
ja 0x100053f3
push esi
call fcn.10005eb0
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ecx + 8]
sub eax, dword [ecx]
sar eax, 3
imul eax, eax, 0xaaaaaaab
cmp esi, eax
jbe 0x100051e3
cmp esi, 0xaaaaaaa
ja 0x100053f3
push esi
call fcn.10005eb0
lea ecx, [ebp - 0x64]
call fcn.10005cd0
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 0x100052af
mov ebx, dword [ebp - 0x20]
mov ecx, dword [esi]
lea eax, [ebp - 0x64]
push eax
add ecx, 0x60
call fcn.1002b040
mov ecx, dword [ebp - 0x18]
mov edx, dword [esi]
push edx
mov eax, dword [ecx + 4]
cmp eax, dword [ecx + 8]
je 0x10005231
mov ecx, eax
call fcn.10002af0
mov eax, dword [ebp - 0x18]
add dword [eax + 4], 0x18
jmp 0x10005237
push eax
call fcn.10006210
mov eax, dword [esi]
mov ecx, dword [edi + 4]
add eax, 0x18
push eax
cmp ecx, dword [edi + 8]
je 0x10005250
call fcn.10002af0
add dword [edi + 4], 0x18
jmp 0x10005258
push ecx
mov ecx, edi
call fcn.10006210
mov eax, dword [esi]
mov ecx, dword [ebx + 4]
add eax, 0x30
push eax
cmp ecx, dword [ebx + 8]
je 0x10005271
call fcn.10002af0
add dword [ebx + 4], 0x18
jmp 0x10005279
push ecx
mov ecx, ebx
call fcn.10006210
mov edx, dword [ebp - 0x1c]
mov eax, dword [esi]
add eax, 0x48
push eax
mov ecx, dword [edx + 4]
cmp ecx, dword [edx + 8]
je 0x10005298
call fcn.10002af0
mov eax, dword [ebp - 0x1c]
add dword [eax + 4], 0x18
jmp 0x100052a0
push ecx
mov ecx, edx
call fcn.10006210
add esi, 4
cmp esi, dword [ebp - 0x2c]
jne 0x10005205
mov ebx, dword [ebp - 0x24]
mov edi, dword [ebp - 0x60]
mov esi, dword [edi]
cmp esi, edi
je 0x10005304
mov eax, dword [ebp - 0x10]
lea edx, [esi + 8]
push edx
mov ecx, dword [eax + 4]
cmp ecx, dword [eax + 8]
je 0x100052d5
call fcn.10002af0
mov eax, dword [ebp - 0x10]
add dword [eax + 4], 0x18
jmp 0x100052dd
push ecx
mov ecx, eax
call fcn.10006210
mov eax, dword [ebx + 4]
lea ecx, [esi + 0x20]
push ecx
cmp eax, dword [ebx + 8]
je 0x100052f6
mov ecx, eax
call fcn.10002af0
add dword [ebx + 4], 0x18
jmp 0x100052fe
push eax
mov ecx, ebx
call fcn.10006210
mov esi, dword [esi]
cmp esi, edi
jne 0x100052b8
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 0x10005348
mov edi, dword [ebp - 0x30]
mov ebx, ecx
mov eax, dword [edi + 4]
push esi
cmp eax, dword [edi + 8]
je 0x10005336
mov ecx, eax
call fcn.10006350
add dword [edi + 4], 0x78
jmp 0x1000533e
push eax
mov ecx, edi
call fcn.10006000
add esi, 0x78
cmp esi, ebx
jne 0x10005320
mov ebx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x18]
call fcn.10004dc0
mov edx, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x28]
call fcn.10004dc0
mov edx, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x20]
call fcn.10004dc0
mov edx, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x1c]
call fcn.10004dc0
mov esi, dword [ebp - 0x10]
mov ecx, esi
mov edx, dword [ebp - 0x44]
call fcn.10004dc0
lea edx, [esi + 0x24]
mov ecx, ebx
call fcn.10004dc0
mov ecx, dword [ebp - 0x54]
mov edx, dword [ebp - 0x58]
sub ecx, edx
and ecx, 0xfffffffc
mov eax, edx
cmp ecx, 0x1000
jb 0x100053b6
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100053b6
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1002f71a
add esp, 8
mov dword [ebp - 0x58], 0
lea ecx, [ebp - 0x60]
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 0
call fcn.10005dd0
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