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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffbc
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x28], ecx
test dl, dl
je 0x4f716b
add esp, 0xfffffff0
call fcn.00404830
mov byte [ebp - 1], dl
mov ebx, eax
xor eax, eax
push ebp
push 0x4f7403
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
mov eax, ebx
call fcn.00404488
mov eax, 0x4f7434
call fcn.004d7d04
push 0x4f744c
push 0
push 0
call fcn.00407d6c
mov dword [ebx + 4], eax
push 0x4f745c
push 0
push 0
call fcn.00407d6c
mov edx, dword [0x6c6250]
mov dword [edx], eax
mov byte [ebx + 8], 0
lea eax, [ebx + 0xc]
call fcn.00405324
lea eax, [ebx + 0x10]
call fcn.00405324
lea eax, [ebx + 0x14]
call fcn.00405324
lea eax, [ebx + 0x18]
call fcn.00405324
mov word [ebx + 0x1c], 0xffff
xor eax, eax
mov dword [ebx + 0x20], eax
xor eax, eax
mov dword [ebx + 0x30], eax
mov dword [ebx + 0x34], eax
push 0
lea eax, [ebx + 0x28]
mov ecx, 1
mov edx, dword [0x4d7c68]
call fcn.00406a08
add esp, 4
mov eax, ebx
call fcn.004f7b14
lea eax, [ebp - 0x10]
push eax
lea edx, [ebp - 0x24]
mov eax, dword [ebx + 0xc]
call fcn.0040a200
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x20], eax
mov byte [ebp - 0x1c], 0xb
lea edx, [ebp - 0x28]
mov eax, dword [ebx + 0x10]
call fcn.0040a200
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x14], 0xb
lea edx, [ebp - 0x20]
mov ecx, 1
mov eax, 0x4f7478
call fcn.0040bd18
mov eax, dword [ebp - 0x10]
call fcn.004d7d04
lea edx, [ebp - 0x2c]
mov eax, dword [ebx + 0xc]
call fcn.00409fd8
mov eax, dword [ebp - 0x2c]
mov edx, 0x4f7494
call fcn.0040574c
jne 0x4f73d3
mov eax, dword [ebx + 0x10]
call fcn.004f70b4
test al, al
je 0x4f72aa
lea eax, [ebp - 0x30]
push eax
mov eax, dword [ebx + 0x10]
mov dword [ebp - 0x38], eax
mov byte [ebp - 0x34], 0xb
lea edx, [ebp - 0x38]
xor ecx, ecx
mov eax, 0x4f74b4
call fcn.0040bd18
mov eax, dword [ebp - 0x30]
call fcn.004d7d04
jmp 0x4f73d3
mov byte [ebp - 9], 0
xor esi, esi
jmp 0x4f73c4
lea edx, [ebp - 0x3c]
lea eax, [esi + esi*2]
mov eax, dword [eax*4 + 0x6b7e80]
call fcn.00409f88
mov eax, dword [ebp - 0x3c]
push eax
lea eax, [ebp - 0x44]
push eax
lea eax, [esi + esi*2]
mov eax, dword [eax*4 + 0x6b7e80]
call fcn.00405600
mov ecx, eax
mov eax, dword [ebx + 0x10]
mov edx, 1
call fcn.00405860
mov eax, dword [ebp - 0x44]
lea edx, [ebp - 0x40]
call fcn.00409f88
mov edx, dword [ebp - 0x40]
pop eax
call fcn.0040574c
jne 0x4f73c3
mov byte [ebp - 9], 1
lea eax, [esi + esi*2]
cmp dword [eax*4 + 0x6b7e84], 0
jne 0x4f7327
mov eax, 0x4f74e0
call fcn.004d7d04
jmp 0x4f73c3
lea eax, [ebx + 0x18]
lea edx, [esi + esi*2]
mov edx, dword [edx*4 + 0x6b7e80]
call fcn.00405378
lea eax, [esi + esi*2]
mov eax, dword [eax*4 + 0x6b7e84]
mov dword [ebx + 0x20], eax
mov eax, 0x4f7514
call fcn.004d7d04
mov byte [ebx + 8], 1
push 0
lea eax, [ebx + 0x24]
mov ecx, 1
mov edx, dword [0x4f68b8]
call fcn.00406a08
add esp, 4
mov dword [ebp - 8], 0x19
mov edi, 0x6b7f64
mov eax, dword [ebx + 0x24]
call fcn.0040682c
inc eax
push eax
lea eax, [ebx + 0x24]
mov ecx, 1
mov edx, dword [0x4f68b8]
call fcn.00406a08
add esp, 4
mov eax, dword [ebx + 0x24]
call fcn.0040682c
lea eax, [eax + eax*4]
mov edx, dword [ebx + 0x24]
lea eax, [edx + eax*4 - 0x14]
imul edx, esi, 0x7d
lea edx, [edi + edx*4]
mov ecx, dword [0x4f686c]
call fcn.004061cc
add edi, 0x14
dec dword [ebp - 8]
jne 0x4f7378
inc esi
cmp esi, 0x12
jg 0x4f73d3
cmp byte [ebp - 9], 0
je 0x4f72b5
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4f740a
lea eax, [ebp - 0x44]
mov edx, 3
call fcn.00405348
lea eax, [ebp - 0x30]
mov edx, 4
call fcn.00405348
lea eax, [ebp - 0x10]
call fcn.00405324
ret