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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x3c
mov eax, dword [0x101dc354]
xor eax, esp
mov dword [esp + 0x38], eax
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp + 8]
push ebx
mov ebx, ecx
mov dword [esp + 0x30], edx
mov ecx, dword [ebp + 0xc]
mov dword [esp + 0x34], ecx
mov ecx, dword [ebp + 0x10]
push esi
xor esi, esi
mov dword [esp + 0x2c], ecx
mov dword [edx], esi
mov dword [ecx], esi
lea ecx, [esp + 0xc]
push edi
push ecx
push eax
mov ecx, ebx
mov dword [esp + 0x2c], esi
mov dword [esp + 0x34], esi
mov dword [esp + 0x18], esi
call fcn.1014b2c6
mov edi, eax
test edi, edi
jns 0x1014dae9
push 0x10022dbc
push 1
jmp 0x1014e11d
cmp dword [esp + 0x10], esi
jne 0x1014db3d
push 0x10022e00
push 0
push 0
mov esi, 0x4000000
push esi
call fcn.100ab973
mov eax, dword [esp + 0x40]
add esp, 0x10
mov ecx, dword [esp + 0x38]
and dword [eax], 0
mov dword [ecx], 1
push dword [eax]
mov ecx, dword [ebx + 0x30]
push 0
push 0x70
call fcn.10126aad
mov edi, eax
test edi, edi
jns 0x1014e12b
push 0x10022dd8
push 1
push edi
push esi
jmp 0x1014e123
mov ecx, dword [ebx + 0x30]
push 0
push 0
push 0x40
call fcn.10126aad
mov edi, eax
test edi, edi
jns 0x1014db58
push 0x10022dd8
jmp 0x1014dae2
mov edi, dword [ebx + 0x80]
xor edx, edx
mov ecx, dword [ebx + 0x78]
xor esi, esi
and dword [esp + 0x34], edx
and dword [esp + 0x1c], edx
and dword [esp + 0x40], edx
shl ecx, 2
mov dword [esp + 0x10], edi
mov dword [esp + 0x18], edx
mov dword [esp + 0x20], esi
lea eax, [ecx + edi]
shr ecx, 2
cmp eax, edi
mov edi, 0x4000000
sbb eax, eax
not eax
and eax, ecx
mov dword [esp + 0x28], eax
je 0x1014dc37
mov eax, dword [esp + 0x10]
mov edx, dword [eax]
mov ecx, dword [edx + 0x10]
call fcn.10117e5d
test eax, eax
je 0x1014dc11
cmp dword [edx + 0x58], 0x70
mov eax, dword [edx + 0x5c]
jge 0x1014dbde
cmp eax, 0x70
jl 0x1014dc11
mov eax, dword [ebx + 0x30]
mov edx, dword [ecx + 0x200]
add dword [esp + 0x18], edx
push dword [eax + 0x30]
adc esi, 0
call fcn.100f6d0b
push eax
push edx
push 0x10022ea0
jmp 0x1014dc04
cmp eax, 0x70
jge 0x1014dc11
mov eax, dword [ebx + 0x30]
mov edx, dword [ecx + 0x200]
add dword [esp + 0x34], edx
push dword [eax + 0x30]
adc dword [esp + 0x20], 0
call fcn.100f6d0b
push eax
push edx
push 0x10022e58
push 0
push 0
push edi
call fcn.100ab973
add esp, 0x1c
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x40]
add eax, 4
inc ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x40], ecx
cmp ecx, dword [esp + 0x28]
jne 0x1014dba1
mov edx, dword [esp + 0x18]
mov dword [esp + 0x20], esi
and dword [esp + 0x10], 0
xor esi, esi
mov ecx, dword [esp + 0x20]
inc esi
mov eax, dword [esp + 0x34]
mov dword [esp + 0x28], 0x10022efc
cmp ecx, dword [esp + 0x1c]
jb 0x1014dc6b
ja 0x1014dc5b
cmp edx, eax
jb 0x1014dc6b
sub edx, eax
mov dword [esp + 0x40], 0x10022efc
sbb ecx, dword [esp + 0x1c]
jmp 0x1014dc83
sub eax, edx
mov dword [esp + 0x10], esi
mov edx, eax
mov dword [esp + 0x40], 0x10022ee8
sbb dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x1c]
mov eax, dword [ebx + 0x30]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x18], edx
push dword [eax + 0x30]
push dword [eax + 0x34]
push ecx
push edx
push dword [esp + 0x50]
push 0x10022f50
push 0
push 0
push edi
call fcn.100ab973
xor eax, eax
add esp, 0x24
cmp dword [esp + 0x20], eax
ja 0x1014dcbe
cmp dword [esp + 0x18], eax
jbe 0x1014dda1
mov ecx, dword [ebx + 0x30]
mov dword [esp + 0x40], eax
lea eax, [esp + 0x40]
push eax
call fcn.100b9b40
test eax, eax
jns 0x1014dce3
push 0x10021228
push esi
push eax
push edi
call fcn.100ab973
add esp, 0x10
mov edi, dword [esp + 0x40]
test edi, edi
je 0x1014dda1
and dword [esp + 0x40], 0
xor edx, edx
mov ecx, dword [ebx + 0x30]
call fcn.1012b03a
test al, al
jne 0x1014dd0b
call fcn.1012b046
test al, al
je 0x1014dd0d
mov edx, esi
mov eax, dword [edi]
mov esi, dword [eax + 0x44]
lea eax, [esp + 0x40]
push eax
push dword [esp + 0x24]
mov ecx, esi
push dword [esp + 0x20]
push dword [esp + 0x1c]
push edx
call dword [0x101e07c0]
mov ecx, edi
call esi
mov edi, eax
mov eax, dword [ebx + 0x30]
test edi, edi
jns 0x1014dd56
push dword [eax + 0x30]
push 0x10022f10
push 1
push edi
push 0x4000000
call fcn.100ab973
add esp, 0x14
jmp 0x1014e12b
or dword [eax + 0x31c], 0x8000
cmp dword [esp + 0x10], 0
je 0x1014dd6f
mov dword [esp + 0x28], 0x10022ee8
push dword [esp + 0x40]
mov eax, dword [ebx + 0x30]
push dword [eax + 0x30]
push dword [eax + 0x34]
push dword [esp + 0x2c]
push dword [esp + 0x28]
push dword [esp + 0x3c]
push 0x10022fc0
push 0
push 0
push 0x4000000
call fcn.100ab973
xor esi, esi
add esp, 0x28
inc esi
mov eax, dword [esp + 0x3c]
mov ecx, ebx
push 0
mov dword [eax], esi
call fcn.1014f61a
mov edi, eax
test edi, edi
jns 0x1014ddc0
push 0x10022f98
jmp 0x1014e11c
mov ecx, dword [ebx + 0x30]
push 0
push 0
push 0x50
call fcn.10126aad
mov edi, eax
test edi, edi
js 0x1014e117
mov eax, dword [esp + 0x3c]
mov ecx, ebx
push 0
mov dword [eax], 2
call fcn.1015006d
mov edi, eax
test edi, edi
jns 0x1014ddfb
push 0x10023048
jmp 0x1014e11c
cmp edi, esi
jne 0x1014de03
mov dword [esp + 0x2c], esi
mov ecx, dword [ebx + 0x30]
push 0
push 0
push 0x60
call fcn.10126aad
mov edi, eax
test edi, edi
js 0x1014e117
cmp dword [esp + 0x2c], 0
je 0x1014de2d
mov ecx, dword [esp + 0x38]
mov dword [ecx], esi
jmp 0x1014e12b
mov ecx, dword [ebx + 0x30]
lea edx, [esp + 0x24]
call fcn.100fa876
mov edi, eax
test edi, edi
jns 0x1014de49
push 0x1002301c
jmp 0x1014e11c
cmp dword [esp + 0x24], 3
jne 0x1014de64
push 0x100230d8
mov edx, 0x1934
mov ecx, 0x100228f8
call fcn.100e970f
cmp dword [esp + 0x24], 0
mov ecx, dword [ebx + 0x30]
je 0x1014de8c
push dword [ecx + 0x30]
push 0x10023070
push 0
push 0
push 0x4000000
call fcn.100ab973
add esp, 0x14
jmp 0x1014e033
call fcn.100b3e5c
test eax, eax
jne 0x1014df64
mov ecx, dword [ebx + 0x30]
cmp dword [ecx + 0x114], esi
je 0x1014debb
push 0x10023130
mov edx, 0x1942
mov ecx, 0x100228f8
call fcn.100e970f
mov ecx, dword [ebx + 0x30]
push 0
add ecx, 0x108
call fcn.100e0ab3
mov ecx, dword [ebx + 0x30]
xor edx, edx
push 0
mov eax, dword [eax]
mov dword [esp + 0x2c], eax
call fcn.100fb4a5
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x40], eax
xor eax, eax
mov dword [esp + 0x2c], eax
cmp dword [ecx + 0xc], eax
jbe 0x1014df64
push eax
call fcn.100e0ab3
mov edx, 0x1000
mov eax, dword [eax]
mov dword [esp + 0x10], eax
cmp dword [eax + 0x10], edx
je 0x1014df52
mov ecx, dword [eax + 0xc]
cmp dword [ecx + 0x124], 0
jne 0x1014df18
cmp dword [ecx + 0x138], 0
je 0x1014df52
cmp dword [esp + 0x40], 0
je 0x1014df52
lea eax, [esp + 0x24]
mov dword [esp + 0x24], edx
push eax
push dword [ebx + 0x30]
call fcn.10138af5
mov edi, eax
mov eax, dword [esp + 0x10]
test edi, edi
js 0x1014e04c
mov ecx, dword [esp + 0x24]
mov edx, dword [eax + 0x10]
call fcn.101165f3
test eax, eax
jne 0x1014dfe2
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
inc eax
mov dword [esp + 0x2c], eax
cmp eax, dword [ecx + 0xc]
jb 0x1014deed
cmp dword [ebx + 0x1e4], 0
je 0x1014e060
push 0x10023160
push 0
push 0
push 0x4000000
call fcn.100ab973
mov ecx, dword [esp + 0x48]
add esp, 0x10
mov eax, dword [esp + 0x30]
mov dword [ecx], esi
and dword [eax], 0
mov eax, dword [ebx + 0xc]
mov dword [esp + 0x2c], eax
test eax, eax
je 0x1014dfb5
mov eax, dword [eax]
mov esi, dword [eax + 0x28]
mov ecx, esi
call dword [0x101e07c0]
mov ecx, dword [esp + 0x2c]
call esi
xor esi, esi
inc esi
mov eax, dword [ebx + 0x30]
push 0
push edi
push 0xd0
inc dword [eax + 0x12c]
mov ecx, dword [ebx + 0x30]
call fcn.10126aad
test eax, eax
jns 0x1014e12b
push 0x10020d84
push esi
push eax
jmp 0x1014e11e
mov eax, dword [ebx + 0x30]
mov ecx, edx
mov esi, dword [eax + 0x30]
call fcn.100aba94
mov ecx, dword [esp + 0x24]
push eax
call fcn.100aba94
push eax
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 0xc]
call fcn.100f6d0b
push eax
push esi
push 0x100231a0
push 0
push 0
push 0x4000000
call fcn.100ab973
mov eax, dword [ebx + 0x30]
xor esi, esi
add esp, 0x20
inc esi
mov dword [eax + 0x160], esi
mov eax, dword [ebx + 0x30]
mov dword [eax + 0x164], esi
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x38]
mov dword [eax], esi
mov dword [ecx], esi
mov ecx, dword [ebx + 0x30]
call fcn.100f7df0
jmp 0x1014e12b
mov ecx, dword [eax + 0xc]
call fcn.100f6d0b
push eax
push 0x10023100
push esi
jmp 0x1014dd43
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x3c]
and dword [ecx], 0
mov dword [eax], 3
mov eax, dword [ebx + 0x30]
mov eax, dword [eax + 0x31c]
test al, 0x40
jne 0x1014e085
test eax, 0x100
je 0x1014e08c
mov ecx, ebx
call fcn.10149ff6
lea eax, [ebx + 0x232]
mov ecx, ebx
push eax
lea eax, [ebx + 0x231]
push eax
call fcn.1014a605
test eax, eax
jns 0x1014e0b9
push 0x10023274
push esi
push eax
push 0x4000000
call fcn.100ab973
add esp, 0x10
lea eax, [esp + 0x17]
mov byte [esp + 0x17], 0
push eax
mov eax, dword [esp + 0x34]
mov ecx, ebx
push eax
call fcn.10144a06
mov edi, eax
test edi, edi
jns 0x1014e0dc
push 0x10023254
jmp 0x1014e11c
cmp byte [esp + 0x17], 0
je 0x1014e141
push 0x100232c4
push 0
push 0
push 0x4000000
call fcn.100ab973
add esp, 0x10
cmp dword [ebx + 0x28], 0
jne 0x1014e12b
mov eax, dword [esp + 0x30]
mov ecx, dword [ebx + 0x30]
push dword [eax]
push 0
push 0x70
call fcn.10126aad
mov edi, eax
test edi, edi
jns 0x1014e12b
push 0x10022dd8
push esi
push edi
push 0x4000000
call fcn.100ab973
add esp, 0x10
mov ecx, dword [esp + 0x44]
mov eax, edi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.100b88c0
mov esp, ebp
pop ebp
ret 0x10
push dword [esp + 0x30]
push ecx
mov ecx, ebx
call fcn.10148aa8
mov edi, eax
test edi, edi
jns 0x1014e0f9
push 0x100232a0
jmp 0x1014e11c