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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
mov eax, 0x1088
call fcn.00422020
mov esi, ecx
xor eax, eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x28], eax
mov ecx, 0x15
cmp ecx, dword [esi]
mov ecx, 0
sbb ecx, dword [esi + 4]
jb 0x40f01b
mov dword [esi + 0x1c], 8
jmp 0x40f535
mov edi, edx
lea edx, [esp + 0x28]
mov ecx, esi
call fcn.00414f07
test eax, eax
je 0x40f0c1
mov dword [esp + 0x18], edi
mov ebx, dword [esp + 0x28]
mov edi, dword [esp + 0x2c]
lea eax, [esp + 0x84]
push 0x16
push eax
push edi
push ebx
push dword [esi + 0x44]
call dword [esi + 0x38]
add esp, 0x14
cmp eax, 0x16
jne 0x40f52c
cmp dword [esp + 0x84], 0x6054b50
jne 0x40f0b5
cmp ebx, 0x4c
mov eax, edi
sbb eax, 0
jl 0x40f0f8
add ebx, 0xffffffec
adc edi, 0xffffffff
lea eax, [esp + 0x70]
push 0x14
push eax
push edi
push ebx
push dword [esi + 0x44]
call dword [esi + 0x38]
add esp, 0x14
cmp eax, 0x14
jne 0x40f0f8
cmp dword [esp + 0x70], 0x7064b50
jne 0x40f0f8
mov eax, dword [esp + 0x78]
mov edx, dword [esi]
mov edi, dword [esi + 4]
add edx, 0xffffffc8
adc edi, 0xffffffff
mov ecx, dword [esp + 0x7c]
cmp edx, eax
sbb edi, ecx
jae 0x40f0cd
mov dword [esi + 0x1c], 8
jmp 0x40f533
mov dword [esi + 0x1c], 7
jmp 0x40f533
lea edx, [esp + 0x38]
push 0x38
push edx
push ecx
push eax
push dword [esi + 0x44]
call dword [esi + 0x38]
add esp, 0x14
cmp eax, 0x38
jne 0x40f0f8
cmp dword [esp + 0x38], 0x6064b50
jne 0x40f0f8
mov eax, dword [esi + 0x48]
mov dword [eax + 0x34], 1
movzx eax, word [esp + 0x8e]
mov dword [esi + 0x10], eax
mov ebx, dword [esi + 0x48]
cmp dword [ebx + 0x34], 0
je 0x40f132
xor eax, eax
mov ecx, 0x2b
cmp ecx, dword [esp + 0x3c]
mov ecx, 0
sbb ecx, dword [esp + 0x40]
jb 0x40f1a9
mov dword [esi + 0x1c], 9
jmp 0x40f535
movzx ecx, word [esp + 0x8c]
movzx edx, word [esp + 0x88]
mov dword [esp + 0x14], edx
movzx edx, word [esp + 0x8a]
mov edi, dword [esp + 0x90]
mov dword [esp + 4], edi
mov edi, dword [esp + 0x94]
mov dword [esp + 8], edi
xor edi, edi
cmp eax, ecx
jne 0x40f1e9
mov ecx, dword [esp + 0x14]
or ecx, edx
je 0x40f17e
cmp dword [esp + 0x14], 1
jne 0x40f1e9
cmp edx, 1
jne 0x40f1e9
imul ecx, eax, 0x2e
mov edx, dword [esp + 4]
cmp edx, ecx
jb 0x40f19d
mov ecx, dword [esp + 8]
add ecx, edx
mov edx, edi
adc edx, 0
cmp dword [esi], ecx
mov ecx, dword [esi + 4]
sbb ecx, edx
jae 0x40f1f5
mov dword [esi + 0x1c], 9
jmp 0x40f533
cmp dword [esp + 0x80], 1
jne 0x40f1e9
cmp dword [esp + 0x5c], 0
jne 0x40f1dd
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x50]
mov edi, dword [esp + 0x54]
mov edx, dword [esp + 0x60]
mov dword [esp + 4], edx
mov edx, dword [esp + 0x64]
mov dword [esi + 0x10], eax
test edi, edi
je 0x40f4b5
mov dword [esi + 0x1c], 2
jmp 0x40f533
mov dword [esi + 0x1c], 0xa
jmp 0x40f533
mov ecx, dword [esp + 8]
mov dword [esi + 8], ecx
mov dword [esi + 0xc], edi
test eax, eax
je 0x40f49e
mov dword [esp + 0xc], edi
mov eax, dword [esp + 4]
cmp dword [ebx + 8], eax
mov edi, eax
jae 0x40f22d
mov ecx, esi
mov edx, ebx
push 0
push edi
call fcn.0041555b
add esp, 8
test eax, eax
je 0x40f4c2
mov dword [ebx + 4], edi
mov edi, dword [esi + 0x10]
mov ebx, dword [esi + 0x48]
cmp dword [ebx + 0x18], edi
jae 0x40f253
lea edx, [ebx + 0x10]
mov ecx, esi
push 0
push edi
call fcn.0041555b
add esp, 8
test eax, eax
je 0x40f4c2
bt dword [esp + 0x18], 0xb
mov dword [ebx + 0x14], edi
jb 0x40f284
mov edi, dword [esi + 0x10]
mov ebx, dword [esi + 0x48]
cmp dword [ebx + 0x28], edi
jae 0x40f281
lea edx, [ebx + 0x20]
mov ecx, esi
push 0
push edi
call fcn.0041555b
add esp, 8
test eax, eax
je 0x40f4c2
mov dword [ebx + 0x24], edi
mov eax, dword [esi + 0x48]
mov edi, dword [esp + 4]
push edi
push dword [eax]
push dword [esp + 0x14]
push dword [esp + 0x14]
push dword [esi + 0x44]
call dword [esi + 0x38]
add esp, 0x14
cmp eax, edi
jne 0x40f52c
cmp dword [esi + 0x10], 0
je 0x40f49e
mov eax, dword [esi + 0x48]
mov edx, dword [eax]
add dword [esp + 8], 0x2e
adc dword [esp + 0xc], 0
mov dword [esp + 0x10], 0
cmp dword [esp + 4], 0x2e
jb 0x40f19d
cmp dword [edx], 0x2014b50
jne 0x40f19d
mov eax, dword [esi + 0x48]
mov ecx, edx
sub ecx, dword [eax]
mov eax, dword [eax + 0x10]
mov edi, dword [esp + 0x10]
mov dword [eax + edi*4], ecx
bt dword [esp + 0x18], 0xb
jb 0x40f305
mov eax, dword [esi + 0x48]
mov eax, dword [eax + 0x20]
mov ecx, dword [esp + 0x10]
mov dword [eax + ecx*4], ecx
mov ecx, dword [edx + 0x14]
mov ebx, dword [edx + 0x18]
mov eax, dword [esi + 0x48]
cmp dword [eax + 0x38], 0
jne 0x40f400
movzx eax, word [edx + 0x1e]
test ax, ax
je 0x40f400
mov edi, ecx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x1c], ebx
cmp ecx, ebx
ja 0x40f337
mov edi, dword [esp + 0x1c]
mov dword [esp + 0x24], edx
mov edx, dword [edx + 0x2a]
cmp edi, edx
ja 0x40f344
mov edi, edx
cmp edi, 0xffffffff
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
mov ebx, dword [esp + 0x1c]
jne 0x40f400
movzx ecx, word [edx + 0x1c]
movzx ebx, ax
lea eax, [ecx + ebx]
add eax, 0x2e
cmp eax, dword [esp + 4]
jbe 0x40f3ab
mov dword [esp + 0x34], ecx
push ebx
call fcn.0042c9f4
add esp, 4
test eax, eax
je 0x40f4c2
mov edi, eax
mov ecx, dword [esp + 0x34]
add ecx, dword [esp + 8]
mov eax, dword [esp + 0xc]
adc eax, 0
push ebx
push edi
push eax
push ecx
push dword [esi + 0x44]
call dword [esi + 0x38]
add esp, 0x14
cmp eax, ebx
jne 0x40f523
mov eax, edi
jmp 0x40f3b3
lea edi, [edx + ecx]
add edi, 0x2e
xor eax, eax
cmp ebx, 3
jbe 0x40f4f0
movzx ecx, word [edi + 2]
lea edx, [ecx + 4]
cmp edx, ebx
ja 0x40f4f0
cmp word [edi], 1
je 0x40f3dc
add edi, edx
sub ebx, ecx
add ebx, 0xfffffffc
jne 0x40f3b3
jmp 0x40f3eb
mov ecx, dword [esi + 0x48]
xor edx, edx
inc edx
mov dword [ecx + 0x34], edx
mov ecx, dword [esi + 0x48]
mov dword [ecx + 0x38], edx
push eax
call fcn.0042c64b
add esp, 4
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
mov ebx, dword [esp + 0x1c]
cmp ecx, 0xffffffff
je 0x40f424
cmp ebx, 0xffffffff
je 0x40f424
cmp dword [edx + 0xa], 0
jne 0x40f418
cmp ebx, ecx
jne 0x40f4f9
test ebx, ebx
je 0x40f424
test ecx, ecx
je 0x40f4f9
movzx eax, word [edx + 0x22]
cmp eax, 0xffff
je 0x40f505
cmp ax, 1
je 0x40f443
cmp dword [esp + 0x14], eax
jne 0x40f505
cmp ecx, 0xffffffff
je 0x40f465
xor eax, eax
add ecx, dword [edx + 0x2a]
setb al
add ecx, 0x1e
adc eax, 0
mov ebx, ecx
mov ecx, dword [esi + 4]
cmp dword [esi], ebx
sbb ecx, eax
jb 0x40f19d
test byte [edx + 9], 0x20
jne 0x40f514
movzx eax, word [edx + 0x1c]
movzx ecx, word [edx + 0x1e]
add ecx, eax
movzx eax, word [edx + 0x20]
add eax, ecx
add eax, 0x2e
sub dword [esp + 4], eax
jb 0x40f4f9
add edx, eax
mov eax, dword [esp + 0x10]
inc eax
mov ecx, eax
mov dword [esp + 0x10], eax
cmp eax, dword [esi + 0x10]
jb 0x40f2c8
bt dword [esp + 0x18], 0xb
jb 0x40f4ad
mov ecx, esi
call fcn.00415085
xor eax, eax
inc eax
jmp 0x40f535
test edx, edx
je 0x40f4cb
mov dword [esi + 0x1c], 0xf
jmp 0x40f533
mov dword [esi + 0x1c], 0x10
jmp 0x40f533
mov edx, dword [esp + 0x48]
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0x4c]
mov edi, dword [esp + 0x6c]
mov dword [esp + 0xc], edi
mov edi, dword [esp + 0x68]
mov dword [esp + 8], edi
mov edi, dword [esp + 0xc]
jmp 0x40f166
push eax
call fcn.0042c64b
add esp, 4
xor eax, eax
test esi, esi
jne 0x40f126
jmp 0x40f535
xor eax, eax
test esi, esi
je 0x40f535
mov dword [esi + 0x1c], 0xa
jmp 0x40f535
xor eax, eax
test esi, esi
je 0x40f535
mov dword [esi + 0x1c], 5
jmp 0x40f535
push edi
call fcn.0042c64b
add esp, 4
mov dword [esi + 0x1c], 0x14
xor eax, eax
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret