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

Disassembly:
mov ecx, dword [0x14a5898]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x178]
cmp eax, dword [ecx + 8]
jbe 0x52bc5a
sub esp, 0x1f8
lea edi, [esp + 0x204]
xor eax, eax
call fcn.0046f20b
mov ecx, dword [esp + 0x1fc]
mov dword [esp], ecx
mov edx, dword [esp + 0x200]
mov dword [esp + 4], edx
mov byte [esp + 8], 0x25
call fcn.004032d0
mov ecx, dword [esp + 0xc]
cmp ecx, 0xffffffff
je 0x52affc
mov edx, dword [esp + 0x200]
cmp edx, ecx
jb 0x52bc54
lea eax, [ecx + 1]
cmp edx, eax
jb 0x52bc4d
mov ebx, edx
sub edx, ecx
lea ebp, [edx - 1]
mov esi, ebp
xchg ebp, ebx
neg ebx
xchg ebp, ebx
sar ebp, 0x1f
and ebp, eax
mov eax, ebx
mov ebx, dword [esp + 0x1fc]
add ebp, ebx
cmp edx, 1
jne 0x52b010
lea edi, [esp + 0x1e0]
xor eax, eax
call fcn.0046f20a
mov dword [esp + 0x1e0], ebx
mov ecx, dword [esp + 0x200]
mov dword [esp + 0x1e4], ecx
lea ecx, [0xd9c7ec]
mov dword [esp + 0x1e8], ecx
mov dword [esp + 0x1ec], 0x1f
lea edi, [esp + 0x204]
call fcn.0046f20b
lea ecx, [0xcf11c0]
mov dword [esp], ecx
lea ecx, [esp + 0x1e0]
mov dword [esp + 4], ecx
call fcn.0040aa10
mov ecx, dword [esp + 8]
lea edx, [0xeeb400]
mov dword [esp + 0x218], edx
mov dword [esp + 0x21c], ecx
add esp, 0x1f8
ret
mov eax, dword [esp + 0x200]
mov ebx, dword [esp + 0x1fc]
mov ecx, eax
xor esi, esi
xor ebp, ebp
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
cmp ecx, 2
jl 0x52b0ec
cmp byte [ebx], 0x3a
jne 0x52b0e1
cmp byte [ebx + 1], 0x3a
jne 0x52b0d6
lea edx, [ecx - 2]
mov edi, edx
neg edx
sar edx, 0x1f
and edx, 2
add edx, ebx
cmp ecx, 2
je 0x52b067
xor ecx, ecx
jmp 0x52b0f5
mov ecx, dword [0x1462d50]
mov dword [esp + 0xdc], ecx
lea edi, [esp]
xor eax, eax
call fcn.0046f20b
mov ecx, dword [esp + 0xdc]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], ebp
mov dword [esp + 0x18], esi
call fcn.0052bd70
lea edi, [esp + 0x1cc]
lea esi, [esp + 0x1c]
call fcn.0046f6ee
lea edi, [esp + 0x204]
lea esi, [esp + 0x1cc]
call fcn.0046f6ee
mov dword [esp + 0x218], 0
mov dword [esp + 0x21c], 0
add esp, 0x1f8
ret
mov edi, ecx
mov edx, ebx
mov ecx, 0xffffffff
jmp 0x52b0f5
mov edi, ecx
mov edx, ebx
mov ecx, 0xffffffff
jmp 0x52b0f5
mov edi, ecx
mov edx, ebx
mov ecx, 0xffffffff
mov dword [esp + 0x40], esi
mov dword [esp + 0x70], ebp
mov dword [esp + 0x64], eax
xor eax, eax
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x64]
jmp 0x52b126
mov ebx, dword [esp + 0x1fc]
mov dword [esp + 0x4c], ecx
mov edi, esi
mov ecx, edx
mov esi, dword [esp + 0x40]
mov edx, ebp
mov ebp, dword [esp + 0x70]
mov ebp, dword [esp + 0x4c]
cmp ebp, 0x10
jge 0x52b21c
mov dword [esp + 0x54], ecx
mov dword [esp + 0x74], edx
mov dword [esp + 0x5c], eax
xor eax, eax
mov dword [esp + 0x48], eax
xor eax, eax
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x5c]
jmp 0x52b4e1
mov ecx, dword [esp + 0x54]
mov esi, dword [esp + 0x40]
mov dword [esp + 0x44], edi
test ebp, ebp
je 0x52bb7f
cmp edi, ebp
jle 0x52b182
jbe 0x52bc44
lea esi, [edx + ebp]
cmp byte [esi], 0x2e
je 0x52b601
mov esi, dword [esp + 0x40]
mov ebx, dword [esp + 0x58]
shr ebx, 8
mov edx, dword [esp + 0x4c]
mov byte [esp + edx + 0x30], bl
mov ebx, dword [esp + 0x58]
mov byte [esp + edx + 0x31], bl
cmp edi, ebp
jb 0x52bc27
sub edi, ebp
mov ebx, edi
xchg edi, ebx
neg ebx
xchg edi, ebx
sar edi, 0x1f
and edi, ebp
add edx, 2
mov ebp, dword [esp + 0x74]
lea esi, [ebp + edi]
test ebx, ebx
je 0x52bb69
cmp byte [esi], 0x3a
jne 0x52bac2
cmp ebx, 1
je 0x52ba1b
lea esi, [ebx - 1]
lea ebp, [ebp + edi + 1]
test esi, esi
jbe 0x52bc1e
cmp byte [ebp], 0x3a
jne 0x52b211
test ecx, ecx
jge 0x52b974
lea ecx, [ebx - 2]
mov esi, ecx
neg ecx
sar ecx, 0x1f
and ecx, 1
add ebp, ecx
cmp ebx, 2
je 0x52b95c
mov ecx, edx
jmp 0x52b10d
mov ecx, edx
mov edx, dword [esp + 0x54]
jmp 0x52b10d
test edi, edi
jne 0x52b33f
cmp ebp, 0x10
jge 0x52b2b8
test ecx, ecx
jl 0x52b239
lea edx, [ebp - 1]
jmp 0x52b473
lea edi, [esp + 0x1e0]
xor eax, eax
call fcn.0046f20a
mov dword [esp + 0x1e0], ebx
mov ecx, dword [esp + 0x200]
mov dword [esp + 0x1e4], ecx
lea ecx, [0xd92c99]
mov dword [esp + 0x1e8], ecx
mov dword [esp + 0x1ec], 0x18
lea edi, [esp + 0x204]
call fcn.0046f20b
lea ecx, [0xcf11c0]
mov dword [esp], ecx
lea ecx, [esp + 0x1e0]
mov dword [esp + 4], ecx
call fcn.0040aa10
mov ecx, dword [esp + 8]
lea edx, [0xeeb400]
mov dword [esp + 0x218], edx
mov dword [esp + 0x21c], ecx
add esp, 0x1f8
ret
test ecx, ecx
jl 0x52b3e2
lea edi, [esp + 0x1e0]
xor eax, eax
call fcn.0046f20a
mov dword [esp + 0x1e0], ebx
mov ecx, dword [esp + 0x200]
mov dword [esp + 0x1e4], ecx
lea ecx, [0xdb02b5]
mov dword [esp + 0x1e8], ecx
mov dword [esp + 0x1ec], 0x31
lea edi, [esp + 0x204]
call fcn.0046f20b
lea ecx, [0xcf11c0]
mov dword [esp], ecx
lea ecx, [esp + 0x1e0]
mov dword [esp + 4], ecx
call fcn.0040aa10
mov ecx, dword [esp + 8]
lea edx, [0xeeb400]
mov dword [esp + 0x218], edx
mov dword [esp + 0x21c], ecx
add esp, 0x1f8
ret
mov dword [esp + 0x44], edi
lea edi, [esp + 0xe0]
mov ebp, eax
xor eax, eax
call fcn.0046f20a
mov dword [esp + 0xe0], ebx
mov dword [esp + 0xe4], ebp
lea ecx, [0xd9b2b4]
mov dword [esp + 0xe8], ecx
mov dword [esp + 0xec], 0x1e
mov dword [esp + 0xf0], edx
mov ecx, dword [esp + 0x44]
mov dword [esp + 0xf4], ecx
lea edi, [esp + 0x1e0]
lea esi, [esp + 0xe0]
call fcn.0046f6e4
lea edi, [esp + 0x204]
call fcn.0046f20b
lea ecx, [0xcf11c0]
mov dword [esp], ecx
lea ecx, [esp + 0x1e0]
mov dword [esp + 4], ecx
call fcn.0040aa10
mov ecx, dword [esp + 8]
lea edx, [0xeeb400]
mov dword [esp + 0x218], edx
mov dword [esp + 0x21c], ecx
add esp, 0x1f8
ret
lea edi, [esp]
lea esi, [esp + 0x30]
call fcn.0046f6f8
call fcn.0052a450
lea edi, [esp + 0x1cc]
lea esi, [esp + 0x10]
call fcn.0046f6ee
lea edi, [esp]
lea esi, [esp + 0x1cc]
call fcn.0046f6ee
mov eax, dword [esp + 0x70]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x18], eax
call fcn.0052bd70
lea edi, [esp + 0x1b8]
lea esi, [esp + 0x1c]
call fcn.0046f6ee
lea edi, [esp + 0x204]
lea esi, [esp + 0x1b8]
call fcn.0046f6ee
mov dword [esp + 0x218], 0
mov dword [esp + 0x21c], 0
add esp, 0x1f8
ret
movzx ebx, byte [esp + eax + 0x30]
mov byte [esp + edx + 0x40], bl
lea edx, [eax - 1]
cmp ecx, edx
jg 0x52b48a
mov eax, edx
sub edx, ebp
cmp eax, 0x10
jae 0x52b4be
lea ebx, [edx + 0x10]
cmp ebx, 0x10
jb 0x52b467
jmp 0x52b4b2
mov edx, ecx
sub ecx, ebp
lea ebx, [ecx + 0xf]
jmp 0x52b499
mov byte [esp + ebx + 0x30], 0
dec ebx
cmp edx, ebx
jg 0x52b3e2
cmp ebx, 0x10
jb 0x52b493
mov eax, ebx
mov ecx, 0x10
call fcn.0046eff0
mov eax, ebx
mov ecx, 0x10
call fcn.0046eff0
mov ecx, 0x10
call fcn.0046eff0
inc ebp
mov ecx, dword [esp + 0x54]
mov esi, dword [esp + 0x40]
mov dword [esp + 0x48], ebp
mov dword [esp + 0x58], edx
mov edx, dword [esp + 0x74]
mov ebp, dword [esp + 0x4c]
mov ebp, dword [esp + 0x48]
cmp edi, ebp
jle 0x52b15c
movzx esi, byte [edx + ebp]
lea ecx, [esi - 0x30]
cmp cl, 9
ja 0x52b50f
mov esi, ebx
mov ebx, dword [esp + 0x58]
shl ebx, 4
movzx ecx, cl
add ebx, ecx
mov ecx, edx
mov edx, ebx
mov ebx, esi
jmp 0x52b554
lea ecx, [esi - 0x61]
cmp cl, 5
ja 0x52b535
mov ebx, dword [esp + 0x58]
shl ebx, 4
add esi, 0xffffffa9
xchg esi, eax
movzx eax, al
xchg esi, eax
add ebx, esi
mov ecx, edx
mov edx, ebx
mov ebx, dword [esp + 0x1fc]
jmp 0x52b554
lea ecx, [esi - 0x41]
cmp cl, 5
ja 0x52b154
mov ecx, edx
mov edx, dword [esp + 0x58]
shl edx, 4
add esi, 0xffffffc9
xchg esi, eax
movzx eax, al
xchg esi, eax
add edx, esi
cmp edx, 0xffff
jbe 0x52b4c8
mov edx, edi
lea edi, [esp + 0x1a0]
mov ebp, eax
xor eax, eax
call fcn.0046f20a
mov dword [esp + 0x1a0], ebx
mov dword [esp + 0x1a4], ebp
lea ecx, [0xd97185]
mov dword [esp + 0x1a8], ecx
mov dword [esp + 0x1ac], 0x1b
mov ecx, dword [esp + 0x74]
mov dword [esp + 0x1b0], ecx
mov dword [esp + 0x1b4], edx
lea edi, [esp + 0x1e0]
lea esi, [esp + 0x1a0]
call fcn.0046f6e4
lea edi, [esp + 0x204]
call fcn.0046f20b
lea ecx, [0xcf11c0]
mov dword [esp], ecx
lea ecx, [esp + 0x1e0]
mov dword [esp + 4], ecx
call fcn.0040aa10
mov ecx, dword [esp + 8]
lea edx, [0xeeb400]
mov dword [esp + 0x218], edx
mov dword [esp + 0x21c], ecx
add esp, 0x1f8
ret
test ecx, ecx
jge 0x52b6b5
mov ebp, dword [esp + 0x4c]
cmp ebp, 0xc
je 0x52b6b9
lea edi, [esp + 0x170]
mov ebp, eax
xor eax, eax
call fcn.0046f20a
mov dword [esp + 0x170], ebx
mov dword [esp + 0x174], ebp
lea ecx, [0xdba7f9]
mov dword [esp + 0x178], ecx
mov dword [esp + 0x17c], 0x44
mov dword [esp + 0x180], edx
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x184], ecx
lea edi, [esp + 0x1e0]
lea esi, [esp + 0x170]
call fcn.0046f6e4
lea edi, [esp + 0x204]
call fcn.0046f20b
lea ecx, [0xcf11c0]
mov dword [esp], ecx
lea ecx, [esp + 0x1e0]
mov dword [esp + 4], ecx
call fcn.0040aa10
mov ecx, dword [esp + 8]
lea edx, [0xeeb400]
mov dword [esp + 0x218], edx
mov dword [esp + 0x21c], ecx
add esp, 0x1f8
ret
mov ebp, dword [esp + 0x4c]
lea esi, [ebp + 4]
cmp esi, 0x10
jg 0x52b8bd
mov dword [esp + 0x6c], esi
xor eax, eax
lea edi, [esp + 0x1cc]
call fcn.0046f20b
mov dword [esp], edx
mov ecx, dword [esp + 0x44]
mov dword [esp + 4], ecx
call fcn.0052aad0
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x50], ecx
mov edx, dword [esp + 0x20]
lea edi, [esp + 0x1cc]
lea esi, [esp + 8]
call fcn.0046f6ee
lea edi, [esp + 0x78]
lea esi, [esp + 0x1cc]
call fcn.0046f6ee
mov ecx, dword [esp + 0x50]
test ecx, ecx
jne 0x52b7fe
lea edi, [esp + 0xc8]
lea esi, [esp + 0x1cc]
call fcn.0046f6ee
mov ecx, dword [esp + 0x4c]
lea eax, [ecx + 2]
mov edx, dword [esp + 0xd0]
mov ebx, dword [esp + 0xd4]
shl ebx, 8
shr edx, 0x18
or ebx, edx
mov byte [esp + ecx + 0x30], bl
lea edi, [esp + 0xb4]
lea esi, [esp + 0x78]
call fcn.0046f6ee
mov ecx, dword [esp + 0xbc]
mov edx, dword [esp + 0xc0]
shl edx, 0x10
shr ecx, 0x10
or ecx, edx
mov edx, dword [esp + 0x4c]
mov byte [esp + edx + 0x31], cl
lea edi, [esp + 0xa0]
lea esi, [esp + 0x78]
call fcn.0046f6ee
mov ecx, dword [esp + 0xa8]
mov ebx, dword [esp + 0xac]
shr ecx, 8
shl ebx, 0x18
or ebx, ecx
cmp eax, 0x10
jae 0x52bc3a
mov byte [esp + edx + 0x32], bl
lea eax, [edx + 3]
lea edi, [esp + 0x8c]
lea esi, [esp + 0x78]
call fcn.0046f6ee
cmp eax, 0x10
jae 0x52bc30
mov eax, dword [esp + 0x94]
mov byte [esp + edx + 0x33], al
mov eax, dword [esp + 0x200]
mov ebx, dword [esp + 0x1fc]
mov esi, dword [esp + 0x40]
xor edi, edi
xor edx, edx
mov ebp, dword [esp + 0x6c]
mov ecx, dword [esp + 0x54]
jmp 0x52b21c
mov eax, dword [ecx + 0x10]
mov dword [esp], edx
call eax
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov dword [esp + 0x6c], ecx
lea edi, [esp + 0x140]
mov edx, eax
xor eax, eax
call fcn.0046f20a
mov ecx, dword [esp + 0x1fc]
mov dword [esp + 0x140], ecx
mov ecx, dword [esp + 0x200]
mov dword [esp + 0x144], ecx
mov dword [esp + 0x148], edx
mov ecx, dword [esp + 0x6c]
mov dword [esp + 0x14c], ecx
mov ecx, dword [esp + 0x74]
mov dword [esp + 0x150], ecx
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x154], ecx
lea edi, [esp + 0x1e0]
lea esi, [esp + 0x140]
call fcn.0046f6e4
lea edi, [esp + 0x204]
call fcn.0046f20b
lea eax, [0xcf11c0]
mov dword [esp], eax
lea eax, [esp + 0x1e0]
mov dword [esp + 4], eax
call fcn.0040aa10
mov eax, dword [esp + 8]
lea ecx, [0xeeb400]
mov dword [esp + 0x218], ecx
mov dword [esp + 0x21c], eax
add esp, 0x1f8
ret
lea edi, [esp + 0x158]
mov ebp, eax
xor eax, eax
call fcn.0046f20a
mov dword [esp + 0x158], ebx
mov dword [esp + 0x15c], ebp
lea ecx, [0xdbae59]
mov dword [esp + 0x160], ecx
mov dword [esp + 0x164], 0x45
mov dword [esp + 0x168], edx
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x16c], ecx
lea edi, [esp + 0x1e0]
lea esi, [esp + 0x158]
call fcn.0046f6e4
lea edi, [esp + 0x204]
call fcn.0046f20b
lea ecx, [0xcf11c0]
mov dword [esp], ecx
lea ecx, [esp + 0x1e0]
mov dword [esp + 4], ecx
call fcn.0040aa10
mov ecx, dword [esp + 8]
lea edx, [0xeeb400]
mov dword [esp + 0x218], edx
mov dword [esp + 0x21c], ecx
add esp, 0x1f8
ret
mov ebx, dword [esp + 0x1fc]
mov edi, esi
mov ecx, edx
mov esi, dword [esp + 0x40]
mov edx, ebp
mov ebp, ecx
jmp 0x52b21c
lea edi, [esp + 0xf8]
xor eax, eax
call fcn.0046f20a
mov ecx, dword [esp + 0x1fc]
mov dword [esp + 0xf8], ecx
mov ecx, dword [esp + 0x200]
mov dword [esp + 0xfc], ecx
lea ecx, [0xd8ff87]
mov dword [esp + 0x100], ecx
mov dword [esp + 0x104], 0x16
mov dword [esp + 0x108], ebp
mov dword [esp + 0x10c], esi
lea edi, [esp + 0x1e0]
lea esi, [esp + 0xf8]
call fcn.0046f6e4
lea edi, [esp + 0x204]
call fcn.0046f20b
lea ecx, [0xcf11c0]
mov dword [esp], ecx
lea ecx, [esp + 0x1e0]
mov dword [esp + 4], ecx
call fcn.0040aa10
mov ecx, dword [esp + 8]
lea edx, [0xeeb400]
mov dword [esp + 0x218], edx
mov dword [esp + 0x21c], ecx
add esp, 0x1f8
ret
lea edi, [esp + 0x110]
xor eax, eax
call fcn.0046f20a
mov ecx, dword [esp + 0x1fc]
mov dword [esp + 0x110], ecx
mov ecx, dword [esp + 0x200]
mov dword [esp + 0x114], ecx
lea ecx, [0xda8d1f]
mov dword [esp + 0x118], ecx
mov dword [esp + 0x11c], 0x29
mov dword [esp + 0x120], esi
mov dword [esp + 0x124], ebx
lea edi, [esp + 0x1e0]
lea esi, [esp + 0x110]
call fcn.0046f6e4
lea edi, [esp + 0x204]
call fcn.0046f20b
lea ecx, [0xcf11c0]
mov dword [esp], ecx
lea ecx, [esp + 0x1e0]
mov dword [esp + 4], ecx
call fcn.0040aa10
mov ecx, dword [esp + 8]
lea edx, [0xeeb400]
mov dword [esp + 0x218], edx
mov dword [esp + 0x21c], ecx
add esp, 0x1f8
ret
lea edi, [esp + 0x128]
xor eax, eax
call fcn.0046f20a
mov ecx, dword [esp + 0x1fc]
mov dword [esp + 0x128], ecx
mov ecx, dword [esp + 0x200]
mov dword [esp + 0x12c], ecx
lea ecx, [0xd9dc25]
mov dword [esp + 0x130], ecx
mov dword [esp + 0x134], 0x20
mov dword [esp + 0x138], esi
mov dword [esp + 0x13c], ebx
lea edi, [esp + 0x1e0]
lea esi, [esp + 0x128]
call fcn.0046f6e4
lea edi, [esp + 0x204]
call fcn.0046f20b
lea ecx, [0xcf11c0]
mov dword [esp], ecx
lea ecx, [esp + 0x1e0]
mov dword [esp + 4], ecx
call fcn.0040aa10
mov ecx, dword [esp + 8]
lea edx, [0xeeb400]
mov dword [esp + 0x218], edx
mov dword [esp + 0x21c], ecx
add esp, 0x1f8
ret
mov edi, ebx
mov ebp, edx
mov ebx, dword [esp + 0x1fc]
mov edx, esi
mov esi, dword [esp + 0x40]
jmp 0x52b21c
lea edi, [esp + 0x188]
mov ebp, eax
xor eax, eax
call fcn.0046f20a
mov dword [esp + 0x188], ebx
mov dword [esp + 0x18c], ebp
lea ecx, [0xdb488a]
mov dword [esp + 0x190], ecx
mov dword [esp + 0x194], 0x37
mov dword [esp + 0x198], edx
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x19c], ecx
lea edi, [esp + 0x1e0]
lea esi, [esp + 0x188]
call fcn.0046f6e4
lea edi, [esp + 0x204]
call fcn.0046f20b
lea ecx, [0xcf11c0]
mov dword [esp], ecx
lea ecx, [esp + 0x1e0]
mov dword [esp + 4], ecx
call fcn.0040aa10
mov ecx, dword [esp + 8]
lea edx, [0xeeb400]
mov dword [esp + 0x218], edx
mov dword [esp + 0x21c], ecx
add esp, 0x1f8
ret
xor eax, eax
mov ecx, eax
call fcn.0046eff0
mov eax, ebp
mov ecx, edi
call fcn.0046f050
mov ecx, 0x10
call fcn.0046eff0
mov ecx, 0x10
call fcn.0046eff0
mov eax, ebp
mov ecx, edi
call fcn.0046eff0
mov ecx, edx
call fcn.0046f050
call fcn.0046f010
nop
call fcn.0046db70
jmp fcn.0052aee0