Function at 0x44e410
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4fa15f
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x100
mov eax, dword [0x534090]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10c], ecx
mov edi, dword [ebx + 8]
xor eax, eax
mov dword [ebp - 0x100], eax
mov dword [ebp - 0x104], eax
test edi, edi
je 0x44ebc1
movzx eax, word [edi]
test ax, ax
je 0x44ebc1
mov dword [ebp - 0x80], 0
xor ecx, ecx
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x6c], 7
mov word [ebp - 0x80], cx
mov dword [ebp - 4], 1
cmp eax, 0x5c
jne 0x44e501
cmp word [edi + 2], ax
je 0x44e501
push edi
lea eax, [ebp - 0xb0]
push eax
call fcn.0044fb60
push eax
lea ecx, [ebp - 0x80]
call fcn.00439500
mov edx, dword [ebp - 0x9c]
cmp edx, 8
jb 0x44e51f
mov ecx, dword [ebp - 0xb0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x44e4f5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44ebe3
push edx
push ecx
call fcn.004cb66f
add esp, 8
jmp 0x44e51f
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x44e506
sub ecx, edx
sar ecx, 1
push ecx
push edi
lea ecx, [ebp - 0x80]
call fcn.0043add0
call fcn.00433fc0
mov eax, dword [eax]
cmp dword [eax], 0
je 0x44e6b8
cmp dword [ebp - 0x6c], 8
lea esi, [ebp - 0x80]
lea edx, [ebp - 0x68]
mov dword [ebp - 0x68], 0x80728054
cmovae esi, dword [ebp - 0x80]
lea ecx, [ebp - 0xb0]
xor eax, eax
mov dword [ebp - 0x64], 0x80698079
mov dword [ebp - 0x60], 0x8067806e
mov dword [ebp - 0x5c], 0x80748020
mov dword [ebp - 0x58], 0x8020806f
mov dword [ebp - 0x54], 0x80728061
mov dword [ebp - 0x50], 0x80688063
mov dword [ebp - 0x4c], 0x80768069
mov dword [ebp - 0x48], 0x80208065
mov dword [ebp - 0x44], 0x80698066
mov dword [ebp - 0x40], 0x8065806c
mov dword [ebp - 0x3c], 0x805b8020
mov dword [ebp - 0x38], 0x807d807b
mov dword [ebp - 0x34], 0x8020805d
mov dword [ebp - 0x30], 0x803e802d
mov dword [ebp - 0x2c], 0x805b8020
mov dword [ebp - 0x28], 0x807d807b
mov dword [ebp - 0x24], 0x8000805d
mov word [ebp - 0x20], ax
call fcn.00416fb0
mov byte [ebp - 4], 2
lea edx, [ebp - 0xb0]
cmp dword [ebp - 0x9c], 8
mov eax, dword [ebp - 0x10c]
cmovae edx, dword [ebp - 0xb0]
mov ecx, edx
mov dword [ebp - 0xf4], eax
mov eax, dword [ebp - 0x10c]
mov dword [ebp - 0xf0], esi
mov dword [ebp - 0x104], 9
mov dword [ebp - 0xf8], edi
lea esi, [ecx + 2]
mov dword [ebp - 0xec], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x44e617
sub ecx, esi
sub esp, 0x10
mov eax, esp
sar ecx, 1
lea esi, [ebp - 0xf8]
push ecx
push edx
lea ecx, [ebp - 0xc8]
mov dword [eax], 0xcc
mov dword [eax + 4], 0
mov dword [eax + 8], esi
call fcn.0041d9e0
add esp, 0x18
lea eax, [ebp - 0xc8]
mov dword [ebp - 4], 3
push eax
lea ecx, [ebp - 0x98]
mov dword [ebp - 0x104], 0x1b
call fcn.0043a3c0
mov dword [ebp - 4], 4
lea esi, [ebp - 0x98]
cmp dword [ebp - 0x84], 8
mov eax, 0x3f
mov dword [ebp - 0x100], eax
cmovae esi, dword [ebp - 0x98]
mov dword [ebp - 0x104], eax
call fcn.00433fc0
push esi
push 0
push str._BDREINIT__::_CArchiveMgr::AddFileToArchiveByPath____
push 0
push eax
call fcn.00436d10
add esp, 0x14
mov dword [ebp - 4], 3
mov eax, dword [ebp - 0x100]
test al, 4
je 0x44e735
mov edx, dword [ebp - 0x84]
and eax, 0xfffffffb
mov dword [ebp - 0x100], eax
cmp edx, 8
jb 0x44e718
mov ecx, dword [ebp - 0x98]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x44e708
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44ebe8
push edx
push ecx
call fcn.004cb66f
mov eax, dword [ebp - 0x100]
add esp, 8
xor ecx, ecx
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x84], 7
mov word [ebp - 0x98], cx
mov dword [ebp - 4], 2
test al, 2
je 0x44e7ac
mov edx, dword [ebp - 0xb4]
and eax, 0xfffffffd
mov dword [ebp - 0x100], eax
cmp edx, 8
jb 0x44e78f
mov ecx, dword [ebp - 0xc8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x44e77f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44ebe8
push edx
push ecx
call fcn.004cb66f
mov eax, dword [ebp - 0x100]
add esp, 8
xor ecx, ecx
mov dword [ebp - 0xb8], 0
mov dword [ebp - 0xb4], 7
mov word [ebp - 0xc8], cx
mov dword [ebp - 4], 1
test al, 1
je 0x44e7f7
mov edx, dword [ebp - 0x9c]
cmp edx, 8
jb 0x44e7f7
mov ecx, dword [ebp - 0xb0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x44e7ed
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44ebe8
push edx
push ecx
call fcn.004cb66f
add esp, 8
cmp dword [ebp - 0x70], 0
je 0x44eb7c
cmp dword [ebp - 0x6c], 8
lea eax, [ebp - 0x80]
cmovae eax, dword [ebp - 0x80]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x44e96a
test al, 0x10
jne 0x44e96a
mov word [ebp - 0xe8], 1
mov dword [ebp - 0xe4], 0
xor eax, eax
mov dword [ebp - 0xd4], 0
mov dword [ebp - 0xd0], 7
mov word [ebp - 0xe4], ax
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x80]
cmp dword [ebp - 0x6c], 8
mov eax, dword [ebp - 0x70]
cmovae ecx, dword [ebp - 0x80]
mov dword [ebp - 0x104], eax
mov dword [ebp - 0x100], ecx
cmp eax, 7
ja 0x44e89d
lea esi, [eax + eax]
mov dword [ebp - 0xd4], eax
push esi
push ecx
lea eax, [ebp - 0xe4]
push eax
call fcn.004cd290
add esp, 0xc
xor eax, eax
mov word [ebp + esi - 0xe4], ax
jmp 0x44e908
cmp eax, 0x7ffffffe
ja 0x44ebed
mov esi, eax
or esi, 7
cmp esi, 0x7ffffffe
jbe 0x44e8bc
mov esi, SysReAllocString
jmp 0x44e8c6
mov eax, 0xa
cmp esi, eax
cmovb esi, eax
lea eax, [esi + 1]
push eax
lea ecx, [ebp - 0xe4]
call fcn.0043ad40
mov edi, eax
mov dword [ebp - 0xd0], esi
mov eax, dword [ebp - 0x104]
mov dword [ebp - 0xd4], eax
lea esi, [eax + eax]
push esi
push dword [ebp - 0x100]
push edi
call fcn.004cd290
add esp, 0xc
mov dword [ebp - 0xe4], edi
xor eax, eax
mov word [edi + esi], ax
mov ecx, dword [ebp - 0x10c]
lea eax, [ebp - 0xe8]
push eax
call fcn.00450490
mov edx, dword [ebp - 0xd0]
mov byte [ebp - 0xf9], 1
cmp edx, 8
jb 0x44eb83
mov ecx, dword [ebp - 0xe4]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x44e95b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44ebf7
push edx
push ecx
call fcn.004cb66f
add esp, 8
jmp 0x44eb83
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea edx, [ebp - 0x68]
mov dword [ebp - 0x10c], eax
lea ecx, [ebp - 0xc8]
mov dword [ebp - 0x68], 0x80728045
mov dword [ebp - 0x64], 0x806f8072
mov dword [ebp - 0x60], 0x80208072
mov dword [ebp - 0x5c], 0x80618063
mov dword [ebp - 0x58], 0x806c806c
mov dword [ebp - 0x54], 0x806e8069
mov dword [ebp - 0x50], 0x80208067
mov dword [ebp - 0x4c], 0x80658047
mov dword [ebp - 0x48], 0x80468074
mov dword [ebp - 0x44], 0x806c8069
mov dword [ebp - 0x40], 0x80418065
mov dword [ebp - 0x3c], 0x80748074
mov dword [ebp - 0x38], 0x80698072
mov dword [ebp - 0x34], 0x80758062
mov dword [ebp - 0x30], 0x80658074
mov dword [ebp - 0x2c], 0x80578073
mov dword [ebp - 0x28], 0x8020803a
mov dword [ebp - 0x24], 0x807d807b
mov dword [ebp - 0x20], 0x8000
call fcn.00416fb0
mov byte [ebp - 4], 5
lea eax, [ebp - 0xc8]
cmp dword [ebp - 0xb4], 8
lea edx, [ebp - 0x104]
lea ecx, [ebp - 0xb0]
cmovae eax, dword [ebp - 0xc8]
mov dword [ebp - 0x104], eax
lea eax, [ebp - 0x10c]
push eax
call fcn.00417e30
add esp, 4
push eax
lea ecx, [ebp - 0x98]
mov byte [ebp - 4], 6
call fcn.0043a3c0
mov byte [ebp - 4], 7
lea esi, [ebp - 0x98]
cmp dword [ebp - 0x84], 8
cmovae esi, dword [ebp - 0x98]
call fcn.00433fc0
push esi
push 0
push str._BDREINIT__::_CArchiveMgr::AddFileToArchiveByPath____
push 8
push eax
call fcn.00436d10
mov edx, dword [ebp - 0x84]
add esp, 0x14
cmp edx, 8
jb 0x44eac2
mov ecx, dword [ebp - 0x98]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x44eab8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44ebf2
push edx
push ecx
call fcn.004cb66f
add esp, 8
mov edx, dword [ebp - 0x9c]
xor eax, eax
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x84], 7
mov word [ebp - 0x98], ax
cmp edx, 8
jb 0x44eb1f
mov ecx, dword [ebp - 0xb0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x44eb15
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44ebf2
push edx
push ecx
call fcn.004cb66f
add esp, 8
mov edx, dword [ebp - 0xb4]
xor eax, eax
mov dword [ebp - 0xa0], 0
mov dword [ebp - 0x9c], 7
mov word [ebp - 0xb0], ax
cmp edx, 8
jb 0x44eb7c
mov ecx, dword [ebp - 0xc8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x44eb72
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44ebf2
push edx
push ecx
call fcn.004cb66f
add esp, 8
mov byte [ebp - 0xf9], 0
mov edx, dword [ebp - 0x6c]
cmp edx, 8
jb 0x44ebb9
mov ecx, dword [ebp - 0x80]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x44ebaf
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44ebf7
push edx
push ecx
call fcn.004cb66f
add esp, 8
mov al, byte [ebp - 0xf9]
jmp 0x44ebc3
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004cb63e
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4
call fcn.004d05ef
call fcn.004d05ef
call fcn.0043abf0
call fcn.004d05ef
call fcn.004d05ef
int3