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

Disassembly:
sub esp, 0x50
push ebx
push ebp
push esi
mov esi, dword [esp + 0x60]
push edi
xor ebp, ebp
push esi
mov dword [esp + 0x20], ebp
mov dword [esp + 0x14], ebp
call fcn.00449ad0
mov ebx, eax
add esp, 4
cmp ebx, ebp
jne 0x4497ee
mov eax, dword [esi + 0x44]
cmp eax, ebp
mov dword [esp + 0x64], eax
jne 0x44956f
lea eax, [esp + 0x40]
push 0x377f0682
push eax
call fcn.00446da0
lea ecx, [esp + 0x4c]
push 0x2de218
push ecx
call fcn.00446da0
mov edi, dword [esp + 0x78]
lea edx, [esp + 0x58]
push edi
push edx
call fcn.00446da0
mov eax, dword [esi + 0x68]
lea ecx, [esp + 0x64]
push eax
push ecx
call fcn.00446da0
mov eax, dword [esi + 0x68]
add esp, 0x20
cmp eax, ebp
jne 0x4494ca
lea edx, [esi + 0x54]
push edx
push 8
call fcn.004415b0
add esp, 8
mov eax, dword [esi + 0x54]
mov ecx, dword [esi + 0x58]
lea edx, [esp + 0x14]
mov dword [esp + 0x50], eax
push edx
push ebp
lea eax, [esp + 0x48]
push 0x18
push eax
push 1
mov dword [esp + 0x68], ecx
call fcn.00449800
mov ecx, dword [esp + 0x28]
lea edx, [esp + 0x6c]
push ecx
push edx
call fcn.00446da0
mov eax, dword [esp + 0x34]
lea ecx, [esp + 0x78]
push eax
push ecx
call fcn.00446da0
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x3c]
push ebp
mov dword [esi + 0x4c], edx
mov edx, dword [esi + 8]
push ebp
lea ecx, [esp + 0x6c]
push 0x20
push ecx
push edx
mov dword [esi + 0x24], edi
mov byte [esi + 0x41], 0
mov dword [esi + 0x50], eax
mov byte [esi + 0x2f], 1
call fcn.00445ac0
mov ebx, eax
add esp, 0x38
cmp ebx, ebp
jne 0x4497ee
mov al, byte [esi + 0x30]
test al, al
je 0x449573
mov eax, dword [esp + 0x78]
cmp eax, ebp
je 0x449573
and eax, 0x13
push eax
mov eax, dword [esi + 8]
push eax
call fcn.004466d0
mov ebx, eax
add esp, 8
cmp ebx, ebp
je 0x449573
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x50
ret
mov edi, dword [esp + 0x68]
mov edx, dword [esp + 0x78]
mov ecx, dword [esi + 8]
lea eax, [edi + 0x18]
mov dword [esp + 0x38], edx
cdq
push edx
mov dword [esp + 0x24], eax
push eax
mov eax, dword [esp + 0x6c]
push ebp
push eax
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x40], ebp
mov dword [esp + 0x44], ebp
mov dword [esp + 0x4c], edi
mov dword [esp + 0x34], edx
call fcn.004b05e0
mov ebp, eax
mov eax, dword [esp + 0x6c]
mov edi, edx
add ebp, 0x20
adc edi, 0
mov dword [esp + 0x14], eax
test eax, eax
je 0x449621
jmp 0x4495c7
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x64]
mov ecx, dword [esp + 0x74]
inc edx
test ecx, ecx
mov dword [esp + 0x64], edx
je 0x4495e5
mov ecx, dword [eax + 0xc]
test ecx, ecx
jne 0x4495e5
mov ecx, dword [esp + 0x70]
jmp 0x4495e7
xor ecx, ecx
push edi
push ebp
push ecx
lea ecx, [esp + 0x34]
push eax
push ecx
call fcn.0044a490
mov ebx, eax
add esp, 0x14
test ebx, ebx
jne 0x4497ee
mov edx, dword [esp + 0x68]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x1c], ecx
lea eax, [edx + 0x18]
cdq
add ebp, eax
mov eax, dword [ecx + 0xc]
adc edi, edx
mov dword [esp + 0x14], eax
test eax, eax
jne 0x4495c3
mov eax, dword [esp + 0x74]
test eax, eax
je 0x449754
mov eax, dword [esp + 0x78]
test al, 0x20
je 0x4496f2
mov cl, byte [esi + 0x31]
test cl, cl
je 0x4496df
mov eax, dword [esi + 8]
push eax
call fcn.00448920
cdq
add esp, 4
mov dword [esp + 0x14], eax
add eax, ebp
mov ecx, edx
adc ecx, edi
mov dword [esp + 0x18], edx
sub eax, 1
push edx
mov edx, dword [esp + 0x18]
sbb ecx, 0
push edx
push ecx
push eax
call fcn.004b15a0
mov ecx, dword [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x18]
push ecx
push edx
push eax
call fcn.004b05e0
cmp edi, edx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], edx
jg 0x4496f2
jl 0x449695
cmp ebp, eax
jae 0x4496f2
mov edx, dword [esp + 0x70]
mov eax, dword [esp + 0x1c]
push edi
push ebp
push edx
lea ecx, [esp + 0x34]
push eax
push ecx
call fcn.0044a490
mov ebx, eax
add esp, 0x14
test ebx, ebx
jne 0x4497ee
mov edx, dword [esp + 0x68]
mov ecx, dword [esp + 0x10]
lea eax, [edx + 0x18]
cdq
add ebp, eax
mov eax, dword [esp + 0x34]
adc edi, edx
inc ecx
cmp edi, eax
mov dword [esp + 0x10], ecx
jl 0x449695
jg 0x4496f2
cmp ebp, dword [esp + 0x30]
jb 0x449695
jmp 0x4496f2
and eax, 0x13
push eax
mov eax, dword [esp + 0x30]
push eax
call fcn.004466d0
add esp, 8
mov ebx, eax
mov al, byte [esi + 0x2f]
test al, al
je 0x449754
mov edi, dword [esi + 0x14]
mov ebp, dword [esi + 0x10]
test edi, edi
jl 0x449754
jg 0x449709
test ebp, ebp
jb 0x449754
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x24]
add ecx, edx
mov edx, dword [esp + 0x20]
push eax
push edx
push 0
push ecx
mov dword [esp + 0x24], ebp
mov dword [esp + 0x28], edi
call fcn.004b05e0
add eax, 0x20
adc edx, 0
cmp edx, edi
jl 0x44973d
jg 0x449745
cmp eax, ebp
ja 0x449745
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
push edx
push eax
push esi
call fcn.00449a60
add esp, 0xc
mov byte [esi + 0x2f], 0
mov ebp, dword [esp + 0x6c]
mov edi, dword [esi + 0x44]
test ebp, ebp
je 0x44977f
test ebx, ebx
jne 0x4497ee
mov eax, dword [ebp + 0x14]
inc edi
push eax
push edi
push esi
call fcn.00449960
mov ebp, dword [ebp + 0xc]
add esp, 0xc
test ebp, ebp
mov ebx, eax
jne 0x44975f
test ebx, ebx
jne 0x4497ee
mov eax, dword [esp + 0x10]
test eax, eax
jle 0x4497b1
mov ecx, dword [esp + 0x1c]
inc edi
dec eax
mov edx, dword [ecx + 0x14]
mov dword [esp + 0x10], eax
push edx
push edi
push esi
call fcn.00449960
mov ebx, eax
add esp, 0xc
test ebx, ebx
je 0x449783
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x50
ret
test ebx, ebx
jne 0x4497ee
mov eax, dword [esp + 0x68]
mov dword [esi + 0x44], edi
mov ecx, eax
and eax, 0xff00
sar ecx, 0x10
or ecx, eax
mov eax, dword [esp + 0x74]
test eax, eax
mov word [esi + 0x42], cx
je 0x4497ee
mov edx, dword [esi + 0x3c]
push esi
inc edx
mov dword [esi + 0x3c], edx
mov edx, dword [esp + 0x74]
mov dword [esi + 0x48], edx
call fcn.004498d0
add esp, 4
mov dword [esi + 0xc], edi
pop edi
pop esi
mov eax, ebx
pop ebp
pop ebx
add esp, 0x50
ret