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

Disassembly:
sub esp, 0x68
push 0x38
lea eax, [esp + 4]
mov dword [esp + 4], 0x6064b50
push eax
push dword [esp + 0x78]
push dword [esp + 0x78]
call fcn.0040cc2b
cmp eax, 2
jne 0x40bf38
xor eax, eax
jmp 0x40c18a
mov eax, dword [0x44c598]
sub eax, dword [0x44c594]
push esi
cdq
push edi
mov esi, eax
mov edi, edx
add esi, dword [0x44c5d8]
lea eax, [esp + 0x34]
push 0x3c
adc edi, dword [0x44c5dc]
push eax
call fcn.0040a2a5
test eax, eax
jne 0x40bf6e
push 0x33
pop eax
jmp 0x40c188
push ebx
push ebp
lea eax, [esp + 0x4c]
push eax
call fcn.0040a129
movzx ebx, ax
lea eax, [esp + 0x50]
push eax
mov dword [esp + 0x34], ebx
call fcn.0040a129
movzx ebp, ax
lea eax, [esp + 0x54]
push eax
mov dword [esp + 0x3c], ebp
call fcn.0040a0a6
mov dword [esp + 0x14], eax
lea eax, [esp + 0x5c]
push eax
mov dword [esp + 0x1c], edx
call fcn.0040a0a6
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x64]
push eax
mov dword [esp + 0x24], edx
call fcn.0040a0a6
mov dword [esp + 0x24], eax
lea eax, [esp + 0x6c]
push eax
mov dword [esp + 0x2c], edx
call fcn.0040a0a6
mov dword [esp + 0x10], eax
mov ecx, 0xffff
mov ax, word [0x44c650]
mov dword [esp + 0x2c], edx
mov dword [esp + 0x34], ecx
cmp ax, cx
je 0x40bff7
cmp ax, bx
jne 0x40c184
mov dx, word [0x44c652]
cmp dx, cx
je 0x40c00c
cmp dx, bp
jne 0x40c184
mov ecx, dword [0x44c658]
mov ebx, 0xffff
mov eax, dword [0x44c65c]
cmp ecx, ebx
jne 0x40c024
test eax, eax
je 0x40c038
cmp ecx, dword [esp + 0x14]
jne 0x40c184
cmp eax, dword [esp + 0x18]
jne 0x40c184
mov eax, dword [0x44c660]
mov ebp, dword [0x44c664]
cmp eax, ebx
jne 0x40c04b
test ebp, ebp
je 0x40c05f
cmp eax, dword [esp + 0x1c]
jne 0x40c184
cmp ebp, dword [esp + 0x20]
jne 0x40c184
mov eax, dword [0x44c668]
mov ebx, dword [0x44c66c]
cmp eax, 0xffffffff
jne 0x40c073
test ebx, ebx
je 0x40c087
cmp eax, dword [esp + 0x24]
jne 0x40c184
cmp ebx, dword [esp + 0x28]
jne 0x40c184
mov ecx, dword [0x44c670]
mov eax, dword [0x44c674]
cmp ecx, 0xffffffff
jne 0x40c09b
test eax, eax
je 0x40c0af
cmp ecx, dword [esp + 0x10]
jne 0x40c184
cmp eax, dword [esp + 0x2c]
jne 0x40c184
mov ebx, 0xffff
cmp word [0x44c650], bx
mov ebx, dword [0x44c66c]
jne 0x40c0d4
mov ebp, dword [esp + 0x30]
mov word [0x44c650], bp
mov ebp, dword [0x44c664]
cmp dx, word [esp + 0x34]
jne 0x40c0e6
mov edx, dword [esp + 0x38]
mov word [0x44c652], dx
mov edx, 0xffff
cmp dword [0x44c658], edx
jne 0x40c115
cmp dword [0x44c65c], 0
jne 0x40c115
mov edx, dword [esp + 0x14]
mov dword [0x44c658], edx
mov edx, dword [esp + 0x18]
mov dword [0x44c65c], edx
mov edx, 0xffff
cmp dword [0x44c660], edx
jne 0x40c135
test ebp, ebp
jne 0x40c135
mov edx, dword [esp + 0x1c]
mov dword [0x44c660], edx
mov edx, dword [esp + 0x20]
mov dword [0x44c664], edx
cmp dword [0x44c668], 0xffffffff
jne 0x40c156
test ebx, ebx
jne 0x40c156
mov edx, dword [esp + 0x24]
mov dword [0x44c668], edx
mov edx, dword [esp + 0x28]
mov dword [0x44c66c], edx
cmp ecx, 0xffffffff
jne 0x40c171
test eax, eax
jne 0x40c171
mov eax, dword [esp + 0x10]
mov dword [0x44c670], eax
mov eax, dword [esp + 0x2c]
mov dword [0x44c674], eax
mov dword [0x43c548], esi
mov dword [0x43c54c], edi
mov byte [0x44d834], 1
pop ebp
xor eax, eax
pop ebx
pop edi
pop esi
add esp, 0x68
ret 8