Function at 0x40bee8
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.0040cc06
cmp eax, 2
jne 0x40bf13
xor eax, eax
jmp 0x40c165
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.0040a280
test eax, eax
jne 0x40bf49
push 0x33
pop eax
jmp 0x40c163
push ebx
push ebp
lea eax, [esp + 0x4c]
push eax
call fcn.0040a0f5
movzx ebx, ax
lea eax, [esp + 0x50]
push eax
mov dword [esp + 0x34], ebx
call fcn.0040a0f5
movzx ebp, ax
lea eax, [esp + 0x54]
push eax
mov dword [esp + 0x3c], ebp
call fcn.0040a072
mov dword [esp + 0x14], eax
lea eax, [esp + 0x5c]
push eax
mov dword [esp + 0x1c], edx
call fcn.0040a072
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x64]
push eax
mov dword [esp + 0x24], edx
call fcn.0040a072
mov dword [esp + 0x24], eax
lea eax, [esp + 0x6c]
push eax
mov dword [esp + 0x2c], edx
call fcn.0040a072
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 0x40bfd2
cmp ax, bx
jne 0x40c15f
mov dx, word [0x44c652]
cmp dx, cx
je 0x40bfe7
cmp dx, bp
jne 0x40c15f
mov ecx, dword [0x44c658]
mov ebx, 0xffff
mov eax, dword [0x44c65c]
cmp ecx, ebx
jne 0x40bfff
test eax, eax
je 0x40c013
cmp ecx, dword [esp + 0x14]
jne 0x40c15f
cmp eax, dword [esp + 0x18]
jne 0x40c15f
mov eax, dword [0x44c660]
mov ebp, dword [0x44c664]
cmp eax, ebx
jne 0x40c026
test ebp, ebp
je 0x40c03a
cmp eax, dword [esp + 0x1c]
jne 0x40c15f
cmp ebp, dword [esp + 0x20]
jne 0x40c15f
mov eax, dword [0x44c668]
mov ebx, dword [0x44c66c]
cmp eax, 0xffffffff
jne 0x40c04e
test ebx, ebx
je 0x40c062
cmp eax, dword [esp + 0x24]
jne 0x40c15f
cmp ebx, dword [esp + 0x28]
jne 0x40c15f
mov ecx, dword [0x44c670]
mov eax, dword [0x44c674]
cmp ecx, 0xffffffff
jne 0x40c076
test eax, eax
je 0x40c08a
cmp ecx, dword [esp + 0x10]
jne 0x40c15f
cmp eax, dword [esp + 0x2c]
jne 0x40c15f
mov ebx, 0xffff
cmp word [0x44c650], bx
mov ebx, dword [0x44c66c]
jne 0x40c0af
mov ebp, dword [esp + 0x30]
mov word [0x44c650], bp
mov ebp, dword [0x44c664]
cmp dx, word [esp + 0x34]
jne 0x40c0c1
mov edx, dword [esp + 0x38]
mov word [0x44c652], dx
mov edx, 0xffff
cmp dword [0x44c658], edx
jne 0x40c0f0
cmp dword [0x44c65c], 0
jne 0x40c0f0
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 0x40c110
test ebp, ebp
jne 0x40c110
mov edx, dword [esp + 0x1c]
mov dword [0x44c660], edx
mov edx, dword [esp + 0x20]
mov dword [0x44c664], edx
cmp dword [0x44c668], 0xffffffff
jne 0x40c131
test ebx, ebx
jne 0x40c131
mov edx, dword [esp + 0x24]
mov dword [0x44c668], edx
mov edx, dword [esp + 0x28]
mov dword [0x44c66c], edx
cmp ecx, 0xffffffff
jne 0x40c14c
test eax, eax
jne 0x40c14c
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