Function at 0x44e220
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5dcc98
mov eax, dword fs:[0]
push eax
sub esp, 0x48
push ebx
push esi
push edi
mov eax, dword [0x66c0e0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov ecx, dword [esi]
xor ebx, ebx
push 3
mov dword [ebp - 0x1c], ebx
call fcn.00441dc0
mov edx, dword [ebp + 0xc]
mov dword [edx + 4], ebx
cmp dword [esi + 0x10], ebx
jne 0x44e278
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [esi + 0x20]
mov edi, dword [esi + 0x10]
add esi, 4
cmp ecx, edi
jge 0x44e264
cmp ecx, ebx
jl 0x44e264
mov eax, dword [esi + 4]
je 0x44e295
mov edi, edi
dec ecx
mov eax, dword [eax]
jne 0x44e290
cmp eax, ebx
je 0x44e264
add eax, 8
mov dword [ebp - 0x14], eax
mov eax, dword [edx]
push eax
push esi
mov dword [ebp - 0x18], ebx
call fcn.0044df30
mov ecx, eax
add esp, 8
mov dword [ebp - 0x10], ecx
cmp ecx, edi
jge 0x44e2c7
cmp ecx, ebx
jl 0x44e2c7
mov eax, dword [esi + 4]
je 0x44e2c9
dec ecx
mov eax, dword [eax]
jne 0x44e2c0
jmp 0x44e2c9
xor eax, eax
cmp eax, ebx
je 0x44e690
jmp 0x44e2d6
mov eax, dword [ebp - 0x20]
cmp dword [ebp - 0x1c], 2
jge 0x44e690
mov ecx, dword [eax]
lea edi, [eax + 8]
mov eax, dword [edi + 8]
sub eax, 2
mov dword [ebp - 0x20], ecx
je 0x44e5e9
dec eax
je 0x44e54c
dec eax
jne 0x44e684
mov eax, dword [edx + 4]
cmp dword [ebp - 0x18], eax
je 0x44e355
cmp word [edi + 0xc], bx
je 0x44e684
imul eax, eax, 0x13c
lea esi, [eax + edx + 8]
mov eax, dword [ebp - 0x10]
mov dword [esi + 0x110], eax
mov dword [esi + 0x114], eax
mov dword [esi + 0x118], eax
mov eax, dword [ebp - 0x14]
cmp dword [eax + 8], 4
jne 0x44e34a
cmp eax, edi
jne 0x44e34a
mov dword [esi + 0xe4], 1
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp + 0xc]
mov dword [eax + 4], edx
jmp 0x44e39c
cmp word [edi + 0xc], bx
je 0x44e684
mov ecx, dword [ebp - 0x10]
imul eax, eax, 0x13c
lea esi, [eax + edx - 0x134]
mov edx, dword [ebp - 0x14]
mov dword [esi + 0x118], ecx
cmp dword [edx + 8], 4
jne 0x44e681
cmp edx, edi
jne 0x44e681
mov eax, ecx
mov dword [esi + 0x110], eax
mov dword [esi + 0xe4], 1
mov ecx, dword [edi + 0x15c]
push ecx
mov ecx, esi
call fcn.0044e9b0
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov ecx, dword [eax + 0x44]
mov edx, dword [esi + 0xc]
mov eax, dword [esi + 8]
push ecx
push edx
push eax
push edi
lea ecx, [esi + 0x10]
call fcn.0042dfa0
cmp eax, 2
jne 0x44e3f5
xor ecx, ecx
mov word [esi + 0x60], cx
push ebx
lea ecx, [esi + 0xf4]
mov dword [esi + 0x64], ebx
mov dword [esi + 0xf0], ebx
call fcn.004a7b80
mov dword [esi + 0xf8], ebx
mov dword [esi + 0x104], ebx
jmp 0x44e4b7
cmp eax, 3
jne 0x44e43e
xor edx, edx
push 0xfa
lea ecx, [esi + 0xf4]
mov word [esi + 0x60], dx
mov dword [esi + 0x64], ebx
mov dword [esi + 0xf0], ebx
call fcn.004a7b80
movzx eax, word [edi + 0x12]
mov ecx, dword [ebp + 8]
mov dword [esi + 0xf8], eax
mov edx, dword [ecx]
mov eax, dword [edx + 0x48]
push eax
push esi
call fcn.004055b0
mov dword [esi + 0xfc], 1
jmp 0x44e4ae
cmp eax, 4
jne 0x44e470
xor ecx, ecx
mov word [esi + 0x60], cx
push 0x64
lea ecx, [esi + 0xf4]
mov dword [esi + 0x64], ebx
mov dword [esi + 0xf0], ebx
call fcn.004a7b80
mov edx, dword [ebp + 8]
mov dword [esi + 0xf8], ebx
mov eax, dword [edx]
mov ecx, dword [eax + 0x48]
push ecx
jmp 0x44e42c
mov dx, word [edi + 0xe]
mov word [esi + 0x60], dx
mov dword [esi + 0x64], ebx
movzx eax, word [edi + 0x10]
mov dword [esi + 0xf0], eax
lea eax, [eax + eax*4 + 0xa]
push eax
lea ecx, [esi + 0xf4]
call fcn.004a7b80
movzx ecx, word [edi + 0x12]
mov edx, dword [ebp + 8]
mov dword [esi + 0xf8], ecx
mov eax, dword [edx]
mov ecx, dword [eax + 0x48]
push ecx
push esi
call fcn.004055b0
add esp, 8
mov dword [esi + 0x104], eax
mov eax, dword [esi + 0x100]
mov dl, al
and dl, 3
movzx ecx, dl
push ecx
mov edx, eax
sar edx, 2
and dl, 3
movzx ecx, dl
push ecx
mov edx, eax
sar edx, 7
and dl, 1
movzx ecx, dl
push ecx
mov edx, eax
sar edx, 4
and dl, 7
movzx ecx, dl
push ecx
mov edx, eax
and dl, 4
movsx ecx, dl
neg ecx
sbb ecx, ecx
and al, 8
movsx edx, al
movzx eax, word [esi + 0xc]
and ecx, 0xff00
neg edx
push ecx
movzx ecx, word [esi + 8]
sbb edx, edx
and edx, 0xff000100
add edx, 0xffffff
push edx
movzx edx, word [esi + 4]
push eax
movzx eax, word [esi]
push ecx
mov ecx, dword [ebp + 8]
push edx
mov byte [esi + 0x108], bl
mov edx, dword [ecx]
push eax
push edx
lea ecx, [esi + 0x11c]
call fcn.00416210
mov dword [esi + 0xec], 1
jmp 0x44e681
mov esi, dword [edx + 4]
mov eax, esi
imul eax, eax, 0x13c
lea ecx, [eax + edx + 8]
movsx edx, word [edi + 0xc]
mov dword [ecx], edx
movsx eax, word [edi + 0xe]
mov dword [ecx + 4], eax
movzx edx, word [edi + 0x10]
mov dword [ecx + 8], edx
movzx eax, word [edi + 0x12]
mov dword [ecx + 0xc], eax
movzx edx, byte [edi + 0x14]
mov dword [ecx + 0xfc], edx
movzx eax, byte [edi + 0x15]
mov edx, dword [ebp - 0x14]
mov dword [ecx + 0x100], eax
or eax, 0xffffffff
mov dword [ecx + 0x110], eax
mov dword [ecx + 0x114], eax
mov dword [ecx + 0x118], eax
mov eax, dword [edx + 8]
mov edx, dword [ecx + 0xc]
sub eax, 4
neg eax
sbb eax, eax
and eax, 2
mov dword [ecx + 0xe4], eax
mov eax, dword [ecx + 8]
push edx
push eax
mov dword [ecx + 0xe8], ebx
mov dword [ecx + 0xf0], ebx
mov dword [ecx + 0xf8], ebx
mov dword [ecx + 0x104], ebx
mov byte [ecx + 0x108], bl
call fcn.0044ec20
inc esi
mov dword [ebp - 0x18], esi
jmp 0x44e681
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp eax, 1
jg 0x44e687
cmp dword [edx + 0xc64], ebx
je 0x44e60f
lea ecx, [edx + 0xc60]
call fcn.00404b80
mov edx, dword [ebp + 0xc]
cmp byte [edi + 0x4d], bl
lea esi, [edi + 0x4d]
je 0x44e684
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x44e681
lea ecx, [ebp - 0x54]
call fcn.004048d0
push esi
lea ecx, [ebp - 0x54]
mov dword [ebp - 4], ebx
call fcn.00422230
test eax, eax
jne 0x44e672
mov ecx, dword [ebp + 8]
mov eax, dword [ecx]
mov ecx, dword [eax + 0x3c]
mov esi, dword [ebp + 0xc]
mov eax, dword [eax + 0x38]
push ebx
push ebx
push ebx
push 0x18
push ecx
add esi, 0xc60
push eax
mov ecx, esi
call fcn.00404d90
movzx edx, word [edi + 0x152]
push ebx
push edx
lea eax, [ebp - 0x54]
push eax
push esi
call fcn.004278b0
add esp, 0x10
lea ecx, [ebp - 0x54]
mov dword [ebp - 4], 0xffffffff
call fcn.00404d00
mov edx, dword [ebp + 0xc]
inc dword [ebp - 0x10]
cmp dword [ebp - 0x20], ebx
jne 0x44e2d3
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret