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

Disassembly:
sub esp, 0x4f4
push ebx
push ebp
push esi
mov ebp, ecx
mov ecx, dword [esp + 0x504]
push edi
xor edi, edi
cmp ecx, edi
jl 0x53d029
cmp ecx, 0x96
jge 0x53d029
mov eax, 0x66666667
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, ecx
mov esi, edx
mov ecx, 0xa
cdq
idiv ecx
lea eax, [esi + esi*4]
lea eax, [edx + eax*2]
mov ecx, eax
mov dword [esp + 0x14], eax
shl ecx, 4
add ecx, eax
mov ebx, dword [ebp + ecx*8 + 0xe0]
lea eax, [ebp + ecx*8]
push ebx
mov ecx, ebp
mov dword [esp + 0x14], eax
mov dword [esp + 0x20], ebx
call fcn.0053bf30
test eax, eax
je 0x53d06e
xor edx, edx
mov dword [esp + 0x20], edi
mov dword [esp + 0xb6], edx
mov ecx, 0x4c
mov dword [esp + 0xba], edx
lea esi, [esp + 0x3c]
mov dword [esp + 0xbe], edx
lea edi, [esp + 0x3d4]
mov byte [esp + 0xc2], dl
mov dword [esp + 0x3d0], ebx
rep movsd dword es:[edi], dword [esi]
lea eax, [esp + 0x3d0]
lea ecx, [esp + 0x34]
push eax
push ecx
mov ecx, ebp
call fcn.00474ae0
mov edx, eax
mov eax, dword [edx]
mov ecx, dword [edx + 4]
mov dword [esp + 0x28], ecx
mov ecx, dword [eax + 0x78]
test ecx, ecx
jle 0x53d06e
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
add edx, 2
add eax, 0xec
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], eax
xor ecx, ecx
lea esi, [esp + 0x16c]
mov dword [esp + 0x1e6], ecx
lea edi, [esp + 0x2a0]
mov dword [esp + 0x1ea], ecx
mov dword [esp + 0x29c], ebx
mov dword [esp + 0x1ee], ecx
lea edx, [esp + 0x29c]
mov byte [esp + 0x1f2], cl
mov ecx, 0x4c
rep movsd dword es:[edi], dword [esi]
lea eax, [esp + 0x2c]
push edx
push eax
mov ecx, ebp
mov dword [esp + 0x20], 0
call fcn.00474ae0
mov ecx, eax
mov eax, dword [ecx]
mov edx, dword [ecx + 4]
mov ecx, dword [eax + 0x74]
test ecx, ecx
mov dword [esp + 0x28], edx
jle 0x53cf96
mov ebx, dword [esp + 0x10]
mov eax, dword [ebx - 8]
mov ecx, dword [esp + 0x50c]
mov edx, dword [esp + 0x1c]
mov esi, dword [ebx - 0xc]
cmp ecx, eax
jl 0x53cf12
cmp edx, esi
jne 0x53cf1b
mov eax, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
add eax, esi
xor ecx, ecx
mov esi, eax
mov dword [ebx - 0xc], ecx
mov dword [ebx - 4], 0xffffffff
mov dword [ebx], 0xffffffff
shl esi, 4
mov dword [ebx - 8], ecx
add esi, eax
mov dword [ebx + 8], ecx
mov dword [ebx + 0x20], ecx
mov dword [ebp + esi*8], ecx
jmp 0x53cf1b
cmp edx, esi
jne 0x53cf1b
sub eax, ecx
mov dword [ebx - 8], eax
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x29c], edx
inc ecx
lea esi, [esp + 0x16c]
mov dword [esp + 0x18], ecx
xor ecx, ecx
mov dword [esp + 0x1e6], ecx
lea edi, [esp + 0x2a0]
mov dword [esp + 0x1ea], ecx
lea edx, [esp + 0x29c]
mov dword [esp + 0x1ee], ecx
lea eax, [esp + 0x2c]
mov byte [esp + 0x1f2], cl
mov ecx, 0x4c
rep movsd dword es:[edi], dword [esi]
push edx
push eax
mov ecx, ebp
add ebx, 0x88
call fcn.00474ae0
mov ecx, eax
mov eax, dword [ecx]
mov edx, dword [ecx + 4]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x28], edx
mov edx, dword [eax + 0x74]
cmp ecx, edx
jl 0x53cec7
mov ebx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
xor edx, edx
mov dword [esp + 0xb6], edx
inc ecx
add edi, 0xa
mov dword [esp + 0xba], edx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x14], edi
mov dword [esp + 0xbe], edx
add eax, 0x550
mov ecx, 0x4c
lea esi, [esp + 0x3c]
lea edi, [esp + 0x3d4]
mov byte [esp + 0xc2], dl
mov dword [esp + 0x3d0], ebx
mov dword [esp + 0x10], eax
rep movsd dword es:[edi], dword [esi]
lea eax, [esp + 0x3d0]
lea ecx, [esp + 0x34]
push eax
push ecx
mov ecx, ebp
call fcn.00474ae0
mov edx, eax
mov eax, dword [edx]
mov ecx, dword [edx + 4]
mov edx, dword [esp + 0x20]
mov dword [esp + 0x28], ecx
mov ecx, dword [eax + 0x78]
cmp edx, ecx
jl 0x53ce57
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4f4
ret 8
cmp ecx, 0xc8
jl 0x53d06e
cmp ecx, 0xcf
jge 0x53d06e
lea eax, [ecx*8]
sub eax, ecx
lea ecx, [ecx + eax*4]
mov eax, dword [ebp + ecx*4 - 0xa10]
push eax
lea esi, [ebp + ecx*4]
mov ecx, ebp
call fcn.0053bf30
test eax, eax
je 0x53d06e
mov dword [esi - 0xa10], edi
mov dword [esi - 0xa0c], edi
mov dword [esi - 0x9fc], edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4f4
ret 8