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

Disassembly:
sub esp, 0x3e0
mov eax, dword [0x1391c54]
xor eax, esp
mov dword [esp + 0x3dc], eax
mov eax, dword [0x1393020]
push ebx
push ebp
push esi
push edi
xor edi, edi
cmp eax, edi
jl 0x1352d6c
cmp eax, dword [0x1393030]
jg 0x1352d6c
mov ebp, 1
cmp dword [0x13b6d3e], ebp
jne 0x13526e0
mov ebx, dword [0x13b6870]
mov dword [0x13b6840], edi
mov esi, 0x13b6848
mov edi, 0x13b6d28
call fcn.01354f80
test eax, eax
je 0x13526d0
mov dword [0x13b6840], ebp
call dword [0x138323c]
push 0x3e8
mov dword [0x13b693c], eax
call dword [0x1383250]
jmp 0x1352daa
push 0x1388
call dword [0x1383250]
jmp 0x1352daa
push 0x13b6bd0
mov ecx, 0x1393030
call fcn.01353c70
test eax, eax
je 0x1352d52
mov edx, dword [0x1393b50]
mov eax, dword [0x1393b48]
mov ecx, dword [0x1393b4c]
push 0x3c6
mov dword [0x13b6cd8], edx
mov dword [0x13b6cd0], eax
mov eax, dword [0x1393b54]
mov dword [0x13b6cd4], ecx
mov ecx, dword [0x1393ac4]
lea edx, [esp + 0x24]
push edi
push edx
mov dword [0x13b6cdc], eax
mov dword [0x13b6b4c], ecx
call fcn.0136ee50
mov eax, dword [0x13b6840]
add esp, 0xc
cmp eax, ebp
jne 0x1352803
xor eax, eax
movzx ecx, word [eax + 0x13b6844]
mov word [esp + eax + 0xd2], cx
add eax, 2
cmp cx, di
jne 0x1352751
xor eax, eax
lea ebx, [ebx]
movzx ecx, word [eax + 0x13b6892]
mov word [esp + eax + 0x112], cx
add eax, 2
cmp cx, di
jne 0x1352770
xor eax, eax
lea esp, [esp]
movzx ecx, word [eax + 0x13b6874]
mov word [esp + eax + 0xd6], cx
add eax, 2
cmp cx, di
jne 0x1352790
mov cl, byte [0x138c7a4]
mov eax, dword [0x138c7a0]
mov byte [0x13a6844], cl
mov dword [0x13a6840], eax
mov ecx, 0xf1
lea esi, [esp + 0x20]
mov edi, 0x13a6844
rep movsd dword es:[edi], dword [esi]
push ebp
movsw word es:[edi], word [esi]
push 0x13a6840
mov esi, 0x13b6d28
mov dword [0x1393028], 0x3ca
call fcn.01355080
mov dword [0x13b6840], 2
call dword [0x138323c]
mov dword [0x13b693c], eax
jmp 0x1352daa
cmp eax, 2
jne 0x135283d
mov esi, dword [0x138323c]
call esi
sub eax, dword [0x13b693c]
cmp eax, 0x1388
jbe 0x1352daa
mov dword [0x13b6840], edi
call esi
mov esi, 0x13b6d28
mov dword [0x13b693c], eax
call fcn.01355050
jmp 0x1352daa
cmp eax, 3
jne 0x13529e5
mov esi, dword [0x138323c]
call esi
sub eax, dword [0x13b693c]
cmp eax, 0x3e8
jbe 0x1352daa
cmp dword [0x1393020], 6
mov eax, 0xb4
lea ecx, [eax - 0x32]
jne 0x135287a
mov eax, 0x320
mov ecx, 0x32
mov edx, dword [0x13b6cd0]
push ecx
mov ecx, dword [0x13b6cd4]
push eax
sub esp, 0x10
mov eax, esp
mov dword [eax], edx
mov edx, dword [0x13b6cd8]
mov dword [eax + 4], ecx
mov ecx, dword [0x13b6cdc]
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
mov ecx, 0x1393030
call fcn.01353ce0
test eax, eax
je 0x1352938
mov eax, dword [0x1393020]
cmp eax, 5
ja 0x1352914
push 0x138c7d4
push 0x1393b58
call fcn.0136d316
add esp, 8
test eax, eax
je 0x13528f8
xor eax, eax
jmp 0x13528e0
movzx ecx, word [eax + 0x1393b58]
mov word [eax + 0x13b6c50], cx
add eax, 2
cmp cx, di
jne 0x13528e0
jmp 0x1352956
push 0x138c7dc
push 0x1393b58
call fcn.0136d316
add esp, 8
test eax, eax
je 0x1352956
mov dword [esp + 0x38], ebp
jmp 0x1352956
cmp eax, 6
jne 0x1352956
xor eax, eax
jmp 0x1352920
movzx ecx, word [eax + 0x1393b58]
mov word [eax + 0x13b6c50], cx
add eax, 2
cmp cx, di
jne 0x1352920
jmp 0x1352956
xor eax, eax
lea ebx, [ebx]
movzx ecx, word [eax + 0x138c800]
mov word [eax + 0x13b6c50], cx
add eax, 2
cmp cx, di
jne 0x1352940
call esi
mov edx, dword [0x138c804]
mov dword [0x13b693c], eax
mov al, byte [0x138c808]
mov byte [0x13a6844], al
mov dword [0x13a6840], edx
xor eax, eax
jmp 0x1352980
movzx ecx, word [eax + 0x13b6bd0]
mov word [esp + eax + 0x3c], cx
add eax, 2
cmp cx, di
jne 0x1352980
xor eax, eax
jmp 0x13529a0
movzx ecx, word [eax + 0x13b6c50]
mov word [esp + eax + 0x78], cx
add eax, 2
cmp cx, di
jne 0x13529a0
mov ecx, 0xf1
lea esi, [esp + 0x20]
mov edi, 0x13a6844
rep movsd dword es:[edi], dword [esi]
push ebp
movsw word es:[edi], word [esi]
push 0x13a6840
mov esi, 0x13b6d28
mov dword [0x1393028], 0x3ca
call fcn.01355080
jmp 0x1352daa
cmp eax, 4
jne 0x1352daa
call dword [0x138323c]
mov ecx, eax
mov eax, 0x3e8
cdq
idiv dword [0x13b692c]
sub ecx, dword [0x13b693c]
cmp ecx, eax
jbe 0x1352daa
mov edx, dword [0x13b6cd8]
mov esi, dword [0x13b6cd0]
mov ebx, dword [0x13b6cd4]
mov dword [esp + 0x14], edi
mov edi, dword [0x13b6cdc]
mov eax, edx
mov ecx, edi
xor ebp, ebp
sub eax, esi
sub ecx, ebx
cmp dword [0x1393020], 6
jne 0x1352a53
sub esp, 0x10
mov eax, esp
mov dword [eax], esi
mov dword [eax + 4], ebx
mov dword [eax + 8], edx
mov dword [eax + 0xc], edi
xor eax, eax
jmp 0x1352ac7
cmp dword [0x1393020], 5
ja 0x1352aae
cmp dword [0x13b6b48], 3
jne 0x1352aae
mov al, byte [0x138c880]
mov edx, dword [0x138c87c]
mov byte [0x13a6844], al
mov eax, dword [0x13b6d20]
mov dword [0x13a6840], edx
test eax, eax
je 0x1352daa
push 0x1393028
call eax
mov eax, dword [0x13b6d24]
add esp, 4
test eax, eax
je 0x1352daa
push 0x13a6844
call eax
add esp, 4
jmp 0x1352d16
mov esi, dword [esp + 0x14]
sub esp, 0x10
mov edx, esp
mov dword [edx], ebp
mov dword [edx + 4], esi
mov dword [edx + 8], eax
mov eax, dword [0x13b6b4c]
mov dword [edx + 0xc], ecx
push 0x13b6d00
call fcn.01354440
test eax, eax
je 0x1352daa
mov esi, dword [0x13b6d00]
test esi, esi
je 0x1352daa
mov eax, dword [0x1393020]
test eax, eax
jne 0x1352b28
push 0xd0
push 0x140
push eax
push 0x10e
push esi
push 0x13b6ce8
call fcn.013537d0
push 0x14
push 0
push 0xbc
push 0x140
push 0x21c
mov edx, 0x104
jmp 0x1352cc7
cmp eax, 1
jne 0x1352b63
push 0xd0
push 0x140
push 0
push 0x64
push esi
push 0x13b6ce8
call fcn.013537d0
push 0x14
push 0
push 0xbc
push 0x140
push 0x203
mov edx, 0xe6
jmp 0x1352cc7
cmp eax, 2
je 0x1352c96
cmp eax, 3
je 0x1352c96
cmp eax, 4
jne 0x1352bd0
push 0xad
push 0x140
push 6
push 0x10e
push esi
push 0x13b6ce8
call fcn.013537d0
push 0
push 0xf0
push 0x14
push 0x50
push 6
push esi
mov edx, 0x2a8
mov ebx, 0x13b6ce8
call fcn.01353960
push 0x14
push 0
push 0x9b
push 0x140
push 0x24e
mov edx, 0x14a
jmp 0x1352cc7
cmp eax, 5
jne 0x1352c2b
push 0xd0
push 0x140
push 0
push 0x69
push esi
push 0x13b6ce8
call fcn.013537d0
push 0
push 0x8c
push 0x14
push 0xb4
push 0
push esi
mov edx, 0x1b3
mov ebx, 0x13b6ce8
call fcn.01353960
push 0x14
push 0
push 0xbc
push 0x140
push 0x1ea
mov edx, 0xe6
jmp 0x1352cc7
cmp eax, 6
jne 0x1352c63
push 0xdc
push 0x190
push 0
push 0x5a
push esi
push 0x13b6ce8
call fcn.013537d0
push 0x17
push 0
push 0xc5
push 0x190
push 0x226
mov edx, 0xfa
jmp 0x1352cc7
push 0xc8
push 0x154
push 0
push 0x78
push esi
push 0x13b6ce8
call fcn.013537d0
push 0x1e
push 0
push 0xaa
push 0x154
push 0x226
mov edx, 0x14a
jmp 0x1352cc7
push 0xbc
push 0x140
push 0
push 0x6e
push esi
push 0x13b6ce8
call fcn.013537d0
push 0x14
push 0
push 0xa8
push 0x140
push 0x186
mov edx, 0x82
push esi
mov ebx, 0x13b6ce8
call fcn.01353960
mov edx, dword [0x138c984]
mov al, byte [0x138c988]
mov ecx, dword [0x13b6934]
push 0x1393028
push 0x13a6844
mov dword [0x13a6840], edx
mov edx, dword [0x13b6cec]
push ecx
mov byte [0x13a6844], al
mov eax, dword [0x13b6ce8]
push edx
push eax
call fcn.013598b0
add esp, 0x14
test eax, eax
jne 0x1352daa
mov ecx, dword [0x1393028]
dec ecx
cmp ecx, 0xfffa
ja 0x1352daa
add dword [0x1393028], 4
push 0
push 0x13a6840
mov esi, 0x13b6d28
call fcn.01355080
test eax, eax
je 0x1352daa
call dword [0x138323c]
mov dword [0x13b693c], eax
jmp 0x1352daa
mov dword [0x13b6cd0], edi
mov dword [0x13b6cd4], edi
mov dword [0x13b6cd8], edi
mov dword [0x13b6cdc], edi
jmp 0x1352daa
mov dword [0x13b6840], edi
call dword [0x138323c]
cmp dword [0x13b6d3e], 3
mov dword [0x13b693c], eax
jl 0x1352daa
mov eax, dword [0x13b6d3a]
cmp eax, edi
je 0x1352da0
push eax
call dword [fcn.0138341c]
test eax, eax
jne 0x1352da0
mov dword [0x13b6d3a], edi
mov dword [0x13b6d3e], 1
mov ecx, dword [esp + 0x3ec]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
xor eax, eax
call fcn.0136cbc3
add esp, 0x3e0
ret