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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x8c
mov eax, dword [0x101dc354]
xor eax, esp
mov dword [esp + 0x88], eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x20], eax
push ebx
mov ebx, ecx
mov dword [esp + 0x20], ebx
push esi
mov esi, dword [ebp + 0xc]
mov dword [esp + 0x1c], esi
push edi
mov edi, dword [ebp + 8]
mov dword [esp + 0x24], edi
test eax, eax
jne 0x10138df8
push 0x10055e48
mov edx, 0x17c
mov ecx, 0x1002203c
call fcn.100e970f
test edi, edi
jne 0x10138e10
push 0x10020554
mov edx, 0x17d
mov ecx, 0x1002203c
call fcn.100e970f
test esi, esi
jne 0x10138e28
push 0x10037034
mov edx, 0x17e
mov ecx, 0x1002203c
call fcn.100e970f
push ecx
lea ecx, [esp + 0x40]
call fcn.101358b1
push ecx
lea ecx, [esp + 0x78]
call fcn.100ae4d5
mov ecx, dword [0x101dc9c4]
xor eax, eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x30], eax
mov eax, dword [ecx]
mov dword [esp + 0x10], ecx
push ecx
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x101e07c0]
call esi
lea eax, [ebx + 0x26c]
mov byte [esp + 0x1c], 0
mov esi, 0x100012e4
mov dword [esp + 0x18], eax
lea ecx, [esp + 0x14]
mov dword [esp + 0x14], esi
call fcn.100aa7b0
cmp dword [ebx + 0x2c], 0
je 0x10138ec5
push 0x10055ea8
mov edi, 0x800f0817
push 1
push edi
mov ecx, edi
call fcn.10114eaa
push eax
call fcn.100ab973
add esp, 0x10
mov dword [esp + 0x14], esi
cmp byte [esp + 0x1c], 0
je 0x101390cd
lea ecx, [esp + 0x14]
call fcn.100ac720
jmp 0x101390cd
cmp byte [esp + 0x1c], 0
mov dword [esp + 0x14], esi
je 0x10138ed9
lea ecx, [esp + 0x14]
call fcn.100ac720
push edi
mov ecx, ebx
call fcn.1013b0a1
mov edi, eax
test edi, edi
jns 0x10138f04
push 0x10055d64
push 1
push edi
mov ecx, edi
call fcn.10114eaa
push eax
call fcn.100ab973
add esp, 0x10
jmp 0x101390cd
mov esi, dword [esp + 0x20]
lea eax, [esp + 0x3c]
push eax
push 1
push esi
xor eax, eax
mov ecx, ebx
push eax
push eax
push eax
lea eax, [esp + 0x8c]
push eax
push dword [esp + 0x40]
call fcn.1013a0ec
mov edi, eax
test edi, edi
jns 0x10138f58
mov eax, dword [ebx + 0x48]
test eax, eax
jne 0x10138f3a
mov eax, 0x100082e8
push eax
push 0x10055e78
push 1
push edi
mov ecx, edi
call fcn.10114eaa
push eax
call fcn.100ab973
add esp, 0x14
jmp 0x101390cd
mov eax, dword [esp + 0x54]
sub eax, 0
je 0x101390a2
sub eax, 1
je 0x1013907d
xor edi, edi
cmp dword [esp + 0x54], edi
jbe 0x10139063
mov ebx, dword [esp + 0x10]
push edi
lea ecx, [esp + 0x4c]
call fcn.100e0ab3
mov ecx, dword [eax]
mov eax, dword [ecx]
mov esi, dword [eax + 0x10]
lea eax, [esp + 0x34]
push eax
push ecx
mov ecx, esi
call dword [0x101e07c0]
call esi
test eax, eax
jne 0x10138ff6
mov ecx, dword [esp + 0x34]
mov eax, dword [ecx]
mov esi, dword [eax + 0xc]
lea eax, [esp + 0x38]
push eax
push ecx
mov ecx, esi
call dword [0x101e07c0]
call esi
test eax, eax
jne 0x10138ff6
mov ecx, dword [esp + 0x38]
mov eax, dword [ecx]
mov esi, dword [eax + 0x20]
lea eax, [esp + 0x30]
push eax
push ecx
mov ecx, esi
call dword [0x101e07c0]
call esi
test eax, eax
jne 0x10138ff6
push dword [esp + 0x30]
push edi
push 0x10055ed0
push eax
push eax
push 0x4000000
call fcn.100ab973
add esp, 0x18
mov ecx, dword [esp + 0x34]
test ecx, ecx
je 0x10139013
mov eax, dword [ecx]
push ecx
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x101e07c0]
call esi
and dword [esp + 0x34], 0
mov ecx, dword [esp + 0x38]
test ecx, ecx
je 0x10139030
mov eax, dword [ecx]
push ecx
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x101e07c0]
call esi
and dword [esp + 0x38], 0
cmp dword [esp + 0x30], 0
je 0x10139050
mov eax, dword [ebx]
push dword [esp + 0x30]
push ebx
mov esi, dword [eax + 0x14]
mov ecx, esi
call dword [0x101e07c0]
call esi
and dword [esp + 0x30], 0
inc edi
cmp edi, dword [esp + 0x54]
jb 0x10138f7e
mov ebx, dword [esp + 0x28]
mov esi, dword [esp + 0x20]
mov eax, dword [ebx + 0x48]
mov edi, 0x800f0819
test eax, eax
jne 0x10139074
mov eax, 0x100082e8
push esi
push eax
push 0x10055f38
jmp 0x101390ba
push 0
lea ecx, [esp + 0x4c]
call fcn.100e0ab3
mov ecx, dword [eax]
mov eax, dword [esp + 0x2c]
push ecx
mov dword [eax], ecx
mov eax, dword [ecx]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x101e07c0]
call esi
jmp 0x101390cd
mov eax, dword [ebx + 0x48]
mov edi, 0x800f080c
test eax, eax
jne 0x101390b3
mov eax, 0x100082e8
push eax
push esi
push 0x10055ee0
push 1
push edi
mov ecx, edi
call fcn.10114eaa
push eax
call fcn.100ab973
add esp, 0x18
mov ecx, dword [esp + 0x34]
test ecx, ecx
je 0x101390e5
mov eax, dword [ecx]
push ecx
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x101e07c0]
call esi
mov ecx, dword [esp + 0x38]
test ecx, ecx
je 0x101390fd
mov eax, dword [ecx]
push ecx
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x101e07c0]
call esi
cmp dword [esp + 0x30], 0
mov ebx, dword [esp + 0x10]
je 0x1013911c
mov eax, dword [ebx]
push dword [esp + 0x30]
push ebx
mov esi, dword [eax + 0x14]
mov ecx, esi
call dword [0x101e07c0]
call esi
mov eax, dword [ebx]
push ebx
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x101e07c0]
call esi
lea ecx, [esp + 0x74]
call fcn.100a892c
lea ecx, [esp + 0x3c]
call fcn.101359ef
mov ecx, dword [esp + 0x94]
mov eax, edi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.100b88c0
mov esp, ebp
pop ebp
ret 0xc