Function at 0x4c48ec
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x503582
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x20], ecx
add ecx, 0x78
mov dword [ebp - 0x2c], ecx
push 0x14
call fcn.004fd56e
pop ecx
mov dword [ebp - 0x28], eax
xor ecx, ecx
test eax, eax
je 0x4c4937
xor edx, edx
mov dword [ebp - 0x24], edx
mov dword [eax], edx
mov ecx, dword [ebp - 0x24]
add ecx, 1
mov edx, eax
add edx, 4
je 0x4c494e
mov dword [ebp - 0x24], ecx
mov dword [eax + 4], 0
mov ecx, dword [ebp - 0x24]
add ecx, 1
mov dword [ebp - 0x24], ecx
mov edx, eax
add edx, 8
je 0x4c4962
mov dword [eax + 8], 0
mov ecx, dword [ebp - 0x28]
mov edx, 1
xor eax, eax
mov byte [ecx + 0x10], dl
mov esi, dword [ebp - 0x28]
mov byte [esi + 0x11], al
mov ebx, dword [ebp - 0x2c]
mov edi, dword [ebp - 0x28]
mov dword [ebx + 4], edi
mov ecx, dword [ebp - 0x2c]
mov ecx, dword [ecx + 4]
mov byte [ecx + 0x11], dl
mov edx, dword [ebp - 0x2c]
mov ecx, dword [edx + 4]
mov edx, dword [ebp - 0x2c]
mov edx, dword [edx + 4]
mov dword [edx + 4], ecx
mov edx, dword [ebp - 0x2c]
mov ecx, dword [edx + 4]
mov edx, dword [ebp - 0x2c]
mov edx, dword [edx + 4]
mov dword [edx], ecx
mov edx, dword [ebp - 0x2c]
mov ecx, dword [edx + 4]
mov edx, dword [ebp - 0x2c]
mov edx, dword [edx + 4]
mov dword [edx + 8], ecx
mov edx, dword [ebp - 0x2c]
mov dword [edx + 8], eax
mov dword [ebp - 4], 2
inc dword [0x5bee20]
push dword [0x50d2d0]
call fcn.004fd6e2
mov edx, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x20]
mov ebx, dword [ebp + 8]
mov dword [edx + 0x84], eax
mov eax, dword [0x50d2d0]
mov esi, dword [ebp - 0x20]
mov dword [ecx + 0x88], eax
mov eax, dword [ebx + 0x88]
mov edi, dword [esi + 0x88]
cmp eax, edi
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp + 8]
jl 0x4c4a06
mov eax, edi
push eax
push dword [edx + 0x84]
push dword [ecx + 0x84]
call fcn.004fd7e4
mov edx, dword [ebp - 0x20]
mov eax, dword [0x50d1b0]
mov ecx, dword [ebp - 0x20]
mov dword [edx + 0x38], eax
mov ebx, dword [ecx + 0x38]
add ebx, ebx
add ebx, ebx
push ebx
call fcn.004fd6e2
add esp, 0x14
mov esi, dword [ebp - 0x20]
mov edi, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x20]
mov dword [esi + 0x34], eax
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 8]
mov dword [edi + 0x3c], 0
movzx edx, byte [eax]
mov byte [ecx], dl
mov edx, dword [ebp - 0x20]
mov eax, dword [ebx + 4]
mov dword [edx + 4], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x20]
mov eax, dword [eax + 8]
mov ecx, dword [ebp - 0x20]
add ecx, 0x16
mov dword [edx + 8], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x20]
mov eax, dword [eax + 0xc]
mov dword [edx + 0xc], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x20]
movzx eax, word [eax + 0x10]
mov word [edx + 0x10], ax
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x20]
movzx eax, word [eax + 0x12]
mov word [edx + 0x12], ax
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x20]
movzx eax, word [eax + 0x14]
mov word [edx + 0x14], ax
mov edx, dword [ebp + 8]
add edx, 0x16
mov eax, dword [edx]
mov dword [ecx], eax
movzx eax, word [edx + 4]
mov word [ecx + 4], ax
mov esi, dword [ebp + 8]
mov eax, dword [ebp - 0x20]
mov edi, dword [esi + 0x1c]
mov dword [eax + 0x1c], edi
mov edx, dword [ebp + 8]
mov ebx, dword [ebp - 0x20]
mov ecx, dword [edx + 0x20]
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x20]
mov dword [ebx + 0x20], ecx
mov eax, dword [eax + 0x24]
mov dword [edx + 0x24], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x20]
movzx eax, byte [eax + 0x28]
mov byte [edx + 0x28], al
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x20]
mov eax, dword [eax + 0x2c]
mov dword [edx + 0x2c], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x20]
movzx eax, word [eax + 0x30]
mov word [edx + 0x30], ax
mov eax, dword [ebp + 8]
cmp dword [eax + 0x3c], 0
je 0x4c4b16
push str.globax_block_count_is_not_0
call fcn.00429c10
pop ecx
mov eax, dword [ebp - 0x20]
mov edi, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4