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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x1c0
mov esi, esp
mov dword [esi + 0x1a8], ebp
lea eax, [esi + 0x1b0]
movsd xmm0, qword [ebp + 0x1c]
mov dword [eax - 4], esp
mov dword [eax + 8], 0xffffffff
mov dword [eax + 4], 0x10192200
mov ecx, dword fs:[0]
mov dword [eax], ecx
mov dword fs:[0], eax
lea eax, [esi + 0x144]
mov dword [esi + 0x18], eax
sub esp, 0x14
movsd qword [esp + 0xc], xmm0
mov dword [esp], eax
mov dword [esp + 8], str._.0Lf
mov dword [esp + 4], 0x64
call fcn.10006d90
add esp, 0x14
cmp eax, 0x64
mov ecx, eax
mov dword [esi + 4], eax
jb 0x10189239
mov ecx, dword [0x1038c008]
mov edx, dword fs:[0x2c]
mov eax, dword [0x1038b920]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x101894ec
mov eax, dword [0x1038b918]
mov ecx, dword [0x1038b91c]
xor edx, edx
mov dword [esi + 0xc], edx
mov dword [esi + 0x10], edx
mov dword [esi + 0x1b8], edx
sub esp, 0x18
movsd xmm0, qword [ebp + 0x1c]
mov dword [esp + 4], eax
lea eax, [esi + 0x18]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], str._.0Lf
mov dword [esp], eax
movsd qword [esp + 0x10], xmm0
call fcn.10193830
add esp, 0x18
mov dword [esi + 4], eax
mov edi, dword [esi + 0x18]
test edi, edi
je 0x10189549
push dword [esi + 4]
call fcn.101f23c9
add esp, 4
test eax, eax
je 0x10189556
mov dword [esi + 0x20], eax
jmp 0x10189246
lea eax, [esi + 0xe0]
xor edi, edi
mov dword [esi + 0x20], eax
xor eax, eax
mov ecx, dword [ebp + 0x14]
mov dword [esi + 0x48], eax
mov dword [esi + 0xc], eax
lea eax, [esi + 0x14]
mov dword [esi + 0x4c], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0x1b8], 0
push eax
call fcn.101760a0
mov dword [esi + 0x7c], 0x1038b948
mov dword [esi + 0x80], 0x1018d0f0
mov edi, dword [esi + 0x14]
mov eax, dword [0x1038b948]
cmp eax, 0xffffffff
je 0x101892b4
lea eax, [esi + 0x7c]
lea ecx, [esi + 0x50]
mov dword [esi], edi
mov dword [esi + 0x1b8], 2
mov dword [ecx], eax
lea eax, [esi + 0x28]
mov dword [eax], ecx
push 0x10190cf0
push eax
push 0x1038b948
call fcn.101922e0
add esp, 0xc
mov edi, dword [esi]
mov ecx, dword [edi + 8]
mov edi, dword [edi + 0xc]
mov eax, dword [0x1038b94c]
sub edi, ecx
lea edx, [eax - 1]
sar edi, 2
cmp edi, edx
jbe 0x1018953a
mov ebx, dword [ecx + eax*4 - 4]
mov dword [esi + 0x1b8], 2
test ebx, ebx
je 0x1018953a
mov eax, dword [esi + 0x18]
mov ecx, dword [esi + 4]
mov edi, dword [ebx]
mov dword [esi + 0x68], ebx
lea edx, [eax + ecx]
mov ecx, ebx
push dword [esi + 0x20]
push edx
push eax
call dword [edi + 0x18]
xor ecx, ecx
cmp dword [esi + 4], 0
je 0x10189310
mov edx, dword [esi + 0x18]
cmp byte [edx], 0x2d
sete al
jmp 0x10189312
xor eax, eax
lea ebx, [esi + 0x50]
lea edi, [esi + 0x28]
lea edx, [esi + 0x38]
mov dword [esi + 0x1b8], 3
movzx eax, al
mov dword [ebx + 4], ecx
mov dword [ebx], ecx
mov dword [ebx + 8], ecx
mov dword [edi + 4], ecx
mov dword [edi], ecx
mov dword [edi + 8], ecx
mov dword [edx + 4], ecx
mov dword [edx], ecx
mov dword [edx + 8], ecx
movzx ecx, byte [ebp + 0x10]
mov dword [esi], ecx
lea ecx, [esi + 0x74]
push ecx
push edx
push edi
push ebx
lea edx, [esi + 0xa]
push edx
lea ecx, [esi + 0xb]
push ecx
lea edx, [esi + 0x78]
push edx
lea edx, [esi + 0x14]
push edx
mov dword [esi + 0x64], eax
push eax
push dword [esi]
call fcn.101896b0
add esp, 0x28
mov edi, dword [esi + 0x74]
mov edx, dword [esi + 4]
sub edx, edi
jle 0x10189391
movzx eax, byte [esi + 0x43]
test al, al
jns 0x10189380
mov eax, dword [esi + 0x3c]
movzx ecx, byte [esi + 0x33]
test cl, cl
jns 0x1018938b
mov ecx, dword [esi + 0x2c]
lea edx, [edi + edx*2 + 1]
jmp 0x101893aa
movzx eax, byte [esi + 0x43]
test al, al
jns 0x1018939c
mov eax, dword [esi + 0x3c]
movzx ecx, byte [esi + 0x33]
test cl, cl
jns 0x101893a7
mov ecx, dword [esi + 0x2c]
lea edx, [edi + 2]
add eax, edx
mov dword [esi + 0x60], edi
add eax, ecx
cmp eax, 0x65
jb 0x101893cd
push eax
call fcn.101f23c9
add esp, 4
test eax, eax
mov dword [esi], eax
je 0x10189561
mov eax, dword [esi]
jmp 0x101893d6
lea eax, [esi + 0x7c]
mov dword [esi], 0
mov dword [esi + 0x1c], eax
mov edx, dword [ebp + 0x14]
mov edi, dword [esi + 4]
mov ebx, dword [esi + 0x20]
movsx eax, byte [esi + 0xa]
movsx ecx, byte [esi + 0xb]
mov edx, dword [edx + 4]
add edi, ebx
mov dword [esi + 0x1b8], 4
mov dword [esi + 4], edx
mov edx, dword [esi]
mov dword [esi + 0x24], edx
push dword [esi + 0x60]
lea edx, [esi + 0x38]
push edx
lea edx, [esi + 0x28]
push edx
lea edx, [esi + 0x50]
push edx
push eax
push ecx
lea eax, [esi + 0x78]
push eax
push dword [esi + 0x64]
push dword [esi + 0x68]
push edi
push ebx
push dword [esi + 4]
lea eax, [esi + 0x6c]
push eax
lea eax, [esi + 0x70]
push eax
push dword [esi + 0x1c]
call fcn.101898c0
add esp, 0x3c
mov edi, dword [esi]
mov al, byte [ebp + 0x18]
mov ecx, dword [ebp + 0xc]
mov edx, dword [esi + 0x6c]
mov dword [esi + 0x24], edi
mov edi, dword [esi + 0x70]
movsx eax, al
push eax
push dword [ebp + 0x14]
push edx
push edi
push dword [esi + 0x1c]
push ecx
push dword [ebp + 8]
call fcn.1017ecf0
add esp, 0x1c
cmp dword [esi], 0
je 0x1018946c
push dword [esi]
call fcn.101f159d
add esp, 4
cmp byte [esi + 0x43], 0
mov edi, dword [esi + 0x4c]
jns 0x10189480
push dword [esi + 0x38]
call fcn.101e057e
add esp, 4
cmp byte [esi + 0x33], 0
jns 0x10189491
push dword [esi + 0x28]
call fcn.101e057e
add esp, 4
cmp byte [esi + 0x5b], 0
jns 0x101894a2
push dword [esi + 0x50]
call fcn.101e057e
add esp, 4
mov ecx, dword [esi + 0x14]
xor eax, eax
dec eax
lock xadd dword [ecx + 4], eax
test eax, eax
jne 0x101894b6
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [esi + 0x48]
test eax, eax
je 0x101894c6
push eax
call fcn.101f159d
add esp, 4
test edi, edi
je 0x101894d3
push edi
call fcn.101f159d
add esp, 4
mov eax, dword [esi + 0x1b0]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0x1c
push 0x1038b920
call fcn.101e05e3
add esp, 4
cmp dword [0x1038b920], 0xffffffff
jne 0x101891ce
xor eax, eax
mov dword [esi + 0x1b8], 1
push eax
push eax
push 0x1024b774
push 0x3f
push 0x1038b918
call fcn.10193330
add esp, 0x14
push 0x1038b920
call fcn.101e0659
add esp, 4
jmp 0x101891ce
mov dword [esi + 0x1b8], 2
call fcn.1018ce60
xor eax, eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
call fcn.10192420
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], edi
call fcn.10192420
mov eax, dword [esi]
mov dword [esi + 0x1b8], 4
mov dword [esi + 0x24], eax
call fcn.10192420
nop word cs:[eax + eax]
nop
push ebp
sub esp, 0x3c
lea esi, [ebp - 0x1bc]
mov ebp, dword [esi + 0x1a8]
push 0x1038b920
call fcn.101e0635
add esp, 4
xor eax, eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
add esp, 0x3c
pop ebp
ret