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

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x629251
push eax
mov eax, 0x1010
mov dword fs:[0], esp
call fcn.006143b0
push ebx
push ebp
push esi
mov dword [esp + 0x18], ecx
lea eax, [esp + 0x27]
push edi
xor esi, esi
push eax
lea ecx, [esp + 0x2e]
push esi
push ecx
lea ecx, [esp + 0x50]
mov dword [esp + 0x24], esi
call fcn.00541740
xor edx, edx
mov dword [esp + 0x1028], esi
mov dword [esp + 0x80], edx
mov dword [esp + 0x20], esi
mov dword [esp + 0x84], edx
mov ebp, 0xceda68
mov dword [esp + 0x88], edx
mov dword [esp + 0x8c], edx
mov byte [esp + 0x90], dl
jmp 0x53522a
xor esi, esi
mov dword [esp + 0x10], esi
mov ebx, dword [ebp]
mov ecx, 0xced988
push ebx
call fcn.0053bf30
test eax, eax
je 0x535526
xor eax, eax
mov ecx, 0x4c
mov dword [esp + 0xbd2], eax
lea esi, [esp + 0xb58]
mov dword [esp + 0xbd6], eax
lea edi, [esp + 0xdbc]
mov dword [esp + 0xbda], eax
mov dword [esp + 0xdb8], ebx
mov byte [esp + 0xbde], al
lea edx, [esp + 0x34]
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0xdb8]
push ecx
push edx
mov ecx, 0xced988
call fcn.00486af0
mov eax, dword [eax]
cmp dword [eax + 0x78], 1
jne 0x535526
xor eax, eax
mov ecx, 0x4c
mov dword [esp + 0xd02], eax
lea esi, [esp + 0xc88]
mov dword [esp + 0xd06], eax
lea edi, [esp + 0xef0]
mov dword [esp + 0xd0a], eax
mov dword [esp + 0xeec], ebx
mov byte [esp + 0xd0e], al
lea edx, [esp + 0x3c]
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0xeec]
push ecx
push edx
mov ecx, 0xced988
call fcn.00486af0
mov eax, dword [eax]
cmp dword [eax + 0x74], 1
jne 0x535526
xor eax, eax
mov ecx, 0x4c
mov dword [esp + 0x4a2], eax
lea esi, [esp + 0x428]
mov dword [esp + 0x4a6], eax
lea edi, [esp + 0x7c0]
mov dword [esp + 0x4aa], eax
mov dword [esp + 0x7bc], ebx
mov byte [esp + 0x4ae], al
lea edx, [esp + 0x94]
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x7bc]
push ecx
push edx
mov ecx, 0xced988
call fcn.00486af0
mov eax, dword [eax]
cmp dword [eax + 0x108], 1
jle 0x535526
xor eax, eax
mov ecx, 0x4c
mov dword [esp + 0x5d2], eax
lea esi, [esp + 0x558]
mov dword [esp + 0x5d6], eax
lea edi, [esp + 0xa28]
mov dword [esp + 0x5da], eax
mov dword [esp + 0xa24], ebx
mov byte [esp + 0x5de], al
lea edx, [esp + 0x2c]
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0xa24]
push ecx
push edx
mov ecx, 0xced988
call fcn.00486af0
mov eax, dword [eax]
mov ecx, dword [ebp + 4]
cmp ecx, dword [eax + 0x108]
jge 0x535526
mov eax, dword [esp + 0x20]
xor edx, edx
mov dword [esp + 0x242], edx
mov dword [esp + 0x78], ecx
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x246], edx
mov dword [esp + 0x70], eax
mov eax, dword [ebp]
mov dword [esp + 0x74], ecx
mov dword [esp + 0x24a], edx
mov ecx, 0x4c
lea esi, [esp + 0x1c8]
lea edi, [esp + 0x8f4]
mov byte [esp + 0x24e], dl
mov dword [esp + 0x8f0], eax
lea edx, [esp + 0xcc]
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x8f0]
mov dword [esp + 0x7c], ebx
push ecx
mov ecx, dword [esp + 0x20]
push edx
call fcn.00486af0
mov ebx, dword [eax]
mov ecx, dword [ebp]
xor eax, eax
mov dword [esp + 0x688], ecx
mov dword [esp + 0x372], eax
mov ecx, 0x4c
mov dword [esp + 0x376], eax
lea esi, [esp + 0x2f8]
mov dword [esp + 0x37a], eax
lea edi, [esp + 0x68c]
mov byte [esp + 0x37e], al
lea edx, [esp + 0x688]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0xdc]
push edx
push eax
call fcn.00486af0
mov eax, dword [eax]
lea edi, [ebx + 0x10]
or ecx, 0xffffffff
lea esi, [eax + 0x10]
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea edi, [esp + 0x80]
mov edx, ecx
mov eax, dword [esp + 0x18]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea edx, [esp + 0xe4]
and ecx, 3
inc eax
rep movsb byte es:[edi], byte [esi]
xor ecx, ecx
lea esi, [esp + 0xa8]
mov dword [esp + 0xb8], ecx
lea edi, [esp + 0xe6]
mov dword [esp + 0xbc], ecx
mov word [esp + 0xe4], ax
mov dword [esp + 0xc0], ecx
mov dword [esp + 0x18], eax
mov dword [esp + 0xc4], ecx
lea eax, [esp + 0xd4]
mov byte [esp + 0xc8], cl
mov ecx, 8
rep movsd dword es:[edi], dword [esi]
push edx
push eax
lea ecx, [esp + 0x4c]
movsb byte es:[edi], byte [esi]
call fcn.00541710
mov eax, dword [eax]
mov ecx, 8
lea esi, [esp + 0x70]
lea edi, [eax + 0xe]
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x10]
add ebp, 0x88
inc eax
cmp eax, 0xa
mov dword [esp + 0x10], eax
jl 0x53522e
mov ecx, dword [esp + 0x20]
inc ecx
cmp ebp, 0xcf2a18
mov dword [esp + 0x20], ecx
jl 0x535228
mov ebp, dword [esp + 0x18]
mov dword [esp + 0x1c], 0
test bp, bp
je 0x5359c5
mov ebx, 1
and ebp, 0xffff
cmp ebp, ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x2c], ebp
jle 0x5359c5
lea ecx, [esp + 0x20]
lea edx, [esp + 0x94]
push ecx
push edx
lea ecx, [esp + 0x4c]
mov dword [esp + 0x28], ebx
call fcn.005418a0
mov eax, dword [eax]
mov ecx, 8
mov dword [esp + 0x14], eax
add eax, 0xe
mov esi, eax
lea edi, [esp + 0x15c]
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
mov ecx, 8
mov esi, eax
lea edi, [esp + 0x70]
xor edx, edx
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x78]
mov esi, eax
mov dword [esp + 0x10], ecx
mov ecx, 8
lea edi, [esp + 0xe4]
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
mov ecx, 8
mov esi, eax
lea edi, [esp + 0xa8]
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
mov dword [esp + 0x54], edx
mov ecx, 8
mov dword [esp + 0x58], edx
mov esi, eax
mov dword [esp + 0x5c], edx
lea edi, [esp + 0x1a4]
mov byte [esp + 0x60], dl
mov edx, dword [esp + 0x48]
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
mov ecx, 8
mov esi, eax
lea edi, [esp + 0x180]
xor eax, eax
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x1b4]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea esi, [esp + 0x190]
mov eax, ecx
lea edi, [esp + 0x54]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [edx]
mov ecx, eax
cmp eax, edx
mov dword [esp + 0x14], ecx
je 0x5359b8
mov ebp, dword [esp + 0x168]
mov ebx, dword [esp + 0xe4]
mov edx, dword [esp + 0x18]
xor eax, eax
mov ax, word [ecx + 0xc]
cmp eax, edx
jle 0x535997
cmp dword [ecx + 0x1a], ebp
jne 0x535997
add ecx, 0x1e
push ecx
lea ecx, [esp + 0x58]
push ecx
call fcn.0061fa50
add esp, 8
test eax, eax
jne 0x535997
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
inc ecx
mov eax, dword [edx + 0x1a]
mov dword [esp + 0x1c], ecx
cmp eax, 0x62
jne 0x53572f
xor eax, eax
mov ecx, 0x4c
mov dword [esp + 0x372], eax
lea esi, [esp + 0x2f8]
mov dword [esp + 0x376], eax
lea edi, [esp + 0x68c]
mov dword [esp + 0x37a], eax
mov dword [esp + 0x688], ebp
mov byte [esp + 0x37e], al
lea edx, [esp + 0xd4]
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x688]
push ecx
push edx
mov ecx, 0xced988
call fcn.00474ae0
mov ecx, dword [eax]
mov dword [esp + 0x3c], ecx
lea ecx, [esp + 0x3c]
mov edx, dword [eax + 4]
lea eax, [esp + 0x40]
push eax
push ecx
lea ecx, [esp + 0xe4]
mov dword [esp + 0x48], edx
call fcn.0045bbb0
xor edx, edx
mov ecx, 0x4c
mov dword [esp + 0x242], edx
lea esi, [esp + 0x1c8]
mov dword [esp + 0x246], edx
lea edi, [esp + 0x8f4]
mov dword [esp + 0x24a], edx
mov dword [esp + 0x8f0], ebp
mov byte [esp + 0x24e], dl
lea eax, [esp + 0x8f0]
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0xcc]
push eax
push ecx
mov ecx, 0xced988
call fcn.00474ae0
mov edx, dword [eax]
lea ecx, [esp + 0x38]
mov dword [esp + 0x34], edx
lea edx, [esp + 0x34]
mov eax, dword [eax + 4]
push ecx
push edx
lea ecx, [esp + 0x120]
mov dword [esp + 0x40], eax
call fcn.0045bbb0
mov ecx, dword [eax]
mov esi, dword [esp + 0x10]
mov eax, dword [eax + 4]
mov edi, dword [ecx + 0x108]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x14]
mov edx, dword [eax + 0x16]
add edx, esi
cmp edx, edi
jg 0x535842
xor edi, edi
mov edx, ebp
mov dword [esp + 0x6c], edi
mov ecx, dword [eax + 0x16]
and ecx, 0xffff
push 0xc
shl edx, 0x10
or ecx, edx
mov byte [esp + 0x102c], 1
mov dword [esp + 0x68], ecx
mov ecx, dword [eax + 0xe]
mov edx, dword [eax + 0x12]
lea ecx, [ecx + ecx*4]
lea eax, [edx + ecx*2]
mov edx, dword [esp + 0xb0]
lea ecx, [ebx + ebx*4]
shl eax, 0x10
lea ecx, [edx + ecx*2]
lea edx, [esp + 0x68]
and ecx, 0xffff
push edx
or eax, ecx
push 0xe10
mov dword [esp + 0x74], eax
call fcn.004ac410
mov eax, dword [esp + 0x20]
add esp, 0xc
mov byte [esp + 0x1028], 0
mov ecx, dword [eax + 0x16]
mov dword [esp + 0x6c], edi
add esi, ecx
mov dword [esp + 0x10], esi
jmp 0x535997
xor ecx, ecx
lea esi, [esp + 0x558]
mov dword [esp + 0x5d2], ecx
lea edi, [esp + 0xa28]
mov dword [esp + 0x5d6], ecx
mov dword [esp + 0xa24], ebp
mov dword [esp + 0x5da], ecx
lea edx, [esp + 0xa24]
mov byte [esp + 0x5de], cl
mov ecx, 0x4c
rep movsd dword es:[edi], dword [esi]
lea eax, [esp + 0x108]
push edx
push eax
mov ecx, 0xced988
mov byte [esp + 0x1030], 2
call fcn.00474ae0
mov ecx, eax
push 0xc
mov eax, dword [ecx]
mov edx, dword [ecx + 4]
mov ecx, dword [eax + 0x108]
mov eax, dword [esp + 0x18]
mov dword [esp + 0x28], edx
mov edx, ebp
sub ecx, dword [eax + 0x16]
and ecx, 0xffff
shl edx, 0x10
or ecx, edx
mov dword [esp + 0xa0], ecx
mov ecx, dword [eax + 0xe]
mov edx, dword [eax + 0x12]
lea ecx, [ecx + ecx*4]
lea eax, [edx + ecx*2]
mov edx, dword [esp + 0xb0]
lea ecx, [ebx + ebx*4]
shl eax, 0x10
lea ecx, [edx + ecx*2]
lea edx, [esp + 0xa0]
and ecx, 0xffff
push edx
or eax, ecx
push 0xe10
mov dword [esp + 0xac], eax
call fcn.004ac410
xor eax, eax
mov ecx, 0x4c
mov dword [esp + 0x4ae], eax
lea esi, [esp + 0x434]
mov dword [esp + 0x4b2], eax
lea edi, [esp + 0x7cc]
mov dword [esp + 0x4b6], eax
mov dword [esp + 0x7c8], ebp
mov byte [esp + 0x4ba], al
add esp, 0xc
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x7bc]
lea edx, [esp + 0x110]
push ecx
push edx
mov ecx, 0xced988
call fcn.00474ae0
mov ecx, eax
mov byte [esp + 0x1028], 0
mov eax, dword [ecx]
mov edx, dword [ecx + 4]
mov ecx, dword [esp + 0x14]
mov eax, dword [eax + 0x108]
mov dword [esp + 0x24], edx
mov edx, dword [ecx + 0x16]
mov ecx, dword [esp + 0x10]
sub eax, edx
mov dword [esp + 0xa4], 0
add ecx, eax
mov dword [esp + 0x10], ecx
lea ecx, [esp + 0x14]
call fcn.00542870
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x48]
cmp ecx, eax
jne 0x53566f
mov ebp, dword [esp + 0x2c]
mov ebx, dword [esp + 0x18]
inc ebx
cmp ebx, ebp
mov dword [esp + 0x18], ebx
jl 0x535583
mov ecx, 0xf
xor eax, eax
lea edi, [esp + 0x120]
xor esi, esi
rep stosd dword es:[edi], eax
cmp dword [0xa4f274], esi
je 0x5359ee
lea edx, [esp + 0x120]
push 0x66b768
push edx
jmp 0x5359fb
lea eax, [esp + 0x120]
push 0x66b758
push eax
call fcn.006133d6
add esp, 8
lea ecx, [esp + 0x120]
push esi
push esi
push esi
push esi
push ecx
call fcn.004cbc90
mov eax, dword [esp + 0x5c]
add esp, 0x14
lea edx, [esp + 0x94]
mov dword [esp + 0x1028], 0xffffffff
mov ecx, dword [eax]
push eax
push ecx
push edx
lea ecx, [esp + 0x50]
call fcn.00541770
mov eax, dword [esp + 0x48]
push eax
call fcn.006066eb
add esp, 4
lea ecx, [esp + 0x2c]
mov dword [esp + 0x48], esi
mov dword [esp + 0x50], esi
call fcn.006071a8
mov eax, dword [0xcf5110]
dec eax
mov dword [0xcf5110], eax
jne 0x535a7b
mov ecx, dword [0xcf510c]
push ecx
call fcn.006066eb
add esp, 4
mov dword [0xcf510c], esi
lea ecx, [esp + 0x2c]
call fcn.00607244
mov ecx, dword [esp + 0x1020]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x101c
ret