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

Disassembly:
mov ecx, dword [0x8c8600]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x529ef8
sub esp, 0x48
mov eax, dword [esp + 0x6c]
mov ecx, eax
and eax, 0x40
mov dword [esp + 0x40], eax
test eax, eax
jne 0x5297c9
mov edx, dword [esp + 0x4c]
mov ebx, dword [edx + 8]
mov ebp, dword [edx + 4]
mov esi, dword [esp + 0x68]
lea edi, [ebp + esi]
mov eax, dword [edx]
cmp ebx, edi
jae 0x52976a
mov dword [esp + 0x3c], ebp
mov dword [esp], eax
mov dword [esp + 4], edi
mov dword [esp + 8], ebx
mov dword [esp + 0xc], esi
lea eax, [0x6c0100]
mov dword [esp + 0x10], eax
call fcn.00472770
mov eax, dword [esp + 0x14]
mov edi, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x3c]
mov esi, dword [esp + 0x68]
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x38], edi
mov dword [esp + 0x44], eax
lea ecx, [eax + ebp]
mov dword [esp], ecx
mov ecx, dword [esp + 0x64]
mov dword [esp + 4], ecx
mov dword [esp + 8], esi
call fcn.00477ad0
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x4c]
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x3c]
mov dword [ecx + 8], eax
mov eax, dword [0x8c88d8]
test eax, eax
jne 0x5297af
mov eax, dword [esp + 0x44]
jmp 0x5297bf
call fcn.004772f0
mov eax, dword [esp + 0x44]
mov dword [edi], eax
mov edx, dword [ecx]
mov dword [edi + 4], edx
mov dword [ecx], eax
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x6c]
test ecx, 7
je 0x529c48
test ecx, 0x20
je 0x529803
lea edi, [esp]
lea esi, [esp + 0x50]
call fcn.004778be
call fcn.004b7580
lea edi, [esp + 0x50]
lea esi, [esp + 0x14]
call fcn.004778be
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x6c]
test ecx, 1
je 0x5299c2
lea edi, [esp]
lea esi, [esp + 0x50]
call fcn.004778be
call fcn.004b6240
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x2c], ecx
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x34], edx
mov ebx, dword [esp + 0x4c]
mov dword [esp], ebx
mov dword [esp + 4], eax
mov dword [esp + 8], 4
call fcn.005295b0
mov eax, dword [esp + 0x4c]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
inc edx
mov ebx, dword [eax]
cmp ecx, edx
jae 0x5298ae
mov dword [esp], ebx
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 1
lea eax, [0x6c0100]
mov dword [esp + 0x10], eax
call fcn.00472770
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x4c]
mov dword [ebx + 8], eax
mov eax, dword [0x8c88d8]
test eax, eax
je 0x5298a8
call fcn.004772f0
mov dword [edi], ecx
mov eax, dword [ebx]
mov dword [edi + 4], eax
mov dword [ebx], ecx
mov eax, ebx
mov ebx, ecx
mov dword [eax + 4], edx
mov byte [edx + ebx - 1], 0x2f
mov dword [esp], eax
mov ecx, dword [esp + 0x2c]
mov dword [esp + 4], ecx
mov dword [esp + 8], 2
call fcn.005295b0
mov eax, dword [esp + 0x4c]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
inc edx
mov ebx, dword [eax]
cmp ecx, edx
jae 0x529930
mov dword [esp], ebx
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 1
lea eax, [0x6c0100]
mov dword [esp + 0x10], eax
call fcn.00472770
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x4c]
mov dword [ebx + 8], eax
mov eax, dword [0x8c88d8]
test eax, eax
je 0x52992a
call fcn.004772f0
mov dword [edi], ecx
mov eax, dword [ebx]
mov dword [edi + 4], eax
mov dword [ebx], ecx
mov eax, ebx
mov ebx, ecx
mov dword [eax + 4], edx
mov byte [edx + ebx - 1], 0x2f
mov dword [esp], eax
mov ecx, dword [esp + 0x34]
mov dword [esp + 4], ecx
mov dword [esp + 8], 2
call fcn.005295b0
mov eax, dword [esp + 0x4c]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
inc edx
mov ebx, dword [eax]
cmp ecx, edx
jae 0x5299b2
mov dword [esp], ebx
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 1
lea eax, [0x6c0100]
mov dword [esp + 0x10], eax
call fcn.00472770
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x4c]
mov dword [ebx + 8], eax
mov eax, dword [0x8c88d8]
test eax, eax
je 0x5299ac
call fcn.004772f0
mov dword [edi], ecx
mov eax, dword [ebx]
mov dword [edi + 4], eax
mov dword [ebx], ecx
mov eax, ebx
mov ebx, ecx
mov dword [eax + 4], edx
mov byte [edx + ebx - 1], 0x20
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x6c]
test ecx, 6
je 0x529c48
lea edi, [esp]
lea esi, [esp + 0x50]
call fcn.004778be
call fcn.004b6390
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x30], ecx
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x28], edx
mov ebx, dword [esp + 0x4c]
mov dword [esp], ebx
mov dword [esp + 4], eax
mov dword [esp + 8], 2
call fcn.005295b0
mov eax, dword [esp + 0x4c]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
inc edx
mov ebx, dword [eax]
cmp ecx, edx
jae 0x529a6d
mov dword [esp], ebx
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 1
lea eax, [0x6c0100]
mov dword [esp + 0x10], eax
call fcn.00472770
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x4c]
mov dword [ebx + 8], eax
mov eax, dword [0x8c88d8]
test eax, eax
je 0x529a67
call fcn.004772f0
mov dword [edi], ecx
mov eax, dword [ebx]
mov dword [edi + 4], eax
mov dword [ebx], ecx
mov eax, ebx
mov ebx, ecx
mov dword [eax + 4], edx
mov byte [edx + ebx - 1], 0x3a
mov dword [esp], eax
mov ecx, dword [esp + 0x30]
mov dword [esp + 4], ecx
mov dword [esp + 8], 2
call fcn.005295b0
mov eax, dword [esp + 0x4c]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
inc edx
mov ebx, dword [eax]
cmp ecx, edx
jae 0x529aef
mov dword [esp], ebx
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 1
lea eax, [0x6c0100]
mov dword [esp + 0x10], eax
call fcn.00472770
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x4c]
mov dword [ebx + 8], eax
mov eax, dword [0x8c88d8]
test eax, eax
je 0x529ae9
call fcn.004772f0
mov dword [edi], ecx
mov eax, dword [ebx]
mov dword [edi + 4], eax
mov dword [ebx], ecx
mov eax, ebx
mov ebx, ecx
mov dword [eax + 4], edx
mov byte [edx + ebx - 1], 0x3a
mov dword [esp], eax
mov ecx, dword [esp + 0x28]
mov dword [esp + 4], ecx
mov dword [esp + 8], 2
call fcn.005295b0
mov eax, dword [esp + 0x6c]
test eax, 4
je 0x529bd0
mov ecx, dword [esp + 0x4c]
mov edx, dword [ecx + 8]
mov ebx, dword [ecx + 4]
inc ebx
mov ebp, dword [ecx]
cmp edx, ebx
jae 0x529b84
mov dword [esp], ebp
mov dword [esp + 4], ebx
mov dword [esp + 8], edx
mov dword [esp + 0xc], 1
lea eax, [0x6c0100]
mov dword [esp + 0x10], eax
call fcn.00472770
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x4c]
mov dword [ebx + 8], eax
mov eax, dword [0x8c88d8]
test eax, eax
je 0x529b7a
call fcn.004772f0
mov dword [edi], ecx
mov eax, dword [ebx]
mov dword [edi + 4], eax
mov dword [ebx], ecx
mov ebx, edx
mov ebp, ecx
mov ecx, dword [esp + 0x4c]
mov dword [ecx + 4], ebx
mov byte [ebx + ebp - 1], 0x2e
lea edi, [esp]
lea esi, [esp + 0x50]
call fcn.004778be
call fcn.004b63f0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x4c]
mov dword [esp], ecx
mov edx, eax
sar eax, 0x1f
mov ebx, eax
mov eax, 0x4189374c
imul edx
sar edx, 8
sub edx, ebx
mov dword [esp + 4], edx
mov dword [esp + 8], 6
call fcn.005295b0
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x4c]
mov edx, dword [ecx + 8]
mov ebx, dword [ecx + 4]
inc ebx
mov ebp, dword [ecx]
cmp edx, ebx
jae 0x529c3a
mov dword [esp], ebp
mov dword [esp + 4], ebx
mov dword [esp + 8], edx
mov dword [esp + 0xc], 1
lea eax, [0x6c0100]
mov dword [esp + 0x10], eax
call fcn.00472770
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x4c]
mov dword [ebx + 8], eax
mov eax, dword [0x8c88d8]
test eax, eax
je 0x529c2c
call fcn.004772f0
mov dword [edi], ecx
mov eax, dword [ebx]
mov dword [edi + 4], eax
mov dword [ebx], ecx
mov eax, dword [esp + 0x6c]
mov ebx, edx
mov ebp, ecx
mov ecx, dword [esp + 0x4c]
mov dword [ecx + 4], ebx
mov byte [ebx + ebp - 1], 0x20
mov ecx, eax
mov eax, dword [esp + 0x40]
test ecx, 0x18
je 0x529c75
test ecx, 0x10
je 0x529c68
mov ecx, dword [esp + 0x74]
lea edx, [ecx - 1]
mov ebx, dword [esp + 0x70]
jmp 0x529ecd
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x70]
jmp 0x529d25
test eax, eax
je 0x529d21
mov eax, dword [esp + 0x4c]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
mov ebx, dword [esp + 0x68]
lea ebp, [edx + ebx]
mov esi, dword [eax]
cmp ecx, ebp
jae 0x529cca
mov dword [esp + 0x40], edx
mov dword [esp], esi
mov dword [esp + 4], ebp
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ebx
lea eax, [0x6c0100]
mov dword [esp + 0x10], eax
call fcn.00472770
mov esi, dword [esp + 0x14]
mov ebp, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x40]
mov ebx, dword [esp + 0x68]
mov dword [esp + 0x40], ecx
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x44], esi
lea eax, [esi + edx]
mov dword [esp], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 4], eax
mov dword [esp + 8], ebx
call fcn.00477ad0
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x4c]
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x40]
mov dword [ecx + 8], eax
mov eax, dword [0x8c88d8]
test eax, eax
jne 0x529d0f
mov eax, dword [esp + 0x44]
jmp 0x529d1f
call fcn.004772f0
mov eax, dword [esp + 0x44]
mov dword [edi], eax
mov edx, dword [ecx]
mov dword [edi + 4], edx
mov dword [ecx], eax
add esp, 0x48
ret
mov ebx, dword [esp + 0x4c]
mov ebp, dword [ebx + 8]
mov esi, dword [ebx + 4]
lea edi, [ecx + esi]
mov eax, dword [ebx]
cmp ebp, edi
jae 0x529d7a
mov dword [esp + 0x3c], esi
mov dword [esp + 0x38], ecx
mov dword [esp + 0x44], edx
mov dword [esp], eax
mov dword [esp + 4], edi
mov dword [esp + 8], ebp
mov dword [esp + 0xc], ecx
lea eax, [0x6c0100]
mov dword [esp + 0x10], eax
call fcn.00472770
mov eax, dword [esp + 0x14]
mov edi, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x44]
mov esi, dword [esp + 0x3c]
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x38], edi
mov dword [esp + 0x44], eax
lea ebx, [eax + esi]
mov dword [esp], ebx
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
call fcn.00477ad0
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x4c]
mov dword [ecx + 4], eax
mov edx, dword [esp + 0x3c]
mov dword [ecx + 8], edx
mov ebx, dword [0x8c88d8]
test ebx, ebx
jne 0x529dbb
mov ebx, dword [esp + 0x44]
jmp 0x529dcb
call fcn.004772f0
mov ebx, dword [esp + 0x44]
mov dword [edi], ebx
mov ebp, dword [ecx]
mov dword [edi + 4], ebp
mov dword [ecx], ebx
inc eax
cmp edx, eax
jae 0x529e27
mov dword [esp], ebx
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov dword [esp + 0xc], 1
lea eax, [0x6c0100]
mov dword [esp + 0x10], eax
call fcn.00472770
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x4c]
mov dword [ebx + 8], eax
mov eax, dword [0x8c88d8]
test eax, eax
je 0x529e1d
call fcn.004772f0
mov dword [edi], ecx
mov eax, dword [ebx]
mov dword [edi + 4], eax
mov dword [ebx], ecx
mov eax, edx
mov ebx, ecx
mov ecx, dword [esp + 0x4c]
mov dword [ecx + 4], eax
mov byte [eax + ebx - 1], 0x3a
mov dword [esp], ecx
mov eax, dword [esp + 0x78]
mov dword [esp + 4], eax
mov dword [esp + 8], 0xffffffff
call fcn.005295b0
mov eax, dword [esp + 0x4c]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
lea ebx, [edx + 2]
mov ebp, dword [eax]
cmp ecx, ebx
jae 0x529e94
mov dword [esp + 0x3c], edx
mov dword [esp], ebp
mov dword [esp + 4], ebx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 2
lea eax, [0x6c0100]
mov dword [esp + 0x10], eax
call fcn.00472770
mov ebp, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x4c]
mov edx, dword [esp + 0x3c]
mov word [ebp + edx], 0x203a
mov dword [eax + 4], ebx
mov dword [eax + 8], ecx
mov ecx, dword [0x8c88d8]
test ecx, ecx
jne 0x529eb3
mov ecx, dword [esp + 0x40]
test ecx, ecx
jmp 0x529ec5
call fcn.004772f0
mov dword [edi], ebp
mov ecx, dword [eax]
mov dword [edi + 4], ecx
mov ecx, dword [esp + 0x40]
test ecx, ecx
mov dword [eax], ebp
jmp 0x529c77
dec edx
test edx, edx
jle 0x529eeb
lea ebp, [ebx + edx]
cmp byte [ebp], 0x2f
jne 0x529ecc
sub ecx, edx
dec ecx
mov ebp, ecx
neg ecx
sar ecx, 0x1f
inc edx
and ecx, edx
add ecx, ebx
jmp 0x529eef
mov ebp, ecx
mov ecx, ebx
mov edx, ecx
mov ecx, ebp
jmp 0x529d25
call fcn.00475ee0
jmp fcn.005296f0