Function at 0x449500
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.00449b90
mov ebx, eax
add esp, 4
cmp ebx, ebp
jne 0x4498ae
mov eax, dword [esi + 0x44]
cmp eax, ebp
mov dword [esp + 0x64], eax
jne 0x44962f
lea eax, [esp + 0x40]
push 0x377f0682
push eax
call fcn.00446e60
lea ecx, [esp + 0x4c]
push 0x2de218
push ecx
call fcn.00446e60
mov edi, dword [esp + 0x78]
lea edx, [esp + 0x58]
push edi
push edx
call fcn.00446e60
mov eax, dword [esi + 0x68]
lea ecx, [esp + 0x64]
push eax
push ecx
call fcn.00446e60
mov eax, dword [esi + 0x68]
add esp, 0x20
cmp eax, ebp
jne 0x44958a
lea edx, [esi + 0x54]
push edx
push 8
call fcn.00441670
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.004498c0
mov ecx, dword [esp + 0x28]
lea edx, [esp + 0x6c]
push ecx
push edx
call fcn.00446e60
mov eax, dword [esp + 0x34]
lea ecx, [esp + 0x78]
push eax
push ecx
call fcn.00446e60
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.00445b80
mov ebx, eax
add esp, 0x38
cmp ebx, ebp
jne 0x4498ae
mov al, byte [esi + 0x30]
test al, al
je 0x449633
mov eax, dword [esp + 0x78]
cmp eax, ebp
je 0x449633
and eax, 0x13
push eax
mov eax, dword [esi + 8]
push eax
call fcn.00446790
mov ebx, eax
add esp, 8
cmp ebx, ebp
je 0x449633
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.004b0480
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 0x4496e1
jmp 0x449687
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 0x4496a5
mov ecx, dword [eax + 0xc]
test ecx, ecx
jne 0x4496a5
mov ecx, dword [esp + 0x70]
jmp 0x4496a7
xor ecx, ecx
push edi
push ebp
push ecx
lea ecx, [esp + 0x34]
push eax
push ecx
call fcn.0044a550
mov ebx, eax
add esp, 0x14
test ebx, ebx
jne 0x4498ae
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 0x449683
mov eax, dword [esp + 0x74]
test eax, eax
je 0x449814
mov eax, dword [esp + 0x78]
test al, 0x20
je 0x4497b2
mov cl, byte [esi + 0x31]
test cl, cl
je 0x44979f
mov eax, dword [esi + 8]
push eax
call fcn.004489e0
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.004b1440
mov ecx, dword [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x18]
push ecx
push edx
push eax
call fcn.004b0480
cmp edi, edx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], edx
jg 0x4497b2
jl 0x449755
cmp ebp, eax
jae 0x4497b2
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.0044a550
mov ebx, eax
add esp, 0x14
test ebx, ebx
jne 0x4498ae
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 0x449755
jg 0x4497b2
cmp ebp, dword [esp + 0x30]
jb 0x449755
jmp 0x4497b2
and eax, 0x13
push eax
mov eax, dword [esp + 0x30]
push eax
call fcn.00446790
add esp, 8
mov ebx, eax
mov al, byte [esi + 0x2f]
test al, al
je 0x449814
mov edi, dword [esi + 0x14]
mov ebp, dword [esi + 0x10]
test edi, edi
jl 0x449814
jg 0x4497c9
test ebp, ebp
jb 0x449814
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.004b0480
add eax, 0x20
adc edx, 0
cmp edx, edi
jl 0x4497fd
jg 0x449805
cmp eax, ebp
ja 0x449805
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
push edx
push eax
push esi
call fcn.00449b20
add esp, 0xc
mov byte [esi + 0x2f], 0
mov ebp, dword [esp + 0x6c]
mov edi, dword [esi + 0x44]
test ebp, ebp
je 0x44983f
test ebx, ebx
jne 0x4498ae
mov eax, dword [ebp + 0x14]
inc edi
push eax
push edi
push esi
call fcn.00449a20
mov ebp, dword [ebp + 0xc]
add esp, 0xc
test ebp, ebp
mov ebx, eax
jne 0x44981f
test ebx, ebx
jne 0x4498ae
mov eax, dword [esp + 0x10]
test eax, eax
jle 0x449871
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.00449a20
mov ebx, eax
add esp, 0xc
test ebx, ebx
je 0x449843
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x50
ret
test ebx, ebx
jne 0x4498ae
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 0x4498ae
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.00449990
add esp, 4
mov dword [esi + 0xc], edi
pop edi
pop esi
mov eax, ebx
pop ebp
pop ebx
add esp, 0x50
ret