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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
and esp, 0xffffffc0
sub esp, 0xb4
mov ecx, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
mov eax, dword [ebx + 8]
xor edx, edx
push esi
push edi
mov edi, dword [ebp + 0x10]
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], 0xd
mov dword [esp + 0x74], edx
mov dword [esp + 0x80], edx
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], 0xe
mov dword [esp + 0x58], edx
mov dword [esp + 0x64], edx
cmp ecx, edx
jne 0x1011e4c4
mov dword [esp + 0x38], edx
jmp 0x1011e4d8
mov esi, dword [ecx + 0x58]
cmp esi, edx
je 0x1011e4d1
mov dword [esp + 0x38], esi
jmp 0x1011e4d8
add ecx, 0x38
mov dword [esp + 0x38], ecx
lea ecx, [esp + 0x80]
push ecx
lea edx, [esp + 0x78]
push edx
mov ecx, 4
push eax
lea esi, [ecx + 9]
call fcn.100db050
mov dword [esp + 0x28], eax
test eax, eax
jl 0x1011ee9c
mov edx, dword [esp + 0x5c]
lea eax, [esp + 0x64]
push eax
lea ecx, [esp + 0x5c]
push ecx
lea ecx, [esi - 9]
push edx
lea esi, [ecx + 0xa]
call fcn.100db050
mov dword [esp + 0x28], eax
test eax, eax
jl 0x1011ee9c
mov eax, dword [ebp + 0x18]
mov ecx, dword [esp + 0x74]
mov edx, dword [ebp + 0xc]
mov esi, dword [esp + 0x58]
push eax
push ecx
mov ecx, dword [edx + 0x14]
push ebx
mov ebx, edi
call fcn.10108cf0
xor ecx, ecx
cmp eax, ecx
mov dword [esp + 0x28], eax
jl 0x1011ee9c
mov dword [esp + 0x34], ecx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x28], ecx
cmp ebx, ecx
jbe 0x1011ee1d
mov eax, dword [ebp + 0x14]
sub eax, esi
mov edi, esi
mov dword [esp + 0x4c], eax
lea ecx, [ecx]
mov ebx, dword [eax + edi]
test ebx, ebx
je 0x1011e656
cmp byte [ebp + 0x1c], 0
jne 0x1011e636
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
mov edx, dword [ecx + 0x8020]
mov esi, dword [ebx + 0x50]
cmp edx, esi
je 0x1011e636
mov eax, dword [edi]
and eax, 0x20000032
cmp eax, 0x20000032
jne 0x1011e5c1
mov eax, dword [ebx + 0x40]
and eax, 0x80000
xor ecx, ecx
or eax, ecx
jne 0x1011e5c1
inc dword [esp + 0x34]
jmp 0x1011e63c
cmp edx, esi
je 0x1011e636
test byte [edi], 0x20
je 0x1011e636
mov eax, ebx
call fcn.100db340
test al, al
je 0x1011e5e8
test dword [edi], 0x20000002
je 0x1011e636
mov eax, ebx
call fcn.100db3d0
test al, al
jne 0x1011e636
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0x20], 0
jne 0x1011e61d
mov eax, dword [eax + 0x14]
xor ecx, ecx
xor edx, edx
test eax, eax
je 0x1011e611
cmp dword [eax + 4], 0xa
jne 0x1011e611
mov esi, dword [eax + 0x18]
or ecx, esi
mov esi, dword [eax + 0x1c]
mov eax, dword [eax + 0x20]
or edx, esi
jmp 0x1011e5f8
and ecx, 0x400000
xor eax, eax
or ecx, eax
jne 0x1011e636
test dword [edi], 0x20000002
je 0x1011e630
mov eax, ebx
call fcn.100db3d0
test al, al
je 0x1011e677
inc dword [esp + 0x50]
jmp 0x1011e63c
and dword [edi], 0x200
mov eax, dword [esp + 0x28]
inc eax
add edi, 4
mov dword [esp + 0x28], eax
cmp eax, dword [ebp + 0x10]
jae 0x1011e6ab
mov eax, dword [esp + 0x4c]
jmp 0x1011e570
mov eax, dword [ebp + 8]
push 0x1008c4cc
push 0
xor edx, edx
call fcn.1010ad00
add esp, 8
mov dword [esp + 0x28], 0x80004005
jmp 0x1011ee9c
mov esi, dword [ebp + 8]
mov ecx, dword [esi + 8]
mov edx, dword [ecx]
mov eax, dword [edx + 0xc]
call eax
mov ecx, dword [esp + 0x38]
push eax
push 0x1008c4f8
push ecx
mov edx, 0xddc
mov eax, esi
call fcn.1010ad00
add esp, 0xc
mov dword [esp + 0x28], 0x80004005
jmp 0x1011ee9c
cmp dword [esp + 0x34], 0
mov esi, 2
je 0x1011e88a
mov edx, dword [ebp + 8]
mov eax, dword [edx + 8]
mov edi, dword [esp + 0x34]
lea ecx, [esp + 0x48]
push ecx
lea edx, [esp + 0x40]
push edx
xor ebx, ebx
add edi, edi
add edi, edi
push eax
lea ecx, [esi + 2]
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], esi
mov dword [esp + 0x48], ebx
mov dword [esp + 0x54], ebx
call fcn.100db050
cmp eax, ebx
mov dword [esp + 0x28], eax
jge 0x1011e704
lea esi, [esp + 0x3c]
call fcn.100da650
jmp 0x1011ee9c
mov esi, dword [esp + 0x3c]
mov edx, dword [esp + 0x34]
add edi, esi
lea eax, [esi + edx*8]
lea ecx, [edx + edx*2]
mov dword [esp + 0xb4], edi
mov dword [esp + 0xb8], eax
lea ebx, [esi + ecx*4]
test edx, edx
jbe 0x1011e741
or eax, 0xffffffff
mov ecx, edx
rep stosd dword es:[edi], eax
test edx, edx
jbe 0x1011e741
mov edi, dword [esp + 0xb8]
mov ecx, edx
or eax, eax
rep stosd dword es:[edi], eax
mov eax, dword [ebp + 0x14]
mov edx, dword [esp + 0x58]
mov edi, dword [ebp + 0x10]
sub edx, eax
mov dword [esp + 0x68], edx
mov edx, esi
mov ecx, ebx
sub edx, ebx
mov dword [esp + 0x28], edi
jmp 0x1011e760
mov edi, dword [esp + 0x68]
mov edi, dword [edi + eax]
and edi, 0x20000032
cmp edi, 0x20000032
jne 0x1011e78f
mov edi, dword [eax]
mov dword [edx + ecx], edi
mov edi, dword [ebp + 0xc]
cmp dword [edi + 0x20], 0
je 0x1011e787
mov edi, dword [eax]
jmp 0x1011e78a
or edi, 0xffffffff
mov dword [ecx], edi
add ecx, 4
add eax, 4
sub dword [esp + 0x28], 1
jne 0x1011e760
mov edx, dword [esp + 0xb8]
mov eax, dword [esp + 0xb4]
mov ecx, dword [ebp + 8]
mov edi, dword [esp + 0x34]
push esi
mov esi, dword [esp + 0x3c]
push edx
push eax
push esi
push ecx
mov eax, edi
call fcn.10106b20
mov dword [esp + 0x28], eax
test eax, eax
jge 0x1011e7d4
lea esi, [esp + 0x3c]
call fcn.100da650
jmp 0x1011ee9c
mov edx, dword [esp + 0xb4]
mov eax, dword [esp + 0xb8]
mov ecx, dword [ebp + 8]
push 0
push 0
push 0x11
push 0
push 0
push 0
push edx
push eax
push ebx
and edi, 0xfffff
or edi, 0x20200000
push edi
push esi
call fcn.10122240
mov dword [esp + 0x28], eax
test eax, eax
jge 0x1011e81d
lea esi, [esp + 0x3c]
call fcn.100da650
jmp 0x1011ee9c
mov edi, dword [esp + 0x58]
mov dword [esp + 0x34], 0
lea esp, [esp]
mov ecx, dword [edi]
and ecx, 0x20000032
cmp ecx, 0x20000032
jne 0x1011e870
mov edx, dword [ebx]
mov eax, dword [esp + 0x4c]
mov dword [edi + eax], edx
mov ecx, dword [edi]
mov edx, dword [ebp + 8]
mov esi, dword [edi + eax]
push ecx
mov ecx, dword [edx + 8]
push ecx
add ebx, 4
call fcn.10167590
mov dword [esp + 0x28], eax
test eax, eax
jl 0x1011e6f6
and dword [edi], 0x200
mov eax, dword [esp + 0x34]
inc eax
add edi, 4
mov dword [esp + 0x34], eax
cmp eax, dword [ebp + 0x10]
jb 0x1011e830
lea esi, [esp + 0x3c]
call fcn.100da650
xor ecx, ecx
cmp dword [esp + 0x50], ecx
je 0x1011ee1d
mov edi, dword [esp + 0x50]
mov ebx, dword [ebp + 8]
imul edi, edi, 0xb
mov eax, dword [ebx + 8]
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x48], ecx
lea edx, [esp + 0x48]
push edx
lea ecx, [esp + 0x40]
mov esi, 2
push ecx
push eax
lea ecx, [esi + 2]
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], esi
call fcn.100db050
mov dword [esp + 0x28], eax
test eax, eax
jge 0x1011e8e1
lea esi, [esp + 0x3c]
call fcn.100da650
jmp 0x1011ee9c
mov edx, dword [esp + 0x50]
mov ecx, dword [esp + 0x3c]
add edx, edx
xor eax, eax
add edx, edx
nop
mov dword [esp + eax*4 + 0x84], ecx
inc eax
add ecx, edx
cmp eax, 0xb
jb 0x1011e8f0
mov eax, dword [ebp + 0x14]
mov esi, dword [esp + 0x58]
mov ecx, dword [esp + 0xac]
mov edi, dword [esp + 0x84]
mov edx, dword [ebp + 0x10]
sub esi, eax
sub edi, ecx
mov dword [esp + 0x70], edi
mov dword [esp + 0x34], edx
test byte [eax + esi], 0x20
je 0x1011e943
mov edx, dword [eax]
mov dword [edi + ecx], edx
mov edx, dword [ebp + 0xc]
cmp dword [edx + 0x20], 0
je 0x1011e93b
mov edx, dword [eax]
jmp 0x1011e93e
or edx, 0xffffffff
mov dword [ecx], edx
add ecx, 4
add eax, 4
sub dword [esp + 0x34], 1
jne 0x1011e923
mov esi, dword [esp + 0x50]
mov edx, 1
jmp 0x1011e960
mov edi, dword [esp + edx*4 + 0x84]
test esi, esi
jbe 0x1011e972
mov ecx, esi
or eax, 0xffffffff
rep stosd dword es:[edi], eax
inc edx
cmp edx, 0xa
jb 0x1011e960
mov esi, dword [esp + 0x50]
mov eax, dword [esp + 0x84]
mov ecx, dword [esp + 0x88]
mov edi, dword [esp + 0x38]
push 0
push 0
push 0x11
push 0
push 0
push 0
push 0
push eax
and esi, 0xfffff
push ecx
mov edx, esi
or edx, 0x10200000
push edx
push edi
mov ecx, ebx
call fcn.10122240
mov dword [esp + 0x28], eax
test eax, eax
jge 0x1011ea04
cmp dword [esp + 0x3c], 0
mov eax, dword [esp + 0x44]
mov edx, dword [esp + 0x40]
mov ecx, dword [esp + 0x48]
lea eax, [eax + eax*2]
lea edi, [edx + eax*4 + 0x8140]
je 0x1011ee9c
test ecx, ecx
ja 0x1011e9e7
mov ecx, 1
mov ebx, dword [edi]
cmp ecx, dword [ebx + 8]
jae 0x1011e9f6
sub dword [ebx + 8], ecx
jmp 0x1011ee9c
mov eax, dword [ebx]
mov dword [edi], eax
call fcn.100daed0
jmp 0x1011ee9c
mov ecx, dword [esp + 0x88]
mov edx, dword [esp + 0x8c]
push 0
push 0
push 0x11
push 0x20000012
push 0
push 0
push 0
push ecx
push edx
mov eax, esi
or eax, 0x10400000
push eax
push edi
mov ecx, ebx
call fcn.10122240
mov dword [esp + 0x28], eax
test eax, eax
jge 0x1011ea84
cmp dword [esp + 0x3c], 0
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x48]
lea edx, [eax + eax*2]
mov eax, dword [esp + 0x40]
lea edi, [eax + edx*4 + 0x8140]
je 0x1011ee9c
test ecx, ecx
ja 0x1011ea67
mov ecx, 1
mov ebx, dword [edi]
cmp ecx, dword [ebx + 8]
jae 0x1011ea76
sub dword [ebx + 8], ecx
jmp 0x1011ee9c
mov ecx, dword [ebx]
mov dword [edi], ecx
call fcn.100daed0
jmp 0x1011ee9c
mov edx, dword [esp + 0x8c]
mov ecx, dword [esp + 0x90]
push 0
push 0
push 0x11
push 0x20000014
push 0
push 0
push 0
push edx
push ecx
mov eax, esi
or eax, 0x10100000
push eax
push edi
mov ecx, ebx
mov dword [esp + 0x64], eax
call fcn.10122240
mov dword [esp + 0x28], eax
test eax, eax
jl 0x1011ea3d
mov edx, dword [esp + 0x88]
mov ecx, dword [esp + 0x90]
push 0
push 0
push 0x11
push 0x20
push 0
push 0
push edx
mov edx, dword [esp + 0xb0]
push ecx
mov eax, esi
or eax, 0x20400000
push edx
push eax
push edi
mov ecx, ebx
mov dword [esp + 0x60], eax
call fcn.10122240
mov dword [esp + 0x28], eax
test eax, eax
jl 0x1011e9bd
mov ecx, dword [esp + 0x84]
mov edx, dword [esp + 0x98]
mov eax, dword [esp + 0x38]
push 0
push 0
push 0x11
push 0
push 0
push 0
push 0
push ecx
push edx
push eax
push edi
mov ecx, ebx
call fcn.10122240
mov dword [esp + 0x28], eax
test eax, eax
jge 0x1011eb4a
lea esi, [esp + 0x3c]
call fcn.100da650
jmp 0x1011ee9c
mov ecx, dword [esp + 0x98]
mov edx, dword [esp + 0x84]
push 0
push 0
push 0x11
push 0
push 0
push 0
push ecx
mov ecx, dword [esp + 0xb8]
push edx
push ecx
mov eax, esi
or eax, 0x20200000
push eax
push edi
mov ecx, ebx
mov dword [esp + 0x94], eax
call fcn.10122240
mov dword [esp + 0x28], eax
test eax, eax
jge 0x1011eb9b
lea esi, [esp + 0x3c]
call fcn.100da650
jmp 0x1011ee9c
mov edx, dword [esp + 0x8c]
mov eax, dword [esp + 0xa0]
mov ecx, dword [esp + 0x38]
push 0
push 0
push 0x11
push 0
push 0
push 0
push 0
push edx
push eax
push ecx
push edi
mov ecx, ebx
call fcn.10122240
mov dword [esp + 0x28], eax
test eax, eax
jge 0x1011ebdc
lea esi, [esp + 0x3c]
call fcn.100da650
jmp 0x1011ee9c
mov edx, dword [esp + 0x8c]
mov eax, dword [esp + 0xa0]
mov ecx, dword [esp + 0xa4]
push 0
push 0
push 0x11
push 0
push 0
push 0
push edx
mov edx, dword [esp + 0x84]
push eax
push ecx
push edx
push edi
mov ecx, ebx
call fcn.10122240
mov dword [esp + 0x28], eax
test eax, eax
jge 0x1011ec26
lea esi, [esp + 0x3c]
call fcn.100da650
jmp 0x1011ee9c
mov eax, dword [esp + 0xa4]
mov ecx, dword [esp + 0x9c]
mov edx, dword [esp + 0xa8]
push 0
push 0
push 0x11
push 0x20000032
push 0
push 0
push eax
push ecx
push edx
or esi, 0x20500000
push esi
push edi
mov ecx, ebx
call fcn.10122240
mov dword [esp + 0x28], eax
test eax, eax
jge 0x1011ec72
lea esi, [esp + 0x3c]
call fcn.100da650
jmp 0x1011ee9c
mov eax, dword [esp + 0xa8]
mov ecx, dword [esp + 0x94]
mov esi, dword [esp + 0xac]
mov edx, dword [esp + 0x34]
push 0
push 0
push 0x11
push 0x20
push 0
push 0
push eax
push ecx
push esi
push edx
push edi
mov ecx, ebx
call fcn.10122240
mov dword [esp + 0x28], eax
test eax, eax
jge 0x1011ecb9
lea esi, [esp + 0x3c]
call fcn.100da650
jmp 0x1011ee9c
mov ebx, dword [esp + 0x58]
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], esi
lea esp, [esp]
test byte [ebx], 0x20
je 0x1011edfd
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x70]
mov esi, dword [eax + ecx]
mov edi, dword [eax]
lea edx, [esp + 0x50]
lea ecx, [esp + 0x68]
call fcn.10165a70
mov dword [esp + 0x28], eax
test eax, eax
jl 0x1011e6f6
fld qword [esp + 0x68]
sub esp, 8
fstp qword [esp]
call sub.msvcrt.dll__finite
mov esi, dword [ebp + 8]
add esp, 8
test eax, eax
je 0x1011ed54
fldz
sub esp, 8
fld qword [esp + 0x70]
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 1
jne 0x1011ed3f
fadd qword [esi + 0x178]
fstp qword [esp]
call sub.msvcrt.dll_floor
add esp, 8
jmp 0x1011ed58
fsubr qword [esi + 0x178]
fstp qword [esp]
call sub.msvcrt.dll_floor
add esp, 8
fchs
jmp 0x1011ed58
fld qword [esp + 0x68]
fstp qword [esp + 0x28]
sub esp, 8
fld qword [esp + 0x58]
fstp qword [esp]
call sub.msvcrt.dll__finite
add esp, 8
test eax, eax
je 0x1011edae
fldz
sub esp, 8
fld qword [esp + 0x58]
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 1
jne 0x1011ed99
fadd qword [esi + 0x178]
fstp qword [esp]
call sub.msvcrt.dll_floor
add esp, 8
jmp 0x1011edb2
fsubr qword [esi + 0x178]
fstp qword [esp]
call sub.msvcrt.dll_floor
add esp, 8
fchs
jmp 0x1011edb2
fld qword [esp + 0x50]
mov edx, dword [esi + 8]
sub esp, 0x10
fstp qword [esp + 8]
fld qword [esp + 0x38]
fstp qword [esp]
push edx
push edi
call fcn.10166580
mov dword [esp + 0x28], eax
test eax, eax
jl 0x1011e6f6
mov eax, dword [edi + 0x44]
or dword [edi + 0x40], 0x100000
mov edx, dword [esp + 0x4c]
mov dword [edi + 0x44], eax
mov eax, dword [esp + 0x38]
and dword [ebx], 0x200
mov ecx, dword [eax]
add eax, 4
mov dword [ebx + edx], ecx
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x34]
inc eax
add ebx, 4
mov dword [esp + 0x34], eax
cmp eax, dword [ebp + 0x10]
jb 0x1011ecd0
lea esi, [esp + 0x3c]
call fcn.100da650
xor ecx, ecx
mov dword [esp + 0x4c], ecx
cmp dword [ebp + 0x10], ecx
jbe 0x1011ee94
mov edi, dword [esp + 0x74]
mov ecx, dword [ebp + 0x14]
mov ebx, dword [esp + 0x58]
mov eax, edi
sub ecx, eax
mov dword [esp + 0x70], ecx
sub ebx, eax
jmp 0x1011ee44
mov ecx, dword [esp + 0x70]
mov esi, dword [ecx + edi]
mov eax, dword [esi + 0x4c]
mov ecx, dword [edi]
cmp eax, 0x11
je 0x1011ee61
cmp dword [esi + 0x20], 0
jne 0x1011ee5d
cmp eax, ecx
jl 0x1011ee63
jmp 0x1011ee61
cmp eax, ecx
jg 0x1011ee63
mov eax, ecx
mov dword [esi + 0x4c], eax
mov eax, dword [ebx + edi]
and eax, 0x200
push eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
push ecx
call fcn.10167590
mov dword [esp + 0x28], eax
test eax, eax
jl 0x1011ee9c
mov eax, dword [esp + 0x4c]
inc eax
add edi, 4
mov dword [esp + 0x4c], eax
cmp eax, dword [ebp + 0x10]
jb 0x1011ee40
mov dword [esp + 0x28], 0
cmp dword [esp + 0x58], 0
mov ecx, dword [esp + 0x60]
mov eax, dword [esp + 0x64]
lea edx, [ecx + ecx*2]
mov ecx, dword [esp + 0x5c]
lea edi, [ecx + edx*4 + 0x8140]
je 0x1011eed7
test eax, eax
ja 0x1011eec2
mov eax, 1
mov ebx, dword [edi]
cmp eax, dword [ebx + 8]
jae 0x1011eece
sub dword [ebx + 8], eax
jmp 0x1011eed7
mov edx, dword [ebx]
mov dword [edi], edx
call fcn.100daed0
cmp dword [esp + 0x74], 0
mov eax, dword [esp + 0x7c]
mov edx, dword [esp + 0x78]
mov ecx, dword [esp + 0x80]
lea eax, [eax + eax*2]
lea edi, [edx + eax*4 + 0x8140]
je 0x1011ef20
test ecx, ecx
ja 0x1011ef00
mov ecx, 1
mov ebx, dword [edi]
cmp ecx, dword [ebx + 8]
jae 0x1011ef17
sub dword [ebx + 8], ecx
mov eax, dword [esp + 0x28]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
mov eax, dword [ebx]
mov dword [edi], eax
call fcn.100daed0
mov eax, dword [esp + 0x28]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18