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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x448716
sub esp, 0x7c
lea edi, [esp + 0x84]
xor eax, eax
call fcn.0045a176
mov ecx, dword [esp + 0x80]
jmp 0x4481d4
xor eax, eax
mov ecx, edi
mov edx, dword [ecx + 0x10]
mov esi, dword [ecx + 0xc]
lea ebx, [ecx + 0xc]
mov dword [esp + 0x50], ebx
cmp edx, 2
jge 0x44859e
mov dword [esp + 0x34], edx
mov ebp, dword [ecx + 4]
mov edi, ebx
mov ebx, dword [ecx]
mov edx, dword [ecx + 8]
test ebp, ebp
je 0x44853a
mov esi, dword [ebx]
dec ebp
mov dword [ecx + 4], ebp
dec edx
mov dword [ecx + 8], edx
mov ebp, dword [0x7e83b0]
neg edx
sar edx, 0x1f
and edx, 4
add edx, ebx
test ebp, ebp
jne 0x448222
mov dword [ecx], edx
jmp 0x44822b
mov edi, ecx
mov eax, edx
call fcn.00459fb0
mov dword [esp + 0x24], esi
mov dword [esp], esi
call fcn.004493c0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
test eax, eax
jne 0x44835a
mov ecx, dword [0x7c21a8]
test ecx, ecx
jne 0x44825d
mov edi, dword [esp + 0x80]
jmp 0x4481d0
mov eax, dword [esp + 0x24]
mov dword [esp], eax
call fcn.00448720
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x80]
mov edx, dword [ecx + 0x10]
lea ebx, [edx + eax]
mov dword [esp + 0x34], ebx
mov ebp, dword [esp + 4]
mov esi, dword [ecx + 0x14]
mov edi, dword [ecx + 0xc]
cmp esi, ebx
jae 0x4482d5
mov dword [esp + 0x30], eax
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x2c], edx
lea eax, [0x4e0660]
mov dword [esp], eax
mov dword [esp + 4], edi
mov dword [esp + 8], edx
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], ebx
call fcn.00443e90
mov edi, dword [esp + 0x14]
mov esi, dword [esp + 0x1c]
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x80]
mov edx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x34]
mov ebp, dword [esp + 0x4c]
cmp edx, ebx
ja 0x44870c
mov dword [esp + 0x30], esi
mov dword [esp + 0x48], edi
lea ecx, [0x4e0660]
mov dword [esp], ecx
lea ebx, [edx + edx*4]
sub esi, edx
xchg esi, ebx
neg ebx
xchg esi, ebx
shl ebx, 3
sar esi, 0x1f
and esi, ebx
lea edx, [edi + esi]
mov dword [esp + 4], edx
mov dword [esp + 8], eax
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], eax
call fcn.0040f590
mov eax, dword [esp + 0x34]
mov edi, dword [esp + 0x80]
mov dword [edi + 0x10], eax
mov eax, dword [esp + 0x30]
mov dword [edi + 0x14], eax
mov eax, dword [0x7e83b0]
test eax, eax
jne 0x448344
mov ecx, dword [esp + 0x48]
mov dword [edi + 0xc], ecx
jmp 0x4481d0
mov eax, dword [esp + 0x48]
mov ecx, edi
mov edi, dword [esp + 0x50]
call fcn.00459fb0
mov edi, ecx
jmp 0x4481d0
mov edx, dword [eax]
test edx, edx
jne 0x448363
mov edx, dword [eax + 4]
mov dword [esp + 0x20], edx
mov ebx, dword [esp + 0x24]
cmp edx, ebx
jae 0x448374
lea esi, [ebx - 1]
jmp 0x448376
mov esi, ebx
mov dword [esp + 0x44], ecx
mov dword [esp + 0x40], eax
mov dword [esp + 0x24], esi
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.004499d0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x40]
cmp byte [edx + 0x27], 3
ja 0x4483a4
xor ebx, ebx
jmp 0x4483b0
lea ebx, [edx + 0x27]
mov ebp, dword [edx + 0x1c]
lea ebx, [ebx + ebp*4 + 0xd]
mov ebx, dword [ebx]
test ebx, ebx
jne 0x4483bb
mov ebx, edx
jmp 0x448446
mov dword [esp + 0x38], ebx
mov dword [esp + 0x28], ecx
mov dword [esp + 0x3c], eax
mov dword [esp], edx
mov eax, dword [esp + 0x44]
mov dword [esp + 4], eax
mov dword [esp + 8], 2
mov ecx, dword [esp + 0x24]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], 0
mov byte [esp + 0x14], 0
call fcn.0044a080
mov eax, dword [esp + 0x18]
test eax, eax
jge 0x44840a
mov edx, dword [esp + 0x40]
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x3c]
jmp 0x448442
cmp eax, 0x100000
jae 0x448702
lea eax, [eax + eax*4]
mov ecx, dword [esp + 0x38]
mov eax, dword [ecx + eax*4 + 0xc]
mov ecx, dword [esp + 0x40]
mov dword [esp], ecx
mov edx, dword [esp + 0x44]
mov dword [esp + 4], edx
mov dword [esp + 8], eax
call fcn.00449af0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
xor edx, edx
mov ebx, dword [esp + 0x40]
mov dword [esp + 0x34], ecx
lea edi, [esp + 0x54]
mov ebp, eax
xor eax, eax
call fcn.0045a176
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x54], ecx
mov dword [esp + 0x58], edx
mov dword [esp + 0x5c], ebp
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x60], ecx
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x70], ecx
mov dword [esp + 0x74], ebx
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x78], ecx
mov ecx, dword [esp + 0x80]
mov edx, dword [ecx + 0x10]
lea ebx, [edx + 1]
mov ebp, dword [ecx + 0xc]
mov esi, ecx
mov ecx, dword [ecx + 0x14]
cmp ecx, ebx
jae 0x4484f0
lea eax, [0x4e0660]
mov dword [esp], eax
mov dword [esp + 4], ebp
mov dword [esp + 8], edx
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], ebx
call fcn.00443e90
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x80]
mov dword [ebx + 0x14], edx
mov edx, dword [0x7e83b0]
test edx, edx
jne 0x4484df
mov dword [ebx + 0xc], eax
jmp 0x4484e8
mov edi, dword [esp + 0x50]
call fcn.00459fb0
mov esi, ebx
mov edx, ecx
mov ebp, eax
xor eax, eax
lea ecx, [edx + 1]
mov dword [esi + 0x10], ecx
mov ecx, dword [0x7e83b0]
lea edx, [edx + edx*4]
lea edi, [ebp + edx*8]
test ecx, ecx
jne 0x448512
lea esi, [esp + 0x54]
call fcn.0045a62c
jmp 0x44852e
lea eax, [0x4e0660]
mov dword [esp], eax
mov dword [esp + 4], edi
lea eax, [esp + 0x54]
mov dword [esp + 8], eax
call fcn.0040f480
xor eax, eax
mov edi, dword [esp + 0x80]
jmp 0x4481d0
mov edx, dword [esp + 0x34]
test edx, edx
je 0x448592
cmp edx, 1
jne 0x44858d
mov eax, edi
lea edi, [esp + 0x84]
call fcn.0045a62c
mov ecx, dword [esp + 0x80]
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 2
mov edx, dword [0x7e83b0]
lea ebx, [ecx + 0x18]
test edx, edx
jne 0x44857f
mov dword [ecx + 0xc], ebx
jmp 0x448680
mov edi, eax
mov eax, ebx
call fcn.00459fb0
jmp 0x448680
cmp edx, 2
jmp 0x4485a0
mov byte [esp + 0xac], 0
add esp, 0x7c
ret
mov edi, ebx
jne 0x44862d
mov eax, edi
lea edi, [esp + 0x84]
call fcn.0045a62c
mov ecx, dword [esp + 0x80]
mov edx, dword [ecx + 0x10]
mov ebx, dword [ecx + 0xc]
cmp edx, 1
jbe 0x4486f6
lea edi, [ecx + 0x18]
mov edx, dword [0x7e83b0]
lea esi, [ebx + 0x28]
test edx, edx
jne 0x4485e1
call fcn.0045a62c
jmp 0x4485fb
lea eax, [0x4e0660]
mov dword [esp], eax
mov dword [esp + 4], edi
mov dword [esp + 8], esi
call fcn.0040f480
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x80]
mov dword [ecx + 0x10], 1
mov dword [ecx + 0x14], 2
mov edx, dword [0x7e83b0]
lea ebx, [ecx + 0x18]
test edx, edx
jne 0x448622
mov dword [ecx + 0xc], ebx
jmp 0x448680
mov edi, eax
mov eax, ebx
call fcn.00459fb0
jmp 0x448680
mov eax, edi
lea edi, [esp + 0x84]
call fcn.0045a62c
mov ecx, dword [esp + 0x80]
mov edx, dword [ecx + 0x10]
mov ebx, dword [ecx + 0xc]
mov ebp, dword [ecx + 0x14]
cmp edx, 1
jb 0x4486ea
dec edx
mov dword [ecx + 0x10], edx
lea edx, [ebp - 1]
mov dword [ecx + 0x14], edx
mov ebp, dword [0x7e83b0]
neg edx
sar edx, 0x1f
and edx, 0x28
add edx, ebx
test ebp, ebp
jne 0x448677
mov dword [ecx + 0xc], edx
jmp 0x448680
mov edi, eax
mov eax, edx
call fcn.00459fb0
mov eax, dword [ecx + 0x10]
mov ecx, dword [esp + 0xa4]
test ecx, ecx
je 0x4486da
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0xa8]
mov edx, dword [esp + 0x84]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov byte [esp + 0xc], 0
call fcn.00449c40
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov dword [esp + 0x94], ecx
mov dword [esp + 0x98], edx
mov dword [esp + 0x9c], eax
mov eax, dword [esp + 0x34]
test eax, eax
setg al
mov byte [esp + 0xac], al
add esp, 0x7c
ret
mov eax, 1
mov ecx, edx
call fcn.0045a090
mov eax, 1
mov ecx, edx
call fcn.0045a030
mov ecx, 0x100000
call fcn.0045a030
mov eax, edx
mov ecx, ebx
call fcn.0045a090
nop
call fcn.00458b70
jmp fcn.004481a0