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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push ebx
push esi
push edi
mov esi, ecx
xor edi, edi
cmp dword [esi + 0x30], edi
mov dword [ebp - 0xc], edi
je 0x1357dac
call dword [0x42708c]
mov dword [ebp - 0xc], eax
and byte [ebp - 1], 0
cmp dword [esi + 0x48], edi
je 0x1357e25
mov eax, dword [esi + 0x30]
cmp eax, edi
je 0x1357dca
mov ecx, dword [ebp - 0xc]
sub ecx, dword [esi + 0x34]
cmp ecx, eax
jb 0x1357fe6
lea edx, [esi + 0x18]
lea ecx, [esi + 0x80]
call fcn.01347bc2
test al, al
je 0x1357e25
lea edx, [esi + 0x24]
lea ecx, [esi + 0x8c]
call fcn.013484bc
test al, al
je 0x1357e25
mov eax, dword [esi + 0x78]
cmp eax, dword [esi + 0x10]
jne 0x1357e25
mov eax, dword [esi + 0x7c]
cmp eax, dword [esi + 0x14]
jne 0x1357e25
mov eax, dword [esi + 0x70]
cmp eax, dword [esi + 8]
jne 0x1357e21
mov eax, dword [esi + 0x74]
cmp eax, dword [esi + 0xc]
jne 0x1357e21
mov eax, dword [esi + 0x68]
cmp eax, dword [esi]
jne 0x1357e21
mov eax, dword [esi + 0x6c]
cmp eax, dword [esi + 4]
je 0x1357fe6
mov byte [ebp - 1], 1
mov eax, dword [esi + 0x38]
lea ebx, [esi + 0x38]
mov ecx, esi
mov dword [ebx + 4], edi
and byte [eax], 0
call fcn.01357cf2
cmp byte [ebp - 1], 0
je 0x1357e53
lea edx, [esi + 0x98]
mov ecx, ebx
call fcn.01347bc2
test al, al
jne 0x1357fe6
push ebx
lea ecx, [esi + 0x98]
call fcn.01347a34
mov eax, dword [esi + 0x10]
mov edx, dword [esi + 0x14]
mov ecx, eax
or ecx, edx
je 0x1357e89
push edx
lea ecx, [ebp - 0x30]
push eax
call fcn.013474c2
push 0x20
mov ecx, ebx
call fcn.01347a8d
lea eax, [ebp - 0x30]
mov ecx, ebx
push eax
call fcn.01347ac0
cmp dword [esi + 0x1c], edi
je 0x1357ea2
push 0x20
mov ecx, ebx
call fcn.01347a8d
lea eax, [esi + 0x18]
mov ecx, ebx
push eax
call fcn.01347b02
cmp dword [esi + 0x28], edi
je 0x1357f89
mov eax, dword [esi + 0x3c]
cmp eax, dword [esi + 0xac]
jae 0x1357f89
push 0x20
mov ecx, ebx
call fcn.01347a8d
lea eax, [esi + 0x24]
lea edi, [esi + 0x5c]
push eax
mov ecx, edi
call fcn.01347fe7
mov ecx, dword [esi + 0xa4]
push edi
call fcn.0134884a
lea edx, [esi + 0x50]
mov ecx, edi
call fcn.013487c6
mov eax, dword [esi + 0x54]
add eax, dword [esi + 0x3c]
cmp eax, dword [esi + 0xac]
jbe 0x1357f7c
mov eax, dword [esi + 0x28]
test eax, eax
mov dword [ebp - 8], eax
je 0x1357f72
mov eax, dword [ebp - 8]
shr eax, 3
jne 0x1357f0e
push 1
pop eax
sub dword [ebp - 8], eax
lea eax, [esi + 0x24]
push eax
mov ecx, edi
call fcn.01347fe7
mov ecx, dword [esi + 0x60]
mov eax, dword [ebp - 8]
sub ecx, dword [ebp - 8]
shr eax, 1
push ecx
push eax
mov ecx, edi
mov dword [ebp - 0x10], eax
call fcn.013484dd
push 0x428d58
mov ecx, edi
push dword [ebp - 0x10]
call fcn.013483c1
mov ecx, dword [esi + 0xa4]
push edi
call fcn.0134884a
lea edx, [esi + 0x50]
mov ecx, edi
call fcn.013487c6
mov eax, dword [esi + 0x54]
add eax, dword [esi + 0x3c]
cmp eax, dword [esi + 0xac]
jbe 0x1357f6c
cmp dword [ebp - 8], 0
jne 0x1357f03
cmp dword [ebp - 8], 0
jne 0x1357f7c
mov eax, dword [esi + 0x50]
and dword [esi + 0x54], 0
and byte [eax], 0
lea eax, [esi + 0x50]
mov ecx, ebx
push eax
call fcn.01347b02
xor edi, edi
lea ecx, [esi + 0x44]
mov edx, ebx
call fcn.01357feb
test al, al
je 0x1357fd2
push edi
mov ecx, esi
call fcn.01357c5f
mov eax, dword [esi + 0xa4]
lea edi, [esi + 0xa4]
push dword [eax]
push dword [ebx]
call dword [fcn.00427178]
cmp byte [esi + 0xa8], 0
pop ecx
pop ecx
je 0x1357fc7
mov ecx, dword [edi]
call fcn.01348709
push ebx
lea ecx, [esi + 0x44]
call fcn.01347a34
xor edi, edi
push esi
lea ecx, [esi + 0x68]
call fcn.01358009
cmp dword [esi + 0x30], edi
je 0x1357fe6
mov eax, dword [ebp - 0xc]
mov dword [esi + 0x34], eax
pop edi
pop esi
pop ebx
leave
ret