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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x54
mov eax, dword [ebp + 0x24]
push ebx
push esi
cmp eax, 1
push edi
jne 0x443ce2
mov edi, dword [ebp + 0x20]
mov ebx, dword [ebp + 0x1c]
mov esi, dword [ebp + 8]
mov eax, dword [0x581874]
test esi, esi
jne 0x443c3f
mov eax, dword [0x581dfc]
mov ecx, dword [0x585050]
push 0x8806
push eax
mov eax, dword [0x585054]
push eax
push ecx
call fcn.004a4720
add esp, 0x10
test eax, eax
jne 0x443fbf
call fcn.004ac000
mov edx, dword [ebp + 0x18]
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
push 1
push edi
push ebx
push edx
mov edx, dword [ebp + 0xc]
push eax
mov eax, dword [0x585050]
push ecx
push edx
push eax
push esi
call fcn.00443fd0
add esp, 0x24
test eax, eax
jne 0x443cb9
mov ecx, dword [ebp + 0x18]
mov edx, dword [ebp + 0x14]
push eax
mov eax, dword [ebp + 0x10]
push edi
push ebx
push ecx
mov ecx, dword [ebp + 0xc]
push edx
mov edx, dword [0x585054]
push eax
push ecx
push edx
push esi
call fcn.00443fd0
add esp, 0x24
test eax, eax
je 0x443c31
mov eax, dword [0x585050]
push 1
push 0
push eax
call fcn.004a63d0
mov ecx, dword [0x585054]
push 1
push 0
push ecx
call fcn.004a63d0
add esp, 0x18
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
test eax, eax
mov eax, dword [0x58186c]
jne 0x443cf3
mov eax, dword [0x581de8]
lea edx, [esp + 0x28]
lea ecx, [esp + 0x30]
push edx
lea edx, [esp + 0x14]
push ecx
push edx
push eax
call fcn.004a5c70
add esp, 0x10
test eax, eax
jne 0x443fbf
mov eax, dword [esp + 0x10]
push eax
call fcn.004a7540
fstp qword [esp + 0x3c]
mov esi, dword [esp + 0x40]
mov edi, dword [esp + 0x3c]
lea ecx, [esp + 0x18]
push 0
lea edx, [esp + 0x20]
push ecx
mov ecx, dword [esp + 0x38]
lea eax, [esp + 0x4c]
push edx
mov edx, dword [esp + 0x38]
push eax
mov eax, dword [esp + 0x48]
push 0x8804
push esi
push edi
push ecx
mov ecx, dword [esp + 0x54]
push edx
mov edx, dword [esp + 0x38]
push eax
mov eax, dword [0x585054]
push ecx
push edx
push eax
call fcn.004a5ed0
add esp, 0x38
xor ebx, ebx
test eax, eax
sete bl
test ebx, ebx
je 0x443d9f
mov ecx, dword [esp + 0x14]
test dword [ecx], 0x30000
je 0x443d84
mov eax, 1
mov ecx, dword [ebp + 8]
test ecx, ecx
je 0x443d9f
mov edx, dword [esp + 0x18]
mov ecx, dword [edx]
and ecx, 0xe00
cmp ecx, 0x400
jne 0x443da3
test eax, eax
je 0x443deb
lea edx, [esp + 0x14]
push 0
lea eax, [esp + 0x1c]
push edx
mov edx, dword [esp + 0x34]
lea ecx, [esp + 0x48]
push eax
mov eax, dword [esp + 0x34]
push ecx
mov ecx, dword [esp + 0x44]
push 0x8804
push esi
push edi
push edx
mov edx, dword [esp + 0x50]
push eax
mov eax, dword [esp + 0x34]
push ecx
mov ecx, dword [0x585050]
push edx
push eax
push ecx
call fcn.004a5ed0
add esp, 0x34
test eax, eax
jne 0x443ce2
mov eax, dword [ebp + 8]
test eax, eax
je 0x443e08
mov edx, dword [esp + 0x18]
mov eax, dword [edx]
and eax, 0xe00
cmp eax, 0x400
jne 0x443ce2
mov ecx, dword [esp + 0x14]
push ecx
call fcn.004b25b0
add esp, 4
test eax, eax
jne 0x443ce2
test ebx, ebx
mov esi, 0x585054
jne 0x443e2b
mov esi, 0x585050
mov eax, dword [ebp + 8]
test eax, eax
mov eax, dword [0x581870]
jne 0x443e3c
mov eax, dword [0x581dec]
lea edx, [esp + 0x28]
lea ecx, [esp + 0x30]
push edx
lea edx, [esp + 0x14]
push ecx
push edx
push eax
call fcn.004a5c70
add esp, 0x10
cmp eax, 2
je 0x443fbf
test eax, eax
jne 0x443ce2
mov eax, dword [esp + 0x10]
push eax
call fcn.004a7540
fstp qword [esp + 0x3c]
lea ecx, [esp + 0x20]
push 0
lea edx, [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x48]
lea eax, [esp + 0x5c]
push edx
mov edx, dword [esp + 0x48]
push eax
mov eax, dword [esp + 0x40]
push 0x8804
push ecx
mov ecx, dword [esp + 0x44]
push edx
mov edx, dword [esp + 0x54]
push eax
mov eax, dword [esp + 0x54]
push ecx
mov ecx, dword [esp + 0x38]
push edx
mov edx, dword [esi]
push eax
push ecx
push edx
call fcn.004a5ed0
add esp, 0x38
test eax, eax
jne 0x443e2b
mov eax, dword [esp + 0x1c]
push eax
call fcn.004b25b0
add esp, 4
test eax, eax
jne 0x443e2b
mov eax, dword [ebp + 8]
test eax, eax
mov eax, dword [esp + 0x20]
je 0x443ef3
mov ecx, dword [eax]
and ecx, 0xe00
cmp ecx, 0x400
jne 0x443e2b
cmp dword [esp + 0x18], eax
je 0x443e2b
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
mov ecx, dword [edx + 0xa4]
mov edx, dword [eax + 0xa4]
cmp ecx, edx
jne 0x443e2b
test ebx, ebx
je 0x443f29
test dword [eax], 0x30000
jne 0x443e2b
call fcn.004ac000
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x24]
push edx
push ebx
push esi
push eax
mov eax, dword [esp + 0x60]
push ecx
mov ecx, dword [esp + 0x68]
sub esp, 0x10
mov edx, esp
sub esp, 0x10
mov dword [edx], eax
mov eax, dword [esp + 0x8c]
mov dword [edx + 4], ecx
mov ecx, dword [esp + 0x90]
mov dword [edx + 8], eax
mov eax, dword [esp + 0x74]
mov dword [edx + 0xc], ecx
mov ecx, dword [esp + 0x78]
mov edx, esp
mov dword [edx], eax
mov eax, dword [esp + 0x7c]
mov dword [edx + 4], ecx
mov ecx, dword [esp + 0x80]
mov dword [edx + 8], eax
mov eax, dword [esp + 0x4c]
mov dword [edx + 0xc], ecx
mov edx, dword [esp + 0x54]
mov ecx, dword [ebp + 0x20]
push edx
mov edx, dword [ebp + 0x1c]
push eax
mov eax, dword [ebp + 0x18]
push ecx
mov ecx, dword [ebp + 0x14]
push edx
mov edx, dword [ebp + 0x10]
push eax
mov eax, dword [ebp + 0xc]
push ecx
mov ecx, dword [ebp + 8]
push edx
push eax
push ecx
call fcn.00442a10
add esp, 0x58
cmp eax, 1
jne 0x443ce2
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret