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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4da610
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x5246f0]
xor eax, esp
mov dword [esp + 0x60], eax
push ebx
push esi
push edi
mov eax, dword [0x5246f0]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov ebx, dword [ebp + 0x14]
test dword [ebx + 0x14], 0x4000
mov esi, dword [ebp + 8]
mov al, byte [ebp + 0x18]
mov dword [esp + 0x28], esi
mov dword [esp + 0x30], ebx
mov byte [esp + 0x14], al
jne 0x44f397
movzx eax, byte [ebp + 0x1c]
mov edx, dword [ecx]
mov edx, dword [edx + 0x1c]
push eax
mov eax, dword [esp + 0x18]
push eax
mov eax, dword [ebp + 0x10]
push ebx
push eax
mov eax, dword [ebp + 0xc]
push eax
push esi
call edx
mov eax, esi
jmp 0x44f533
lea edi, [esp + 0x2c]
mov eax, ebx
call fcn.00440290
mov edi, eax
mov dword [esp + 0x80], 0
call fcn.00450ea0
mov dword [esp + 0x80], 0xffffffff
mov edi, dword [esp + 0x2c]
mov dword [esp + 0x18], eax
test edi, edi
je 0x44f406
push 0
lea ecx, [esp + 0x20]
call fcn.0045efc1
mov eax, dword [edi + 4]
test eax, eax
je 0x44f3e6
cmp eax, 0xffffffff
jae 0x44f3e6
dec eax
mov dword [edi + 4], eax
mov esi, dword [edi + 4]
neg esi
sbb esi, esi
lea ecx, [esp + 0x1c]
not esi
call fcn.0045efe9
and esi, edi
je 0x44f406
mov eax, dword [esi]
mov edx, dword [eax]
push 1
mov ecx, esi
call edx
lea ecx, [esp + 0x38]
call fcn.00404d30
cmp byte [ebp + 0x1c], 0
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x80], 1
lea esi, [esp + 0x54]
je 0x44f437
call fcn.00450710
mov byte [esp + 0x80], 2
jmp 0x44f444
call fcn.004506f0
mov byte [esp + 0x80], 3
push eax
lea ecx, [esp + 0x3c]
call fcn.00404840
lea ecx, [esp + 0x54]
mov byte [esp + 0x80], 1
call fcn.00405520
mov eax, dword [ebx + 0x24]
mov ecx, dword [ebx + 0x20]
test eax, eax
jl 0x44f499
jg 0x44f46f
test ecx, ecx
je 0x44f499
mov esi, ecx
lea ecx, [esp + 0x38]
mov dword [esp + 0x20], eax
call fcn.004055b0
cmp esi, eax
jbe 0x44f499
mov eax, dword [ebx + 0x24]
mov esi, dword [ebx + 0x20]
lea ecx, [esp + 0x38]
mov dword [esp + 0x20], eax
call fcn.004055b0
sub esi, eax
jmp 0x44f49b
xor esi, esi
mov ecx, dword [ebx + 0x14]
and ecx, 0x1c0
cmp ecx, 0x40
je 0x44f4d4
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
mov bl, byte [esp + 0x14]
push edx
push eax
mov eax, esi
lea edi, [esp + 0x24]
call fcn.00450690
mov ecx, dword [eax]
mov ebx, dword [esp + 0x38]
mov dword [ebp + 0xc], ecx
mov edx, dword [eax + 4]
add esp, 8
mov dword [ebp + 0x10], edx
xor esi, esi
lea ecx, [esp + 0x38]
call fcn.004055b0
lea ecx, [esp + 0x38]
mov edi, eax
call fcn.00404d10
mov edx, dword [ebp + 0xc]
mov ecx, eax
mov eax, dword [ebp + 0x10]
push eax
push edx
lea eax, [esp + 0x38]
push eax
mov eax, edi
call fcn.004508e0
mov ecx, dword [eax]
mov edi, dword [esp + 0x34]
mov dword [ebp + 0xc], ecx
mov eax, dword [eax + 4]
add esp, 0xc
xor edx, edx
push eax
mov dword [ebp + 0x10], eax
mov dword [ebx + 0x20], edx
mov dword [ebx + 0x24], edx
mov bl, byte [esp + 0x18]
push ecx
mov eax, esi
call fcn.00450690
add esp, 8
lea ecx, [esp + 0x38]
call fcn.00405520
mov eax, edi
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.0045f522
mov esp, ebp
pop ebp
ret 0x18