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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5dc34d
mov eax, dword fs:[0]
push eax
sub esp, 0xb4
mov eax, dword [0x689140]
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 ebx, ecx
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x44], ebx
lea esi, [ebx + 8]
mov dword [ebx], ebx
mov dword [ebx + 4], ebx
mov dword [ebp - 0x40], esi
push 0x14
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.005988b3
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
mov dword [esi + 8], 0
lea edi, [ebx + 0x18]
mov dword [ebp - 4], 0
mov dword [ebp - 0x40], edi
mov word [edi], 0x101
mov dword [edi + 0x2c], 0
mov byte [ebp - 4], 1
lea ecx, [edi + 0x34]
mov dword [edi + 0x30], 0
call fcn.004bd350
lea ecx, [edi + 0x58]
mov byte [ebp - 4], 2
call fcn.004bd350
lea esi, [edi + 0x7c]
mov byte [ebp - 4], 3
mov dword [ebp - 0x3c], esi
mov dword [esi], 0
push 0x48
mov dword [ebp - 0x3c], esi
mov dword [esi + 4], 0
mov dword [esi + 8], 0
call fcn.005988b3
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [esi + 4], eax
lea ecx, [esi + 0xc]
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
mov byte [ebp - 4], 5
mov dword [esi + 0x18], 7
mov dword [esi + 0x1c], 8
mov dword [esi], 0x3f800000
push dword [esi + 4]
push 0x10
call fcn.004aaa90
mov dword [esi + 0x20], 0
lea esi, [edi + 0xa0]
mov byte [ebp - 4], 6
mov ecx, esi
mov dword [ebp - 0x3c], esi
call fcn.004bc330
mov dword [esi + 0x20], 0
lea esi, [edi + 0xc4]
mov byte [ebp - 4], 7
mov ecx, esi
mov dword [ebp - 0x3c], esi
call fcn.004be9b0
mov dword [esi + 0x20], 0
lea esi, [ebx + 0x100]
mov byte [ebp - 4], 8
mov ecx, esi
mov dword [ebp - 0x3c], esi
call fcn.004bc330
mov dword [esi + 0x20], 0
lea esi, [ebx + 0x124]
mov byte [ebp - 4], 9
mov dword [ebp - 0x3c], esi
mov dword [esi], 0
push 0x40
mov dword [ebp - 0x3c], esi
mov dword [esi + 4], 0
mov dword [esi + 8], 0
call fcn.005988b3
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [esi + 4], eax
lea ecx, [esi + 0xc]
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
mov byte [ebp - 4], 0xb
mov dword [esi + 0x18], 7
mov dword [esi + 0x1c], 8
mov dword [esi], 0x3f800000
push dword [esi + 4]
push 0x10
call fcn.004aaa90
mov dword [esi + 0x20], 0
lea eax, [ebx + 0x148]
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
lea esi, [ebx + 0x160]
mov dword [ebp - 0x98], 0x639ce4
lea eax, [ebp - 0x98]
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x94], ebx
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x40], esi
mov dword [esi + 0x24], 0
push esi
mov ecx, eax
mov byte [ebp - 4], 0xf
call fcn.004bd070
mov dword [esi + 0x24], eax
add esi, 0x28
mov byte [ebp - 4], 0x10
mov dword [ebp - 0x40], esi
push 0x70
mov dword [ebp - 0x40], esi
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
call fcn.005988b3
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [esi + 4], eax
lea ecx, [esi + 0xc]
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
mov byte [ebp - 4], 0x12
mov dword [esi + 0x18], 7
mov dword [esi + 0x1c], 8
mov dword [esi], 0x3f800000
push dword [esi + 4]
push 0x10
call fcn.004aaa90
mov edi, dword [ebp - 0x74]
mov dword [esi + 0x20], 0
test edi, edi
je 0x4bad70
mov eax, dword [edi]
mov esi, dword [eax + 0x10]
lea eax, [ebp - 0x98]
cmp edi, eax
mov ecx, esi
setne al
push eax
call dword [0x5f2510]
mov ecx, edi
call esi
lea eax, [ebp - 0xc0]
mov dword [ebp - 0xc0], 0x639cc8
mov dword [ebp - 0xbc], ebx
mov dword [ebp - 0x9c], eax
lea esi, [ebx + 0x20]
mov dword [ebp - 0x4c], 0
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 0x15
push eax
lea ecx, [ebp - 0xc0]
call fcn.004bd020
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x4c], eax
cmp eax, ecx
je 0x4badc2
mov edi, dword [esi + 0x24]
cmp edi, esi
je 0x4badc2
mov dword [ebp - 0x4c], edi
mov dword [esi + 0x24], eax
jmp 0x4bae10
lea eax, [ebp - 0x70]
mov dword [ebp - 0x14], 0
push eax
lea ecx, [ebp - 0x38]
call fcn.00451300
push esi
lea ecx, [ebp - 0x70]
call fcn.00451300
lea eax, [ebp - 0x38]
mov ecx, esi
push eax
call fcn.00451300
mov edi, dword [ebp - 0x14]
test edi, edi
je 0x4bae0d
mov esi, dword [edi]
lea eax, [ebp - 0x38]
cmp edi, eax
setne al
mov esi, dword [esi + 0x10]
mov ecx, esi
movzx eax, al
push eax
call dword [0x5f2510]
mov ecx, edi
call esi
mov edi, dword [ebp - 0x4c]
test edi, edi
je 0x4bae31
mov esi, dword [edi]
lea eax, [ebp - 0x70]
cmp edi, eax
setne al
mov esi, dword [esi + 0x10]
mov ecx, esi
movzx eax, al
push eax
call dword [0x5f2510]
mov ecx, edi
call esi
mov edi, dword [ebp - 0x9c]
test edi, edi
je 0x4bae5b
mov esi, dword [edi]
lea eax, [ebp - 0xc0]
cmp edi, eax
setne dl
mov esi, dword [esi + 0x10]
mov ecx, esi
movzx edx, dl
push edx
call dword [0x5f2510]
mov ecx, edi
call esi
mov eax, ebx
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.0059860b
mov esp, ebp
pop ebp
ret