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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 4]
cmp eax, dword [ecx + 8]
jbe 0x4485fa
sub esp, 0x84
lea edi, [esp + 0x8c]
xor eax, eax
call fcn.0045a036
mov ecx, dword [esp + 0x88]
jmp 0x448080
mov edx, dword [esp + 0x88]
mov ecx, edx
mov edx, dword [ecx + 0x10]
mov esi, dword [ecx + 0xc]
lea ebx, [ecx + 0xc]
mov dword [esp + 0x58], ebx
cmp edx, 2
jge 0x4485c5
mov ebp, dword [ecx + 4]
mov eax, ebx
mov ebx, dword [ecx]
mov edi, edx
mov edx, dword [ecx + 8]
test ebp, ebp
je 0x448411
mov esi, dword [ebx]
dec ebp
mov dword [ecx + 4], ebp
dec edx
mov dword [ecx + 8], edx
mov ebp, dword [0xc83da0]
neg edx
sar edx, 0x1f
and edx, 4
add edx, ebx
test ebp, ebp
jne 0x448403
mov dword [ecx], edx
mov dword [esp + 0x20], esi
mov dword [esp], esi
call fcn.004493a0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
test ecx, ecx
jne 0x448212
mov ecx, dword [0xc70540]
test ecx, ecx
je 0x448077
mov eax, dword [esp + 0x20]
mov dword [esp], eax
call fcn.00448610
mov eax, dword [esp + 0x88]
mov ecx, dword [eax + 0x10]
mov edx, dword [esp + 8]
lea ebx, [ecx + edx]
mov dword [esp + 0x38], ebx
mov ebp, dword [eax + 0xc]
mov esi, dword [eax + 0x14]
mov edi, dword [esp + 0xc]
mov eax, dword [esp + 4]
cmp ebx, esi
ja 0x4481c3
cmp ecx, ebx
ja 0x4485f0
mov dword [esp + 0x34], esi
mov dword [esp + 0x54], ebp
lea ebx, [0x815980]
mov dword [esp], ebx
sub esi, ecx
mov dword [esp + 0x30], esi
lea ecx, [ecx + ecx*4]
shl ecx, 3
xchg esi, ebx
neg ebx
xchg esi, ebx
sar esi, 0x1f
and esi, ecx
lea ecx, [ebp + esi]
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov ecx, dword [esp + 0x30]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], edi
call fcn.00410e40
mov eax, dword [esp + 0x38]
mov edi, dword [esp + 0x88]
mov dword [edi + 0x10], eax
mov eax, dword [esp + 0x34]
mov dword [edi + 0x14], eax
mov eax, dword [0xc83da0]
test eax, eax
jne 0x4481ab
mov ecx, dword [esp + 0x54]
mov dword [edi + 0xc], ecx
jmp 0x448077
mov eax, edi
mov edi, dword [esp + 0x58]
mov ecx, eax
mov eax, dword [esp + 0x54]
call fcn.00459d90
mov edi, ecx
jmp 0x448077
mov dword [esp + 0x34], edi
mov dword [esp + 0x30], ecx
mov dword [esp + 0x2c], edx
mov dword [esp + 0x50], eax
lea eax, [0x815980]
mov dword [esp], eax
mov dword [esp + 4], ebp
mov dword [esp + 8], ecx
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], ebx
call fcn.00443b60
mov ebp, dword [esp + 0x14]
mov esi, dword [esp + 0x1c]
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x38]
mov edi, dword [esp + 0x34]
jmp 0x44812b
mov edx, dword [ecx]
test edx, edx
jne 0x44821b
mov edx, dword [ecx + 4]
mov dword [esp + 0x28], edx
mov ebx, dword [esp + 0x20]
cmp ebx, edx
jbe 0x448228
dec ebx
mov dword [esp + 0x4c], eax
mov dword [esp + 0x48], ecx
mov dword [esp + 0x20], ebx
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.004499a0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x48]
cmp byte [edx + 0x23], 4
ja 0x4483ef
xor ebx, ebx
test ebx, ebx
jne 0x44835e
mov ebx, edx
mov dword [esp + 0x3c], ecx
lea edi, [esp + 0x5c]
lea esi, [0x991120]
call fcn.0045a4ec
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x60], edx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x64], ecx
mov dword [esp + 0x68], eax
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], ebx
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x80], ecx
mov ecx, dword [esp + 0x88]
mov edx, dword [ecx + 0x10]
lea ebx, [edx + 1]
mov ebp, dword [ecx + 0x14]
mov eax, ecx
mov ecx, dword [ecx + 0xc]
cmp ebx, ebp
ja 0x448307
lea ebx, [edx + 1]
mov dword [eax + 0x10], ebx
lea edx, [edx + edx*4]
lea edi, [ecx + edx*8]
mov ecx, dword [0xc83da0]
test ecx, ecx
jne 0x4482e1
lea esi, [esp + 0x5c]
call fcn.0045a4ec
jmp 0x448077
lea eax, [0x815980]
mov dword [esp], eax
mov dword [esp + 4], edi
lea eax, [esp + 0x5c]
mov dword [esp + 8], eax
call fcn.00410bc0
mov eax, dword [esp + 0x88]
jmp 0x448077
lea eax, [0x815980]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], ebx
call fcn.00443b60
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x88]
mov dword [ebx + 0x14], edx
mov edx, dword [0xc83da0]
test edx, edx
jne 0x448353
mov dword [ebx + 0xc], eax
mov edx, ecx
mov ecx, eax
mov eax, ebx
jmp 0x4482bd
mov edi, dword [esp + 0x58]
call fcn.00459d90
jmp 0x448348
mov dword [esp + 0x24], eax
mov dword [esp + 0x44], ecx
mov dword [esp + 0x40], ebx
mov dword [esp], edx
mov eax, dword [esp + 0x4c]
mov dword [esp + 4], eax
mov dword [esp + 8], 2
mov ecx, dword [esp + 0x20]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], 0
call fcn.00449ea0
mov eax, dword [esp + 0x14]
test eax, eax
jge 0x4483b5
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x24]
mov ebx, dword [esp + 0x48]
mov ebp, edx
mov edx, eax
mov eax, ebp
jmp 0x448262
cmp eax, 0x100000
jae 0x4485e6
lea eax, [eax + eax*4]
mov ecx, dword [esp + 0x40]
mov eax, dword [ecx + eax*4 + 0xc]
mov ecx, dword [esp + 0x48]
mov dword [esp], ecx
mov edx, dword [esp + 0x4c]
mov dword [esp + 4], edx
mov dword [esp + 8], eax
call fcn.00449a20
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
xor eax, eax
jmp 0x4483a6
lea ebp, [edx + 0x23]
mov ebx, ebp
mov ebp, dword [edx + 0x1c]
lea ebp, [ebx + ebp*4 + 0x11]
mov ebx, dword [ebp]
jmp 0x448258
mov edi, ecx
mov eax, edx
call fcn.00459d90
jmp 0x4480ce
test edi, edi
je 0x4485b6
cmp edi, 1
jne 0x4484cd
lea edi, [esp + 0x8c]
call fcn.0045a4ec
mov ecx, dword [esp + 0x88]
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 2
mov edx, dword [0xc83da0]
lea ebx, [ecx + 0x18]
test edx, edx
jne 0x4484c2
mov dword [ecx + 0xc], ebx
mov eax, dword [ecx + 0x10]
mov ecx, dword [esp + 0xac]
test ecx, ecx
jne 0x448474
test eax, eax
setg al
mov byte [esp + 0xb4], al
add esp, 0x84
ret
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0xb0]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov eax, dword [esp + 0x8c]
mov dword [esp + 8], eax
mov byte [esp + 0xc], 0
call fcn.00449aa0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
mov dword [esp + 0x9c], edx
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], ecx
mov eax, dword [esp + 0x38]
jmp 0x448461
mov edi, eax
mov eax, ebx
call fcn.00459d90
jmp 0x448453
cmp edi, 2
jne 0x448561
lea edi, [esp + 0x8c]
call fcn.0045a4ec
mov ecx, dword [esp + 0x88]
mov edx, dword [ecx + 0x10]
mov ebx, dword [ecx + 0xc]
cmp edx, 1
jbe 0x4485da
lea edi, [ecx + 0x18]
mov edx, dword [0xc83da0]
lea esi, [ebx + 0x28]
test edx, edx
jne 0x448545
call fcn.0045a4ec
mov ecx, dword [esp + 0x88]
mov dword [ecx + 0x10], 1
mov dword [ecx + 0x14], 2
mov edx, dword [0xc83da0]
lea ebx, [ecx + 0x18]
test edx, edx
jne 0x448537
mov dword [ecx + 0xc], ebx
jmp 0x448453
mov edi, eax
mov eax, ebx
call fcn.00459d90
jmp 0x448453
lea eax, [0x815980]
mov dword [esp], eax
mov dword [esp + 4], edi
mov dword [esp + 8], esi
call fcn.00410bc0
mov eax, dword [esp + 0x58]
jmp 0x44850d
lea edi, [esp + 0x8c]
call fcn.0045a4ec
mov ecx, dword [esp + 0x88]
mov edx, dword [ecx + 0x10]
mov ebx, dword [ecx + 0x14]
mov ebp, dword [ecx + 0xc]
cmp edx, 1
jb 0x4485ce
dec edx
mov dword [ecx + 0x10], edx
lea edx, [ebx - 1]
mov dword [ecx + 0x14], edx
mov ebx, dword [0xc83da0]
neg edx
sar edx, 0x1f
and edx, 0x28
add edx, ebp
test ebx, ebx
jne 0x4485a8
mov dword [ecx + 0xc], edx
jmp 0x448453
mov edi, eax
mov eax, edx
call fcn.00459d90
jmp 0x448453
mov byte [esp + 0xb4], 0
add esp, 0x84
ret
mov eax, ebx
mov edi, edx
jmp 0x448411
mov eax, 1
mov ecx, edx
call fcn.00459e70
mov eax, 1
mov ecx, edx
call fcn.00459e10
mov ecx, 0x100000
call fcn.00459e10
mov eax, ecx
mov ecx, ebx
call fcn.00459e70
nop
call fcn.00458550
jmp fcn.00448040