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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx]
ja 0x44658f
xor edi, edi
mov eax, 0x48
call fcn.0042a440
jmp fcn.00446570
sub esp, 0x50
mov dword [esp + 0x94], 0
mov dword [esp + 0x98], 0
mov ebx, dword [esp + 0x5c]
mov dword [esp], ebx
mov ebx, dword [esp + 0x60]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x64]
mov dword [esp + 8], ebx
call fcn.00447480
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
mov dword [esp + 0x98], ebx
cmp ecx, 0
mov dword [esp + 0x94], ecx
je 0x4465f2
mov dword [esp + 0x90], 0
add esp, 0x50
ret
mov dword [esp + 0x30], eax
mov dword [esp], eax
mov ebx, dword [esp + 0x5c]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x60]
mov dword [esp + 8], ebx
movzx ebx, byte [esp + 0x68]
mov byte [esp + 0xc], bl
call fcn.00447b90
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x98], eax
cmp ecx, 0
mov dword [esp + 0x94], ecx
je 0x44664d
mov dword [esp], edx
call fcn.00436e90
mov dword [esp + 0x90], 0
add esp, 0x50
ret
mov dword [esp], edx
mov ebx, dword [esp + 0x5c]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x60]
mov dword [esp + 8], ebx
mov ebx, dword [esp + 0x54]
mov dword [esp + 0xc], ebx
mov ebx, dword [esp + 0x58]
mov dword [esp + 0x10], ebx
call fcn.00437db0
mov edi, dword [esp + 0x74]
mov esi, dword [esp + 0x70]
mov ebp, dword [esp + 0x8c]
mov edx, dword [esp + 0x6c]
mov ebx, dword [esp + 0x14]
mov dword [esp + 0x90], ebx
mov eax, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
mov dword [esp + 0x98], ebx
cmp eax, 0
mov dword [esp + 0x94], eax
je 0x4466c9
mov ebx, dword [esp + 0x30]
mov dword [esp], ebx
call fcn.00436e90
mov dword [esp + 0x90], 0
add esp, 0x50
ret
cmp edx, 0
je 0x4467fc
cmp edi, 0
jne 0x4467fc
mov ebx, dword [esp + 0x60]
cmp ebx, 1
jne 0x446770
mov ebx, dword [esp + 0x90]
mov dword [esp], ebx
mov dword [esp + 4], edx
mov dword [esp + 8], esi
mov ebx, dword [0x76f0b8]
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ebp
call fcn.00446cf0
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov dword [esp + 0x44], eax
cmp ecx, 0
mov dword [esp + 0x40], ecx
je 0x446756
mov ebx, dword [esp + 0x90]
mov dword [esp], ebx
call fcn.004388d0
mov dword [esp + 0x90], 0
mov ebx, dword [esp + 0x40]
mov dword [esp + 0x94], ebx
mov ebx, dword [esp + 0x44]
mov dword [esp + 0x98], ebx
add esp, 0x50
ret
mov dword [esp + 0x94], 0
mov dword [esp + 0x98], 0
add esp, 0x50
ret
cmp ebx, 2
jne 0x4467f3
mov ebx, dword [esp + 0x90]
mov dword [esp], ebx
mov dword [esp + 4], edx
mov dword [esp + 8], esi
mov dword [esp + 0xc], ebp
call fcn.00447060
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x3c], eax
cmp ecx, 0
mov dword [esp + 0x38], ecx
je 0x4467d9
mov ebx, dword [esp + 0x90]
mov dword [esp], ebx
call fcn.004388d0
mov dword [esp + 0x90], 0
mov ebx, dword [esp + 0x38]
mov dword [esp + 0x94], ebx
mov ebx, dword [esp + 0x3c]
mov dword [esp + 0x98], ebx
add esp, 0x50
ret
mov dword [esp + 0x94], 0
mov dword [esp + 0x98], 0
add esp, 0x50
ret
cmp ebx, 5
je 0x4466e8
mov ebx, dword [esp + 0x90]
mov dword [esp], ebx
mov dword [esp + 4], edx
mov dword [esp + 8], esi
mov dword [esp + 0xc], edi
mov ebx, dword [esp + 0x78]
mov dword [esp + 0x10], ebx
lea esi, [esp + 0x7c]
lea edi, [esp + 0x14]
cld
call fcn.0042c278
mov dword [esp + 0x24], ebp
call fcn.004468a0
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x4c], eax
cmp ecx, 0
mov dword [esp + 0x48], ecx
je 0x44687a
mov ebx, dword [esp + 0x90]
mov dword [esp], ebx
call fcn.004388d0
mov dword [esp + 0x90], 0
mov ebx, dword [esp + 0x48]
mov dword [esp + 0x94], ebx
mov ebx, dword [esp + 0x4c]
mov dword [esp + 0x98], ebx
add esp, 0x50
ret
mov dword [esp + 0x94], 0
mov dword [esp + 0x98], 0
add esp, 0x50
ret