Function at 0x40bdbf
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.0040ca7d
cmp eax, 2
jne 0x40bdea
xor eax, eax
jmp 0x40c03c
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.0040a157
test eax, eax
jne 0x40be20
push 0x33
pop eax
jmp 0x40c03a
push ebx
push ebp
lea eax, [esp + 0x4c]
push eax
call fcn.00409fcc
movzx ebx, ax
lea eax, [esp + 0x50]
push eax
mov dword [esp + 0x34], ebx
call fcn.00409fcc
movzx ebp, ax
lea eax, [esp + 0x54]
push eax
mov dword [esp + 0x3c], ebp
call fcn.00409f49
mov dword [esp + 0x14], eax
lea eax, [esp + 0x5c]
push eax
mov dword [esp + 0x1c], edx
call fcn.00409f49
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x64]
push eax
mov dword [esp + 0x24], edx
call fcn.00409f49
mov dword [esp + 0x24], eax
lea eax, [esp + 0x6c]
push eax
mov dword [esp + 0x2c], edx
call fcn.00409f49
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 0x40bea9
cmp ax, bx
jne 0x40c036
mov dx, word [0x44c652]
cmp dx, cx
je 0x40bebe
cmp dx, bp
jne 0x40c036
mov ecx, dword [0x44c658]
mov ebx, 0xffff
mov eax, dword [0x44c65c]
cmp ecx, ebx
jne 0x40bed6
test eax, eax
je 0x40beea
cmp ecx, dword [esp + 0x14]
jne 0x40c036
cmp eax, dword [esp + 0x18]
jne 0x40c036
mov eax, dword [0x44c660]
mov ebp, dword [0x44c664]
cmp eax, ebx
jne 0x40befd
test ebp, ebp
je 0x40bf11
cmp eax, dword [esp + 0x1c]
jne 0x40c036
cmp ebp, dword [esp + 0x20]
jne 0x40c036
mov eax, dword [0x44c668]
mov ebx, dword [0x44c66c]
cmp eax, 0xffffffff
jne 0x40bf25
test ebx, ebx
je 0x40bf39
cmp eax, dword [esp + 0x24]
jne 0x40c036
cmp ebx, dword [esp + 0x28]
jne 0x40c036
mov ecx, dword [0x44c670]
mov eax, dword [0x44c674]
cmp ecx, 0xffffffff
jne 0x40bf4d
test eax, eax
je 0x40bf61
cmp ecx, dword [esp + 0x10]
jne 0x40c036
cmp eax, dword [esp + 0x2c]
jne 0x40c036
mov ebx, 0xffff
cmp word [0x44c650], bx
mov ebx, dword [0x44c66c]
jne 0x40bf86
mov ebp, dword [esp + 0x30]
mov word [0x44c650], bp
mov ebp, dword [0x44c664]
cmp dx, word [esp + 0x34]
jne 0x40bf98
mov edx, dword [esp + 0x38]
mov word [0x44c652], dx
mov edx, 0xffff
cmp dword [0x44c658], edx
jne 0x40bfc7
cmp dword [0x44c65c], 0
jne 0x40bfc7
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 0x40bfe7
test ebp, ebp
jne 0x40bfe7
mov edx, dword [esp + 0x1c]
mov dword [0x44c660], edx
mov edx, dword [esp + 0x20]
mov dword [0x44c664], edx
cmp dword [0x44c668], 0xffffffff
jne 0x40c008
test ebx, ebx
jne 0x40c008
mov edx, dword [esp + 0x24]
mov dword [0x44c668], edx
mov edx, dword [esp + 0x28]
mov dword [0x44c66c], edx
cmp ecx, 0xffffffff
jne 0x40c023
test eax, eax
jne 0x40c023
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