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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push ebx
mov ebx, dword [ebp + 8]
push esi
mov eax, dword [ebx + 0x14]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x52eb2f
push eax
call dword [0x88054c]
add esp, 4
mov eax, dword [ebx + 0x18]
cmp byte [eax + 9], 0
je 0x52eb4a
inc dword [eax + 0xc]
cmp byte [eax + 0xa], 0
jne 0x52eb4a
push eax
call fcn.00535f00
add esp, 4
mov eax, dword [ebx]
test eax, eax
je 0x52eb61
mov eax, dword [eax + 0xc]
test eax, eax
je 0x52eb61
push eax
call dword [0x88054c]
add esp, 4
mov esi, dword [ebx + 0x1c]
test esi, esi
je 0x52eb76
cmp esi, 5
je 0x52eb76
cmp esi, 6
jne 0x52f166
cmp dword [ebx], 0
mov ecx, dword [ebx + 0x18]
mov dword [ebp - 0x3c], 0
mov edx, dword [ecx + 4]
mov eax, dword [edx]
mov dword [ebp - 0x24], eax
mov eax, dword [ebx + 4]
mov eax, dword [eax + 4]
mov eax, dword [eax]
mov dword [ebp - 0xc], eax
je 0x52eba5
cmp byte [edx + 0x14], 2
jne 0x52eba5
mov esi, 5
jmp 0x52ebc0
xor esi, esi
cmp byte [ecx + 8], 0
jne 0x52ebc0
push esi
push ecx
call fcn.00556260
add esp, 8
mov dword [ebp - 0x3c], 1
mov esi, eax
cmp dword [ebx + 0xc], 0
push edi
jne 0x52ebef
test esi, esi
jne 0x52ec59
mov eax, dword [ebx + 0x18]
push esi
push 0xffffffffffffffff
mov eax, dword [eax + 4]
push dword [eax + 0x20]
push dword [ebx + 4]
call fcn.00558df0
add esp, 0x10
cmp eax, 7
jne 0x52ebf3
mov esi, eax
jmp 0x52ec59
test esi, esi
jne 0x52ec59
cmp dword [ebx + 0xc], 0
jne 0x52ec59
push 2
push dword [ebx + 4]
call fcn.00556260
mov esi, eax
add esp, 8
test esi, esi
jne 0x52ec59
mov edi, dword [ebx + 4]
mov dword [ebx + 0xc], 1
cmp byte [edi + 9], 0
mov eax, dword [edi + 4]
mov dword [ebp - 0x38], eax
je 0x52ec37
inc dword [edi + 0xc]
cmp byte [edi + 0xa], 0
jne 0x52ec37
push edi
call fcn.00535f00
mov eax, dword [ebp - 0x38]
add esp, 4
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0x38]
mov eax, dword [eax + 0x28]
bswap eax
mov dword [ebx + 8], eax
cmp byte [edi + 9], 0
je 0x52ec59
dec dword [edi + 0xc]
jne 0x52ec59
push edi
call fcn.0058bb60
add esp, 4
mov eax, dword [ebx + 0x18]
mov edx, dword [eax + 4]
mov eax, dword [ebx + 4]
mov edi, dword [edx + 0x20]
mov eax, dword [eax + 4]
mov dword [ebp - 8], edi
mov ecx, dword [eax + 0x20]
mov eax, dword [eax]
mov dword [ebp - 0x14], ecx
movzx eax, byte [eax + 5]
mov dword [ebp - 0x2c], eax
test esi, esi
jne 0x52ec8d
cmp eax, 5
jne 0x52ec8d
cmp edi, ecx
mov eax, 8
cmovne esi, eax
mov edx, dword [edx + 0x2c]
xor eax, eax
mov dword [ebp - 4], edx
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x18], eax
test ecx, ecx
js 0x52eca3
cmp eax, ecx
jge 0x52ed12
mov edi, dword [ebx + 0x10]
cmp edi, edx
ja 0x52ed12
test esi, esi
jne 0x52ed4d
mov eax, dword [ebx + 0x18]
xor edx, edx
mov ecx, dword [eax + 4]
mov eax, dword [0x880600]
div dword [ecx + 0x20]
inc eax
cmp edi, eax
je 0x52ed06
push 2
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0x24]
push edi
push eax
mov eax, dword [eax + 0xc8]
call eax
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x52ed06
mov eax, dword [ebp - 0x1c]
push esi
push dword [eax + 4]
push edi
push ebx
call fcn.00533200
mov esi, eax
add esp, 0x10
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x52ed06
push eax
call fcn.0056d010
add esp, 4
mov eax, dword [ebp - 0x18]
inc dword [ebx + 0x10]
inc eax
mov edx, dword [ebp - 4]
jmp 0x52ec95
test esi, esi
jne 0x52ed4d
mov eax, edx
mov dword [ebx + 0x24], edx
sub eax, dword [ebx + 0x10]
inc eax
mov dword [ebx + 0x20], eax
cmp dword [ebx + 0x10], edx
ja 0x52ed56
cmp dword [ebx + 0x28], esi
jne 0x52f0c6
mov eax, dword [ebx + 0x18]
mov eax, dword [eax + 4]
mov ecx, dword [eax]
mov eax, dword [ecx + 0x58]
mov dword [ebx + 0x2c], eax
mov dword [ecx + 0x58], ebx
mov dword [ebx + 0x28], 1
jmp 0x52f0c6
cmp esi, 0x65
jne 0x52f0c6
test edx, edx
jne 0x52edaf
mov edi, dword [ebx + 4]
cmp byte [edi + 9], dl
je 0x52ed73
inc dword [edi + 0xc]
cmp byte [edi + 0xa], dl
jne 0x52ed73
push edi
call fcn.00535f00
add esp, 4
mov eax, dword [edi + 4]
mov dword [eax + 0x2c], 0
push dword [edi + 4]
call fcn.00549540
add esp, 4
mov esi, eax
cmp byte [edi + 9], 0
je 0x52ed9e
dec dword [edi + 0xc]
jne 0x52ed9e
push edi
call fcn.0058bb60
add esp, 4
mov edi, 1
mov dword [ebp - 4], edi
test esi, esi
je 0x52edaf
cmp esi, 0x65
jne 0x52ee10
mov edi, dword [ebx + 4]
mov eax, dword [ebx + 8]
inc eax
mov dword [ebp - 0x38], eax
cmp byte [edi + 9], 0
mov esi, dword [edi + 4]
je 0x52edd4
inc dword [edi + 0xc]
cmp byte [edi + 0xa], 0
jne 0x52edd4
push edi
call fcn.00535f00
add esp, 4
mov eax, dword [esi + 0xc]
mov ecx, dword [eax + 0x38]
push dword [eax + 0x48]
mov dword [ebp - 0x30], ecx
call fcn.0056d0a0
mov esi, eax
add esp, 4
test esi, esi
jne 0x52edf9
mov ecx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x38]
bswap eax
mov dword [ecx + 0x28], eax
cmp byte [edi + 9], 0
je 0x52ee0d
dec dword [edi + 0xc]
jne 0x52ee0d
push edi
call fcn.0058bb60
add esp, 4
mov edi, dword [ebp - 4]
test esi, esi
jne 0x52f0c6
mov eax, dword [ebx]
test eax, eax
je 0x52ee27
push eax
call fcn.00570f30
add esp, 4
cmp dword [ebp - 0x2c], 5
jne 0x52eeb6
mov ecx, dword [ebx + 4]
mov edx, 0xffdf
push 0
push ecx
mov dword [ebp - 0x38], ecx
mov eax, dword [ecx + 4]
mov dword [ebp - 0x10], eax
and word [eax + 0x16], dx
call fcn.00556260
mov esi, eax
add esp, 8
test esi, esi
jne 0x52eea2
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0x38]
mov dword [ebp - 0x30], eax
cmp byte [eax + 0x12], 2
jne 0x52ee6f
cmp byte [eax + 0x13], 2
je 0x52eea2
push 2
push dword [ebp - 0x38]
call fcn.00556260
mov esi, eax
add esp, 8
test esi, esi
jne 0x52eea2
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xc]
push dword [eax + 0x48]
call fcn.0056d0a0
mov esi, eax
add esp, 4
test esi, esi
jne 0x52eea2
mov eax, dword [ebp - 0x30]
mov word [eax + 0x12], 0x202
mov eax, dword [ebp - 0x10]
mov ecx, 0xffdf
and word [eax + 0x16], cx
test esi, esi
jne 0x52f0c6
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 8]
cmp eax, ecx
jge 0x52eeed
mov eax, ecx
cdq
idiv dword [ebp - 8]
mov ecx, eax
lea eax, [ecx - 1]
add eax, edi
cdq
idiv ecx
xor edx, edx
mov edi, eax
mov eax, dword [ebx + 4]
mov ecx, dword [eax + 4]
mov eax, dword [0x880600]
div dword [ecx + 0x20]
mov ecx, dword [ebp - 4]
inc eax
cmp edi, eax
jne 0x52eef8
dec edi
jmp 0x52eef8
cdq
idiv ecx
mov ecx, dword [ebp - 4]
mov edi, eax
imul edi, ecx
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 0x14]
jge 0x52f251
cdq
mov dword [ebp - 0x18], edx
push dword [ebp - 0x18]
mov dword [ebp - 0x10], eax
mov eax, ecx
push dword [ebp - 0x10]
cdq
push edx
push eax
call fcn.00723510
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x38], edx
mov ecx, dword [eax + 0x3c]
mov eax, dword [eax + 0x18]
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x2c], eax
cmp edi, eax
ja 0x52ef8c
mov eax, dword [ebx + 4]
xor edx, edx
mov ecx, dword [eax + 4]
mov eax, dword [0x880600]
div dword [ecx + 0x20]
inc eax
cmp edi, eax
je 0x52ef82
push 0
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0xc]
push edi
push eax
mov eax, dword [eax + 0xc8]
call eax
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x52ef82
push dword [ebp - 0x1c]
call fcn.0056d0a0
mov esi, eax
add esp, 4
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x52ef82
push eax
call fcn.0056d010
add esp, 4
mov eax, dword [ebp - 0x2c]
inc edi
test esi, esi
je 0x52ef30
jmp 0x52efa1
test esi, esi
jne 0x52efa1
mov eax, dword [ebp - 0xc]
push 1
push esi
push eax
call fcn.0056bd60
add esp, 0xc
mov esi, eax
mov eax, dword [0x880600]
add eax, dword [ebp - 0x14]
cdq
mov ecx, eax
mov eax, edx
mov edx, dword [ebp - 0x38]
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x20], eax
cmp eax, edx
jg 0x52efc6
jl 0x52efd1
mov eax, dword [ebp - 4]
cmp ecx, eax
jae 0x52efc9
jmp 0x52efd1
mov eax, dword [ebp - 4]
mov ecx, eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x20], edx
mov eax, dword [0x880600]
add eax, dword [ebp - 8]
cdq
mov dword [ebp - 0x28], eax
mov edi, eax
mov dword [ebp - 0x1c], edx
mov eax, edx
test esi, esi
jne 0x52f0c6
lea esp, [esp]
cmp eax, dword [ebp - 0x20]
jg 0x52f1b0
jl 0x52f003
cmp edi, ecx
jae 0x52f1b0
push 0
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x14], 0
push ecx
push dword [ebp - 0x18]
push dword [ebp - 0x10]
push eax
push edi
call fcn.007235e0
inc eax
push eax
mov eax, dword [ebp - 0x24]
push eax
mov eax, dword [eax + 0xc8]
call eax
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x52f051
push dword [ebp - 0x1c]
mov edx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x14]
push edi
push dword [ebp - 8]
mov ecx, dword [edx]
push dword [eax + 4]
push edx
mov eax, dword [ecx + 0xc]
call eax
add esp, 0x14
mov esi, eax
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x52f0a9
test byte [ecx + 0x1c], 0x20
je 0x52f0a0
mov edx, dword [ecx + 0x14]
dec dword [edx + 0x78]
mov eax, dword [edx + 0x88]
mov dword [ecx + 0x10], eax
mov edi, dword [edx + 0x3c]
mov eax, dword [edx + 0x98]
mov dword [edx + 0x88], ecx
push dword [ecx + 4]
mov ecx, dword [ecx + 0x18]
mov ebx, dword [edi]
dec ecx
cdq
push edx
push eax
push 0
push ecx
call fcn.00723510
push edx
push eax
mov eax, dword [ebx + 0x48]
push edi
call eax
mov edi, dword [ebp - 0x28]
add esp, 0x10
jmp 0x52f0a9
push ecx
call fcn.0056dd70
add esp, 4
add edi, dword [ebp - 0x10]
mov eax, dword [ebp - 0x1c]
adc eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x1c], eax
test esi, esi
je 0x52eff0
mov ebx, dword [ebp + 8]
cmp dword [ebp - 0x3c], 0
je 0x52f154
push 0
push dword [ebx + 0x18]
call fcn.005567e0
mov edi, dword [ebx + 0x18]
add esp, 8
cmp byte [edi + 8], 0
je 0x52f154
cmp byte [edi + 9], 0
je 0x52f0fe
inc dword [edi + 0xc]
cmp byte [edi + 0xa], 0
jne 0x52f0fe
push edi
call fcn.00535f00
add esp, 4
cmp byte [edi + 8], 2
jne 0x52f137
mov eax, dword [edi + 4]
mov dword [ebp + 8], eax
push dword [eax]
call fcn.0056bf10
add esp, 4
test eax, eax
jne 0x52f140
mov eax, dword [ebp + 8]
dec dword [edi + 0x14]
push dword [eax + 0x3c]
mov byte [eax + 0x14], 1
call fcn.00555dd0
mov eax, dword [ebp + 8]
add esp, 4
mov dword [eax + 0x3c], 0
push edi
call fcn.00535870
add esp, 4
cmp byte [edi + 9], 0
je 0x52f154
dec dword [edi + 0xc]
jne 0x52f154
push edi
call fcn.0058bb60
add esp, 4
cmp esi, 0xc0a
mov eax, 7
pop edi
cmove esi, eax
mov dword [ebx + 0x1c], esi
mov eax, dword [ebx]
test eax, eax
je 0x52f17d
mov eax, dword [eax + 0xc]
test eax, eax
je 0x52f17d
push eax
call dword [0x880554]
add esp, 4
mov eax, dword [ebx + 0x18]
cmp byte [eax + 9], 0
je 0x52f194
dec dword [eax + 0xc]
jne 0x52f194
push eax
call fcn.0058bb60
add esp, 4
mov ecx, dword [ebx + 0x14]
mov eax, dword [ecx + 0xc]
test eax, eax
je 0x52f1a8
push eax
call dword [0x880554]
add esp, 4
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test esi, esi
jne 0x52f0c3
mov ebx, dword [ebp - 0x30]
lea ecx, [ebp - 0x34]
push ecx
push ebx
mov eax, dword [ebx]
mov eax, dword [eax + 0x18]
call eax
mov esi, eax
add esp, 8
test esi, esi
jne 0x52f0c3
mov ecx, dword [ebp - 0x38]
cmp dword [ebp - 0x30], ecx
jl 0x52f1f7
jg 0x52f1e6
mov eax, dword [ebp - 4]
cmp dword [ebp - 0x34], eax
jbe 0x52f1f7
mov eax, dword [ebx]
push ecx
push dword [ebp - 4]
mov eax, dword [eax + 0x10]
push ebx
call eax
add esp, 0xc
mov esi, eax
test esi, esi
jne 0x52f0c3
mov ebx, dword [ebp - 0xc]
mov ecx, dword [ebx + 0x3c]
cmp dword [ecx], esi
je 0x52f226
mov eax, dword [ecx]
push esi
push 0x15
push ecx
mov eax, dword [eax + 0x28]
call eax
mov esi, eax
add esp, 0xc
cmp esi, 0xc
jne 0x52f222
xor esi, esi
jmp 0x52f226
test esi, esi
jne 0x52f24c
cmp byte [ebx + 7], 0
jne 0x52f24c
movzx ecx, byte [ebx + 0xa]
mov edx, dword [ebx + 0x3c]
test ecx, ecx
je 0x52f24a
mov eax, dword [edx]
push ecx
push edx
mov eax, dword [eax + 0x14]
call eax
mov ebx, dword [ebp + 8]
add esp, 8
mov esi, eax
jmp 0x52f266
xor esi, esi
mov ebx, dword [ebp + 8]
jmp 0x52f266
mov eax, dword [ebp - 0xc]
push 0
push 0
push eax
mov dword [eax + 0x18], edi
call fcn.0056bd60
add esp, 0xc
mov esi, eax
test esi, esi
jne 0x52f0c6
mov edi, dword [ebx + 4]
cmp byte [edi + 8], 0
je 0x52f309
cmp byte [edi + 9], 0
je 0x52f293
inc dword [edi + 0xc]
cmp byte [edi + 0xa], 0
jne 0x52f293
push edi
call fcn.00535f00
add esp, 4
cmp byte [edi + 8], 2
jne 0x52f2ec
mov eax, dword [edi + 4]
mov dword [ebp + 8], eax
push dword [eax]
call fcn.0056bf10
mov esi, eax
add esp, 4
test esi, esi
je 0x52f2d0
cmp byte [edi + 9], 0
je 0x52f0c6
dec dword [edi + 0xc]
jne 0x52f0c6
push edi
call fcn.0058bb60
add esp, 4
jmp 0x52f0c6
mov esi, dword [ebp + 8]
dec dword [edi + 0x14]
push dword [esi + 0x3c]
mov byte [esi + 0x14], 1
call fcn.00555dd0
add esp, 4
mov dword [esi + 0x3c], 0
push edi
call fcn.00535870
add esp, 4
cmp byte [edi + 9], 0
je 0x52f309
dec dword [edi + 0xc]
jne 0x52f309
push edi
call fcn.0058bb60
add esp, 4
mov esi, 0x65
jmp 0x52f0c6