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

Disassembly:
sub esp, 0xa0
push ebx
push ebp
push esi
mov esi, dword [esp + 0xb4]
push edi
push 1
mov eax, dword [esi]
xor edi, edi
mov eax, dword [eax + 8]
push eax
call dword [eax + 0x14]
mov ecx, dword [esi]
mov ebx, eax
xor ebp, ebp
push 1
mov edx, dword [ecx + 8]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x24], ebp
mov eax, dword [edx + 8]
push eax
call dword [eax + 0x18]
add eax, 0xfffffff4
add esp, 0x10
cmp eax, 0x38
ja case.0x5297ff.21
xor ecx, ecx
mov cl, byte [eax + 0x52a0b8]
jmp dword [ecx*4 + 0x52a090]
mov edx, dword [esi]
push 2
mov eax, dword [edx + 8]
mov eax, dword [eax + 8]
push eax
call dword [eax + 0x18]
add esp, 8
cmp eax, 7
je 0x5298b5
cmp eax, 0x78
je 0x5298ae
mov ecx, dword [esi]
mov eax, dword [ecx + 4]
mov ecx, dword [eax + 8]
mov edx, dword [ecx + 0x20]
test edx, edx
jle 0x529858
mov eax, dword [esp + 0xb4]
mov byte [ecx + 0x18], 1
mov edx, eax
pop edi
pop esi
mov dword [edx], ebx
mov dword [edx + 4], ebx
mov dword [edx + 8], ebp
pop ebp
pop ebx
add esp, 0xa0
ret
push eax
call dword [eax + 0x88]
mov eax, dword [esi]
add esp, 4
mov ecx, dword [eax + 4]
mov edx, dword [ecx + 8]
mov eax, dword [edx + 4]
mov dword [eax], 3
mov ecx, dword [esi]
mov edx, dword [ecx + 4]
mov eax, dword [edx + 8]
mov ecx, dword [eax + 4]
mov dword [ecx + 8], 0x662668
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, dword [eax + 8]
mov edx, dword [ecx + 4]
mov dword [edx + 0x34], 0xd
mov eax, dword [esi]
mov ecx, dword [eax + 4]
mov edx, dword [ecx + 8]
mov eax, dword [edx + 4]
mov dword [eax + 0x38], 1
jmp case.default.0x5298fc
mov eax, 2
jmp 0x5298f2
mov eax, 1
jmp 0x5298f2
mov eax, 3
jmp 0x5298f2
mov eax, 4
jmp 0x5298f2
mov eax, 5
jmp 0x5298f2
mov eax, 6
jmp 0x5298f2
mov eax, 7
jmp 0x5298f2
mov eax, 8
jmp 0x5298f2
mov eax, 9
jmp 0x5298f2
mov eax, 0xa
dec eax
cmp eax, 9
ja case.default.0x5298fc
jmp dword [eax*4 + 0x52a0f4]
mov eax, dword [esi + 0x1a8]
push eax
call dword [eax + 0x10]
mov ecx, dword [esi]
mov edi, eax
push 1
mov eax, dword [ecx + 8]
push eax
call dword [eax + 0x14]
mov edx, dword [esi]
push 1
mov eax, dword [edx + 8]
push eax
call dword [eax + 0x14]
mov dword [esp + 0x3c], eax
mov eax, dword [esi]
push 1
mov ecx, dword [eax + 8]
mov eax, dword [ecx + 8]
push eax
call dword [eax + 0x18]
add esp, 0x1c
cmp eax, 0x43
jb 0x529a52
mov edx, dword [esi]
push 1
mov eax, dword [edx + 8]
mov eax, dword [eax + 8]
push eax
call dword [eax + 0x18]
add esp, 8
cmp eax, 0x44
ja 0x529a52
mov ecx, dword [esi]
mov edx, dword [ecx + 8]
mov eax, dword [edx + 8]
push eax
call dword [eax + 0x14]
mov eax, dword [esi]
add esp, 4
mov ecx, dword [eax + 4]
mov edx, dword [ecx + 8]
mov eax, dword [edx + 0x20]
test eax, eax
jne 0x52999e
mov eax, dword [esp + 0x28]
mov ebp, dword [esi + 0x1a8]
push edi
push eax
push ebp
call dword [ebp + 0x40]
mov ecx, dword [esi + 0x1a8]
add esp, 8
push eax
push ecx
call dword [ebp + 0x34]
add esp, 0xc
mov edi, eax
mov edx, dword [esi]
push 0
push 0x658528
mov eax, dword [edx + 4]
mov ecx, dword [eax + 8]
mov byte [ecx + 0x10], 0
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, dword [eax + 8]
mov byte [ecx + 0x18], 0
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, dword [eax + 8]
mov eax, dword [ecx + 0xc]
push eax
call dword [eax + 0x14]
lea edx, [esp + 0x8c]
push esi
push edx
call fcn.0052e780
mov ecx, dword [eax]
mov dword [esp + 0x30], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x34], edx
mov ebp, dword [eax + 8]
mov eax, dword [esi]
mov ecx, dword [eax + 4]
mov edx, dword [ecx + 8]
mov eax, dword [edx + 0xc]
push eax
call dword [eax + 0xc]
mov eax, dword [esi]
add esp, 0x18
mov ecx, dword [eax + 4]
mov eax, dword [ecx + 8]
cmp byte [eax], 1
je case.default.0x5298fc
cmp byte [eax + 0x18], 1
jne 0x529a33
mov eax, dword [esp + 0xb4]
mov ecx, dword [esp + 0x18]
mov edx, eax
pop edi
pop esi
pop ebp
mov dword [edx], ebx
mov dword [edx + 4], ebx
pop ebx
mov dword [edx + 8], ecx
add esp, 0xa0
ret
mov ecx, dword [eax + 0x20]
test ecx, ecx
jne case.default.0x5298fc
mov eax, dword [esi + 0x1a8]
push ebp
push edi
push eax
call dword [eax + 0x1c]
add esp, 0xc
jmp case.default.0x5298fc
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, dword [eax + 8]
mov edx, dword [ecx + 0x20]
test edx, edx
jle 0x529a81
mov eax, dword [esp + 0xb4]
mov byte [ecx + 0x18], 1
mov ecx, eax
pop edi
pop esi
mov dword [ecx], ebx
mov dword [ecx + 4], ebx
mov dword [ecx + 8], ebp
pop ebp
pop ebx
add esp, 0xa0
ret
push eax
call dword [eax + 0x88]
mov edx, dword [esi]
push 0x658518
mov eax, dword [edx + 4]
mov ecx, dword [eax + 8]
mov edx, dword [ecx + 4]
mov dword [edx], 4
mov eax, dword [esi]
mov ecx, dword [eax + 4]
mov edx, dword [ecx + 8]
mov eax, dword [edx + 4]
mov dword [eax + 4], str.Mismatched_set
mov ecx, dword [esi]
mov edx, dword [ecx + 4]
mov eax, dword [edx + 8]
mov ecx, dword [eax + 4]
mov dword [ecx + 0x20], 0x658518
mov edx, dword [esi]
mov eax, dword [edx + 4]
push eax
call dword [eax + 0x54]
add esp, 0xc
jmp case.default.0x5298fc
mov eax, dword [esi + 0x1a8]
push eax
call dword [eax + 0x10]
mov edi, eax
mov eax, dword [esi]
push 1
mov eax, dword [eax + 8]
push eax
call dword [eax + 0x14]
mov ecx, dword [esi]
push 1
mov eax, dword [ecx + 8]
push eax
call dword [eax + 0x14]
mov edx, dword [esi]
mov ebx, eax
push 1
mov eax, dword [edx + 8]
mov eax, dword [eax + 8]
push eax
call dword [eax + 0x18]
add esp, 0x1c
cmp eax, 0x43
jb 0x529cd2
mov ecx, dword [esi]
push 1
mov edx, dword [ecx + 8]
mov eax, dword [edx + 8]
push eax
call dword [eax + 0x18]
add esp, 8
cmp eax, 0x44
ja 0x529cd2
mov eax, dword [esi]
mov ecx, dword [eax + 8]
mov eax, dword [ecx + 8]
push eax
call dword [eax + 0x14]
mov edx, dword [esi]
add esp, 4
mov eax, dword [edx + 4]
mov ecx, dword [eax + 8]
mov eax, dword [ecx + 0x20]
test eax, eax
jne 0x529b68
mov ebp, dword [esi + 0x1a8]
push edi
push ebx
push ebp
call dword [ebp + 0x40]
mov edx, dword [esi + 0x1a8]
add esp, 8
push eax
push edx
call dword [ebp + 0x34]
add esp, 0xc
mov edi, eax
mov eax, dword [esi]
push 0
push 0x658558
mov ecx, dword [eax + 4]
mov edx, dword [ecx + 8]
mov byte [edx + 0x10], 0
mov eax, dword [esi]
mov ecx, dword [eax + 4]
mov edx, dword [ecx + 8]
mov byte [edx + 0x18], 0
mov eax, dword [esi]
mov ecx, dword [eax + 4]
mov edx, dword [ecx + 8]
mov eax, dword [edx + 0xc]
push eax
call dword [eax + 0x14]
lea eax, [esp + 0xa4]
push esi
push eax
call fcn.0052ef60
mov ecx, dword [eax]
mov dword [esp + 0x30], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x34], edx
mov ebp, dword [eax + 8]
mov eax, dword [esi]
mov ecx, dword [eax + 4]
mov edx, dword [ecx + 8]
mov eax, dword [edx + 0xc]
push eax
call dword [eax + 0xc]
mov eax, dword [esi]
add esp, 0x18
mov ecx, dword [eax + 4]
mov eax, dword [ecx + 8]
cmp byte [eax], 1
je case.default.0x5298fc
cmp byte [eax + 0x18], 1
jne 0x529c01
mov eax, dword [esp + 0xb4]
mov ecx, dword [esp + 0x10]
mov edx, eax
pop edi
pop esi
pop ebp
mov dword [edx], ecx
pop ebx
mov dword [edx + 4], ecx
mov ecx, dword [esp + 8]
mov dword [edx + 8], ecx
add esp, 0xa0
ret
mov ecx, dword [eax + 0x20]
test ecx, ecx
jne 0x529c17
mov eax, dword [esi + 0x1a8]
push ebp
push edi
push eax
call dword [eax + 0x1c]
add esp, 0xc
mov edx, dword [esi]
push 1
mov ebp, 2
mov eax, dword [edx + 8]
mov eax, dword [eax + 8]
push eax
call dword [eax + 0x18]
add esp, 8
cmp eax, 0x64
jne 0x529c37
mov ebp, 1
dec ebp
jne case.default.0x5298fc
mov ecx, dword [esi]
push 0x658570
push 0x64
mov eax, dword [ecx + 4]
push eax
call dword [eax + 0x10]
mov edx, dword [esi]
add esp, 0xc
mov eax, dword [edx + 4]
mov eax, dword [eax + 8]
cmp byte [eax], 1
je case.default.0x5298fc
cmp byte [eax + 0x18], 1
je 0x529bdd
mov eax, dword [eax + 0xc]
push 0
push 0x658588
push eax
call dword [eax + 0x14]
lea ecx, [esp + 0x5c]
push esi
push ecx
call fcn.0052ef60
mov edx, dword [eax]
mov dword [esp + 0x30], edx
mov edx, dword [esi]
mov ecx, dword [eax + 4]
mov dword [esp + 0x34], ecx
mov ebp, dword [eax + 8]
mov eax, dword [edx + 4]
mov ecx, dword [eax + 8]
mov eax, dword [ecx + 0xc]
push eax
call dword [eax + 0xc]
mov edx, dword [esi]
add esp, 0x18
mov eax, dword [edx + 4]
mov eax, dword [eax + 8]
cmp byte [eax], 1
je case.default.0x5298fc
cmp byte [eax + 0x18], 1
je 0x529bdd
mov ecx, dword [eax + 0x20]
test ecx, ecx
jne 0x529c17
jmp 0x529c08
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, dword [eax + 8]
mov edx, dword [ecx + 0x20]
test edx, edx
jle 0x529cea
mov byte [ecx + 0x18], 1
jmp 0x529bdd
push eax
call dword [eax + 0x88]
mov edx, dword [esi]
push 0x658540
mov eax, dword [edx + 4]
mov ecx, dword [eax + 8]
mov edx, dword [ecx + 4]
mov dword [edx], 4
mov eax, dword [esi]
mov ecx, dword [eax + 4]
mov edx, dword [ecx + 8]
mov eax, dword [edx + 4]
mov dword [eax + 4], str.Mismatched_set
mov ecx, dword [esi]
mov edx, dword [ecx + 4]
mov eax, dword [edx + 8]
mov ecx, dword [eax + 4]
mov dword [ecx + 0x20], 0x658540
mov edx, dword [esi]
mov eax, dword [edx + 4]
push eax
call dword [eax + 0x54]
add esp, 0xc
jmp case.default.0x5298fc
mov eax, dword [esi + 0x1a8]
push eax
call dword [eax + 0x10]
mov edi, eax
mov eax, dword [esi]
push 0
push 0x658598
mov ecx, dword [eax + 4]
mov edx, dword [ecx + 8]
mov eax, dword [edx + 0xc]
push eax
call dword [eax + 0x14]
lea eax, [esp + 0x3c]
push esi
push eax
call fcn.0053a360
mov ecx, dword [eax]
mov dword [esp + 0x34], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x38], edx
jmp 0x529f32
mov eax, dword [esi + 0x1a8]
push eax
call dword [eax + 0x10]
mov edx, dword [esi]
mov edi, eax
push 0
push 0x6585a8
mov eax, dword [edx + 4]
mov ecx, dword [eax + 8]
mov eax, dword [ecx + 0xc]
push eax
call dword [eax + 0x14]
lea edx, [esp + 0x78]
push esi
push edx
call fcn.0052f950
mov ecx, dword [eax]
mov dword [esp + 0x34], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x38], edx
jmp 0x529f32
mov eax, dword [esi + 0x1a8]
push eax
call dword [eax + 0x10]
mov edx, dword [esi]
mov edi, eax
push 0
push 0x6585b8
mov eax, dword [edx + 4]
mov ecx, dword [eax + 8]
mov eax, dword [ecx + 0xc]
push eax
call dword [eax + 0x14]
lea edx, [esp + 0x48]
push esi
push edx
call fcn.00532ad0
mov ecx, dword [eax]
mov dword [esp + 0x34], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x38], edx
jmp 0x529f32
mov eax, dword [esi + 0x1a8]
push eax
call dword [eax + 0x10]
mov edx, dword [esi]
mov edi, eax
push 0
push 0x6585c8
mov eax, dword [edx + 4]
mov ecx, dword [eax + 8]
mov eax, dword [ecx + 0xc]
push eax
call dword [eax + 0x14]
lea edx, [esp + 0x54]
push esi
push edx
call fcn.005334f0
mov ecx, dword [eax]
mov dword [esp + 0x34], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x38], edx
jmp 0x529f32
mov eax, dword [esi + 0x1a8]
push eax
call dword [eax + 0x10]
mov edx, dword [esi]
mov edi, eax
push 0
push 0x6585d8
mov eax, dword [edx + 4]
mov ecx, dword [eax + 8]
mov eax, dword [ecx + 0xc]
push eax
call dword [eax + 0x14]
lea edx, [esp + 0x6c]
push esi
push edx
call fcn.00534d50
mov ecx, dword [eax]
mov dword [esp + 0x34], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x38], edx
jmp 0x529f32
mov eax, dword [esi + 0x1a8]
push eax
call dword [eax + 0x10]
mov edx, dword [esi]
mov edi, eax
push 0
push 0x6585e8
mov eax, dword [edx + 4]
mov ecx, dword [eax + 8]
mov eax, dword [ecx + 0xc]
push eax
call dword [eax + 0x14]
lea edx, [esp + 0x84]
push esi
push edx
call fcn.00538570
mov ecx, dword [eax]
mov dword [esp + 0x34], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x38], edx
jmp 0x529f32
mov eax, dword [esi + 0x1a8]
push eax
call dword [eax + 0x10]
mov edx, dword [esi]
mov edi, eax
push 0
push 0x6585f8
mov eax, dword [edx + 4]
mov ecx, dword [eax + 8]
mov eax, dword [ecx + 0xc]
push eax
call dword [eax + 0x14]
lea edx, [esp + 0x9c]
push esi
push edx
call fcn.0053d8e0
mov ecx, dword [eax]
mov dword [esp + 0x34], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x38], edx
jmp 0x529f32
mov eax, dword [esi + 0x1a8]
push eax
call dword [eax + 0x10]
mov edx, dword [esi]
mov edi, eax
push 0
push 0x658608
mov eax, dword [edx + 4]
mov ecx, dword [eax + 8]
mov eax, dword [ecx + 0xc]
push eax
call dword [eax + 0x14]
lea edx, [esp + 0xb4]
push esi
push edx
call fcn.00539d80
mov ecx, dword [eax]
mov dword [esp + 0x34], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x38], edx
mov ebp, dword [eax + 8]
mov eax, dword [esi]
mov ecx, dword [eax + 4]
mov edx, dword [ecx + 8]
mov eax, dword [edx + 0xc]
push eax
call dword [eax + 0xc]
mov eax, dword [esi]
add esp, 0x1c
mov ecx, dword [eax + 4]
mov eax, dword [ecx + 8]
cmp byte [eax], 1
je case.default.0x5298fc
cmp byte [eax + 0x18], 1
jne 0x529a33
jmp 0x529a13
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, dword [eax + 8]
mov edx, dword [ecx + 0x20]
test edx, edx
jg 0x529a61
push eax
call dword [eax + 0x88]
mov edx, dword [esi]
add esp, 4
mov eax, dword [edx + 4]
mov ecx, dword [eax + 8]
mov edx, dword [ecx + 4]
mov dword [edx], 3
mov eax, dword [esi]
mov ecx, dword [eax + 4]
mov edx, dword [ecx + 8]
mov eax, dword [edx + 4]
mov dword [eax + 8], 0x662668
mov ecx, dword [esi]
mov edx, dword [ecx + 4]
mov eax, dword [edx + 8]
mov ecx, dword [eax + 4]
mov dword [ecx + 0x34], 0xd
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, dword [eax + 8]
mov edx, dword [ecx + 4]
mov dword [edx + 0x38], 0
mov eax, dword [esi]
push 0xffffffffffffffff
mov eax, dword [eax + 8]
push eax
call dword [eax + 0x14]
mov ebp, eax
mov eax, dword [esi]
add esp, 8
mov ecx, dword [eax + 4]
mov edx, dword [ecx + 8]
mov ecx, dword [edx + 0x20]
test ecx, ecx
jne 0x52a017
mov eax, dword [eax + 8]
push 0xffffffffffffffff
push eax
call dword [eax + 0x14]
mov ebp, eax
mov eax, dword [esi + 0x1a8]
push edi
push eax
call dword [eax + 0x38]
mov ebx, dword [esp + 0x20]
mov edi, eax
mov eax, dword [esi + 0x1a8]
push ebp
push ebx
push edi
push eax
call dword [eax + 0x90]
add esp, 0x20
jmp 0x52a01f
mov ebx, dword [esp + 0x10]
mov edi, dword [esp + 0x18]
mov eax, dword [esi]
mov eax, dword [eax + 4]
mov ecx, dword [eax + 8]
cmp byte [ecx], 1
jne 0x52a071
push eax
call dword [eax + 0x24]
mov edx, dword [esi]
mov eax, dword [edx + 4]
push eax
call dword [eax + 0x30]
mov eax, dword [esi]
mov edi, dword [esi + 0x1a8]
add esp, 8
mov ecx, dword [eax + 8]
mov eax, dword [eax + 4]
mov edx, dword [eax + 8]
mov eax, dword [edx + 4]
push eax
push 0xffffffffffffffff
push ecx
call dword [ecx + 0x14]
mov ecx, dword [esi]
add esp, 8
mov edx, dword [ecx + 8]
push eax
mov eax, dword [esi + 0x1a8]
push ebx
push edx
push eax
call dword [edi + 0x2c]
add esp, 0x14
mov edi, eax
mov eax, dword [esp + 0xb4]
mov ecx, eax
mov dword [ecx], ebx
mov dword [ecx + 4], ebp
mov dword [ecx + 8], edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa0
ret