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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x6828c6
push eax
mov dword fs:[0], esp
sub esp, 0xe0
push ebx
push esi
mov esi, ecx
call fcn.0052f150
mov ebx, eax
mov eax, dword [esp + 0xf8]
cmp eax, 1
je 0x535256
add eax, 0xfffffffd
cmp eax, 3
ja case.default.0x5351de
jmp dword [eax*4 + 0x5358e4]
push 1
mov ecx, esi
call fcn.0052f550
push 1
push 0
push 0
push 0
push 0
mov ecx, esi
call fcn.00531710
mov eax, dword [esi + 0x1c]
push 0
push 0
push eax
call dword [0x68b7a0]
xor eax, eax
jmp 0x5352ad
push 1
mov ecx, esi
call fcn.0052f100
xor eax, eax
jmp 0x5352ad
mov eax, dword [esi + 0x4c]
mov ecx, dword [esi + 0x54]
cmp eax, ecx
jl 0x535230
mov eax, ecx
mov ecx, dword [esp + 0xfc]
push eax
push ecx
mov ecx, esi
call fcn.005315c0
xor eax, eax
jmp 0x5352ad
mov edx, dword [esi + 0x1c]
push 0
push 0
push edx
call dword [0x68b7a0]
xor eax, eax
jmp 0x5352ad
mov eax, dword [esp + 0xfc]
push ebp
cmp eax, 0xc
push edi
ja case.default.0x535264
jmp dword [eax*4 + 0x5358f4]
push 0
mov ecx, esi
call fcn.0052f550
mov eax, dword [esi + 0x4c]
mov ecx, dword [esi + 0x54]
cmp eax, ecx
jl 0x535280
mov eax, ecx
mov edx, dword [esi + 0x48]
mov edi, dword [esi + 0x50]
cmp edx, edi
jl 0x53528c
mov edx, edi
push 1
push 0
push 0
push eax
push edx
mov ecx, esi
call fcn.00531710
mov eax, dword [esi + 0x1c]
push 0
push 0
push eax
call dword [0x68b7a0]
pop edi
xor eax, eax
pop ebp
mov ecx, dword [esp + 0xe8]
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0xec
ret 0xc
push 0
mov ecx, esi
call fcn.0052f550
mov ecx, ebx
call fcn.00528dc0
mov ebp, eax
test ebp, ebp
je 0x535584
mov ecx, ebx
call fcn.00528e00
test eax, eax
je 0x535584
mov eax, dword [esp + 0x108]
mov edx, dword [esp + 0x104]
mov ecx, 3
mov edi, dword [eax]
cmp edx, ecx
jne 0x53532b
cmp ebp, dword [eax + 4]
jg 0x53532b
push 1
push 0
push 0
push 0
push 0
mov ecx, esi
call fcn.00531710
mov ecx, dword [esi + 0x1c]
push 0
push 0
push ecx
jmp 0x5352a3
mov edx, dword [esp + 0x104]
mov ebp, dword [esi + 0x48]
cmp edx, ecx
jne 0x535346
cmp edi, ebp
jg 0x5353fa
add ebp, dword [eax + 4]
jmp 0x535353
cmp edi, ebp
jge 0x535353
sub ebp, dword [eax + 4]
cmp edi, ebp
jle 0x535353
mov ebp, edi
cmp ebp, 0xffffffff
je 0x5353fa
mov ecx, ebx
call fcn.00528e80
cmp eax, ebp
jle 0x535374
mov ecx, ebx
call fcn.00528e80
mov dword [esp + 0x10], eax
jmp 0x535378
mov dword [esp + 0x10], ebp
mov ecx, ebx
call fcn.00528dc0
mov ecx, dword [esp + 0x10]
dec eax
cmp eax, ecx
mov ecx, ebx
jge 0x535392
call fcn.00528dc0
dec eax
jmp 0x5353a6
call fcn.00528e80
cmp eax, ebp
jle 0x5353a4
mov ecx, ebx
call fcn.00528e80
jmp 0x5353a6
mov eax, ebp
mov edx, dword [esi + 0x4c]
mov ecx, esi
push edx
push eax
lea eax, [esp + 0xe8]
push eax
call fcn.00532f30
lea ecx, [esp + 0x2c]
push eax
push ecx
call dword [0x68b704]
mov eax, dword [esp + 0x2c]
cmp eax, 0xffffffff
je 0x5353e9
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
mov dword [esi + 0x4c], eax
mov eax, dword [esp + 0x38]
mov dword [esi + 0x48], edx
mov dword [esi + 0x50], eax
mov dword [esi + 0x54], ecx
jmp 0x5353fa
push 1
push 0
push 0
push 0
push 0
mov ecx, esi
call fcn.00531710
mov ecx, ebx
call fcn.00528dc0
dec eax
cmp eax, edi
jge 0x535410
mov ecx, ebx
call fcn.00528dc0
dec eax
jmp 0x535412
mov eax, edi
test eax, eax
jge 0x53541a
xor edi, edi
jmp 0x535430
mov ecx, ebx
call fcn.00528dc0
dec eax
cmp eax, edi
jge 0x535430
mov ecx, ebx
call fcn.00528dc0
mov edi, eax
dec edi
mov ecx, ebx
call fcn.00528e00
xor ebp, ebp
mov dword [esp + 0x10], eax
test eax, eax
jle 0x53545d
push ebp
push edi
mov ecx, ebx
call fcn.00528ee0
test eax, 0x80000
je 0x535456
dec edi
xor ebp, ebp
jmp 0x535457
inc ebp
cmp ebp, dword [esp + 0x10]
jl 0x535441
mov ecx, ebx
mov dword [esp + 0x14], 0
call fcn.00528e80
cmp edi, eax
jge 0x5354a9
lea edx, [esp + 0x70]
mov ecx, esi
push edx
call fcn.0052eab0
mov eax, dword [eax + 4]
xor ebx, ebx
test edi, edi
mov dword [esp + 0x18], eax
jle 0x5354f8
push ebx
mov ecx, esi
call fcn.0052e8f0
mov ecx, dword [esp + 0x18]
push eax
push ecx
mov ecx, esi
call fcn.0052ecc0
inc ebx
mov dword [esp + 0x18], eax
cmp ebx, edi
jl 0x535489
jmp 0x5354f8
push 1
push 1
push 0
lea edx, [esp + 0x8c]
push edi
push edx
mov ecx, esi
call fcn.00531e80
mov ecx, dword [eax + 4]
test ecx, ecx
jge 0x5354ca
xor edi, edi
jmp 0x5354e3
push 1
push 1
push 0
lea eax, [esp + 0xdc]
push edi
push eax
mov ecx, esi
call fcn.00531e80
mov edi, dword [eax + 4]
lea ecx, [esp + 0x60]
push ecx
mov ecx, esi
call fcn.00530e40
mov edx, dword [eax + 4]
add edx, edi
mov dword [esp + 0x18], edx
push 0
lea ecx, [esp + 0x50]
call fcn.006764dd
mov eax, dword [esi + 0x5c]
mov ecx, dword [esi + 0x58]
push eax
lea edx, [esp + 0x50]
push ecx
push edx
mov dword [esp + 0x104], 0
call fcn.005483e0
mov ecx, dword [esp + 0x60]
add esp, 0xc
lea eax, [esp + 0x14]
push 1
push eax
push ecx
call dword [0x68b1c8]
mov eax, dword [esi + 0x1c]
lea edx, [esp + 0x3c]
push edx
push eax
call dword [0x68b7a8]
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x3c]
push edx
mov dword [esp + 0x44], ecx
call dword [0x68b778]
test eax, eax
jne 0x53556b
mov ecx, dword [esi + 0x1c]
push eax
lea eax, [esp + 0x40]
push eax
push ecx
call dword [0x68b7a0]
lea ecx, [esp + 0x4c]
mov dword [esp + 0xf8], 0xffffffff
call fcn.0067654f
jmp case.default.0x535264
push 1
push 0
push 0
push 0
push 0
mov ecx, esi
call fcn.00531710
mov edx, dword [esi + 0x1c]
push 0
push 0
push edx
jmp 0x5352a3
push 0
mov ecx, esi
call fcn.0052f550
mov ecx, ebx
call fcn.00528e00
mov ecx, ebx
mov ebp, eax
call fcn.00528dc0
test eax, eax
je 0x53530d
test ebp, ebp
je 0x53530d
mov eax, dword [esp + 0x108]
mov edx, dword [esp + 0x104]
mov ecx, 4
mov edi, dword [eax]
cmp edx, ecx
jne 0x5355f8
cmp ebp, dword [eax + 4]
jg 0x5355f8
push 1
push 0
push 0
push 0
push 0
jmp 0x535294
mov edx, dword [esp + 0x104]
mov ebp, dword [esi + 0x4c]
cmp edx, ecx
jne 0x535613
cmp edi, ebp
jg 0x5356c7
add ebp, dword [eax + 4]
jmp 0x535620
cmp edi, ebp
jge 0x535620
sub ebp, dword [eax + 4]
cmp edi, ebp
jle 0x535620
mov ebp, edi
cmp ebp, 0xffffffff
je 0x5356c7
mov ecx, ebx
call fcn.00528e90
cmp eax, ebp
jle 0x535641
mov ecx, ebx
call fcn.00528e90
mov dword [esp + 0x10], eax
jmp 0x535645
mov dword [esp + 0x10], ebp
mov ecx, ebx
call fcn.00528e00
mov ecx, dword [esp + 0x10]
dec eax
cmp eax, ecx
mov ecx, ebx
jge 0x53565f
call fcn.00528e00
dec eax
jmp 0x535673
call fcn.00528e90
cmp eax, ebp
jle 0x535671
mov ecx, ebx
call fcn.00528e90
jmp 0x535673
mov eax, ebp
mov ecx, dword [esi + 0x48]
push eax
lea edx, [esp + 0xb4]
push ecx
push edx
mov ecx, esi
call fcn.00532f30
push eax
lea eax, [esp + 0x30]
push eax
call dword [0x68b704]
mov eax, dword [esp + 0x2c]
cmp eax, 0xffffffff
je 0x5356b6
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x38]
mov dword [esi + 0x4c], eax
mov eax, dword [esp + 0x34]
mov dword [esi + 0x48], ecx
mov dword [esi + 0x50], edx
mov dword [esi + 0x54], eax
jmp 0x5356c7
push 1
push 0
push 0
push 0
push 0
mov ecx, esi
call fcn.00531710
mov ecx, ebx
call fcn.00528e00
dec eax
cmp eax, edi
jge 0x5356dd
mov ecx, ebx
call fcn.00528e00
dec eax
jmp 0x5356df
mov eax, edi
test eax, eax
jge 0x5356e7
xor edi, edi
jmp 0x5356fd
mov ecx, ebx
call fcn.00528e00
dec eax
cmp eax, edi
jge 0x5356fd
mov ecx, ebx
call fcn.00528e00
mov edi, eax
dec edi
mov ecx, ebx
call fcn.00528dc0
xor ebp, ebp
mov dword [esp + 0x10], eax
test eax, eax
jle 0x53572a
push edi
push ebp
mov ecx, ebx
call fcn.00528ee0
test eax, 0x40000
je 0x535723
dec edi
xor ebp, ebp
jmp 0x535724
inc ebp
cmp ebp, dword [esp + 0x10]
jl 0x53570e
mov ecx, ebx
mov dword [esp + 0x18], 0
call fcn.00528e90
cmp edi, eax
jge 0x535775
lea ecx, [esp + 0x68]
push ecx
mov ecx, esi
call fcn.0052eab0
mov edx, dword [eax]
xor ebx, ebx
test edi, edi
mov dword [esp + 0x14], edx
jle 0x5357c0
push ebx
mov ecx, esi
call fcn.0052e9d0
push eax
mov eax, dword [esp + 0x18]
push eax
mov ecx, esi
call fcn.0052eb90
inc ebx
mov dword [esp + 0x14], eax
cmp ebx, edi
jl 0x535755
jmp 0x5357c0
push 1
push 1
push edi
lea ecx, [esp + 0x9c]
push 0
push ecx
mov ecx, esi
call fcn.00531e80
cmp dword [eax], 0
jge 0x535794
xor edi, edi
jmp 0x5357ac
push 1
push 1
push edi
lea edx, [esp + 0xac]
push 0
push edx
mov ecx, esi
call fcn.00531e80
mov edi, dword [eax]
lea eax, [esp + 0x78]
mov ecx, esi
push eax
call fcn.00530e40
mov ecx, dword [eax]
add ecx, edi
mov dword [esp + 0x14], ecx
push 0
lea ecx, [esp + 0x50]
call fcn.006764dd
mov edx, dword [esi + 0x5c]
mov eax, dword [esi + 0x58]
push edx
lea ecx, [esp + 0x50]
push eax
push ecx
mov dword [esp + 0x104], 1
call fcn.005483e0
mov eax, dword [esp + 0x60]
add esp, 0xc
lea edx, [esp + 0x14]
push 1
push edx
push eax
call dword [0x68b1c8]
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x3c]
push ecx
push edx
call dword [0x68b7a8]
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x3c]
push ecx
mov dword [esp + 0x40], eax
call dword [0x68b778]
test eax, eax
jne 0x535833
push eax
mov eax, dword [esi + 0x1c]
lea edx, [esp + 0x40]
push edx
push eax
call dword [0x68b7a0]
lea ecx, [esp + 0x4c]
mov dword [esp + 0xf8], 0xffffffff
call fcn.0067654f
jmp case.default.0x535264
mov eax, dword [esp + 0x108]
mov ecx, dword [eax + 4]
mov edi, dword [eax + 0xc]
mov edx, dword [eax]
mov eax, dword [eax + 8]
mov dword [esp + 0x1c], ecx
lea ecx, [edi + ecx - 1]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x20], edx
lea ecx, [eax + edx - 1]
lea edx, [esp + 0x1c]
mov dword [esp + 0x28], ecx
push edx
mov ecx, ebx
call fcn.00529de0
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x28]
sub ecx, eax
inc ecx
push ecx
mov ecx, dword [esp + 0x24]
sub edx, ecx
inc edx
push edx
push eax
lea eax, [esp + 0xcc]
push ecx
push eax
mov ecx, esi
call fcn.005311b0
lea ecx, [esp + 0x1c]
push eax
push ecx
call dword [0x68b704]
push 1
lea edx, [esp + 0x20]
push 1
push edx
call dword [0x68b730]
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0x1c]
push 0
push eax
push ecx
call dword [0x68b7a0]
mov ecx, esi
call fcn.005315e0
jmp case.default.0x535264