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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x14]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x2c]
lea edx, [edx + 1]
mov dword [eax + 0x28], edx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x24], eax
mov eax, dword [eax + 0x34]
mov edx, dword [ebp - 0x24]
mov ecx, dword [edx + 0x28]
xor edx, edx
div ecx
mov edx, dword [ebp - 0x24]
mov dword [edx + 0x30], eax
mov eax, dword [ebp + 8]
cmp dword [eax + 0x28], 1
jbe 0x52d970
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x38]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 8]
push eax
call fcn.0052cd6d
add esp, 4
mov dword [ebp - 0x14], 0
jmp 0x52d95c
mov eax, dword [ebp - 0x14]
mov edx, 0x18
mul edx
mov edx, dword [ebp + 8]
mov edx, dword [edx + 0x3c]
mov dword [edx + eax + 0xc], 0
mov eax, dword [ebp - 0x14]
mov edx, 0x18
mul edx
mov edx, dword [ebp + 8]
mov edx, dword [edx + 0x3c]
mov dword [edx + eax + 0x10], 0
mov eax, dword [ebp - 0x14]
mov edx, 0x18
mul edx
mov edx, dword [ebp + 8]
mov edx, dword [edx + 0x3c]
mov ecx, dword [ebp - 0x28]
mov dword [edx + eax + 0x14], ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x2c], eax
mov edx, dword [eax + 0xc]
lea edx, [edx + 4]
mov eax, edx
mov edx, dword [ebp - 0x2c]
mul dword [edx + 0x30]
mov edx, dword [ebp - 0x28]
lea eax, [edx + eax]
mov dword [ebp - 0x28], eax
inc dword [ebp - 0x14]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x28]
cmp dword [ebp - 0x14], eax
jb 0x52d8f5
jmp 0x52d9ad
mov eax, dword [ebp + 8]
push eax
call fcn.0052c8a0
add esp, 4
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x3c]
mov eax, dword [eax + 0x24]
mov dword [edx + 8], eax
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x3c]
mov eax, dword [eax + 0x24]
mov dword [edx + 0xc], eax
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x3c]
mov dword [edx + 0x10], 0
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x3c]
mov eax, dword [eax + 0x38]
mov dword [edx + 0x14], eax
mov eax, dword [ebp + 8]
push eax
call fcn.0052d077
add esp, 4
mov dword [ebp - 0x10], 0
jmp 0x52da7b
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp + 8]
push eax
call fcn.0052d23f
add esp, 0xc
cmp eax, 0
jne 0x52d9f8
push 0
push 0
push str.hb_cdxSortOut:_memory_structure_corrupted.
push 0x2458
call fcn.00476be0
add esp, 0x10
cmp dword [ebp - 0x20], 0
je 0x52da3a
cmp dword [ebp - 0x10], 0
je 0x52da3a
push 0
mov eax, dword [ebp - 0x18]
push eax
mov edx, dword [ebp - 8]
push edx
push eax
mov eax, dword [ebp + 8]
lea edx, [eax + 0x148]
push edx
mov eax, dword [eax]
push eax
call fcn.0051a0db
add esp, 0x18
cmp eax, 0
jne 0x52da3a
jmp 0x52da78
push 0
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
push eax
push 0
mov eax, dword [ebp + 8]
push eax
call fcn.0052c8fc
add esp, 0x14
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp + 8]
lea eax, [eax + 0x148]
push eax
call fcn.0048ed60
add esp, 0xc
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0xc]
mov dword [edx + 0x238], eax
inc dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x20]
cmp dword [ebp - 0x10], eax
jb 0x52d9c5
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp + 8]
push eax
call fcn.0052d23f
add esp, 0xc
cmp eax, 0
je 0x52dabd
push 0
push 0
push str.hb_cdxSortOut:_memory_structure_corrupted_2_.
push 0x245a
call fcn.00476be0
add esp, 0x10
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x40]
cmp eax, 0
jne 0x52db00
push 0
push 0
mov eax, dword [ebp + 8]
mov dword [ebp - 0x28], eax
mov edx, dword [eax]
push edx
call fcn.0051e20e
add esp, 0xc
mov edx, dword [ebp - 0x28]
mov dword [edx + 0x40], eax
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x40]
mov byte [edx + 0xc], 2
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x40]
push eax
call fcn.0051d35a
add esp, 4
mov dword [ebp - 4], 0
mov dword [ebp - 0x1c], 1
mov eax, dword [ebp - 4]
lea edx, [eax + 1]
cmp edx, 0x40
je 0x52db2d
mov edx, dword [ebp + 8]
mov eax, dword [edx + eax*4 + 0x44]
cmp eax, 0
jne 0x52db5a
mov eax, dword [ebp - 4]
mov edx, dword [ebp + 8]
mov eax, dword [edx + eax*4 + 0x40]
lea eax, [eax + 0xc]
or byte [eax], 1
mov eax, dword [ebp + 8]
mov edx, dword [eax]
mov ecx, dword [ebp - 4]
mov eax, dword [eax + ecx*4 + 0x40]
mov eax, dword [eax]
mov dword [edx + 0x78], eax
mov dword [ebp - 0x1c], 0
jmp 0x52db82
mov eax, dword [ebp - 4]
mov edx, dword [ebp + 8]
mov ecx, dword [edx + eax*4 + 0x40]
mov ecx, dword [ecx]
push ecx
mov ecx, dword [edx + 0x238]
push ecx
lea ecx, [edx + 0x148]
push ecx
lea eax, [eax + 1]
push eax
push edx
call fcn.0052c8fc
add esp, 0x14
push 1
mov eax, dword [ebp - 4]
mov edx, dword [ebp + 8]
mov eax, dword [edx + eax*4 + 0x40]
push eax
call fcn.0051e425
add esp, 8
inc dword [ebp - 4]
cmp dword [ebp - 0x1c], 0
jne 0x52db0e
mov esp, ebp
pop ebp
ret