Function at 0x44c8a7
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
push ebx
push esi
push edi
push 1
pop esi
xor edi, edi
push 4
mov ebx, ecx
pop eax
mov dword [ebp - 4], esi
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 0xc]
cmp dword [eax - 8], edi
jne 0x44c8ce
mov dword [ebp - 4], edi
mov eax, dword [ebp + 0x14]
cmp dword [eax - 8], edi
je 0x44c8eb
push ecx
lea eax, [ebp + 0x14]
mov ecx, esp
push eax
call fcn.004038b5
call fcn.0044aca7
pop ecx
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0x10]
cmp dword [eax - 8], edi
je 0x44c908
push ecx
lea eax, [ebp + 0x10]
mov ecx, esp
push eax
call fcn.004038b5
call fcn.0044aca7
pop ecx
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x28]
cmp dword [ebp - 4], edi
mov dword [ebx + 0x18c], eax
mov eax, dword [ebp - 0x24]
mov dword [ebx + 0x188], esi
mov dword [ebx + 0x190], eax
je 0x44c985
push edi
lea ecx, [ebp - 0x20]
push dword [ebp + 0xc]
call fcn.004899c9
push edi
push esi
push edi
push ecx
push ecx
lea eax, [ebp - 0x20]
mov ecx, esp
push eax
call fcn.00417128
mov ecx, ebx
call fcn.004501d2
cmp dword [ebx + 0x3c], edi
je 0x44c97d
mov eax, dword [ebp + 0x28]
cmp dword [eax - 8], edi
je 0x44c97d
push edi
push eax
lea ecx, [ebp - 0x28]
call fcn.004899c9
mov eax, dword [ebx + 0x3c]
push 0x19
lea ecx, [ebp - 0x28]
mov esi, dword [eax]
call fcn.00489bfc
push eax
push dword [ebx + 0x3c]
call dword [esi + 0x38]
lea ecx, [ebp - 0x28]
call fcn.004893ad
lea ecx, [ebp - 0x20]
jmp 0x44ccc1
mov eax, dword [ebp + 8]
cmp dword [eax - 8], edi
jne 0x44c994
xor esi, esi
jmp 0x44cc0a
lea ecx, [ebp - 0x28]
call fcn.004893c1
push ecx
mov ecx, esp
push str._22_
call fcn.00403927
push ecx
lea eax, [ebp + 8]
mov ecx, esp
push eax
call fcn.004038b5
mov ecx, dword [ebx + 0xdc]
lea eax, [ebp - 0x28]
push eax
call fcn.0047312b
test eax, eax
je 0x44ccbe
cmp dword [ebp - 0x24], edi
je 0x44ccbe
lea eax, [ebp - 0xc]
lea ecx, [ebp - 0x28]
push eax
call fcn.00489a02
push dword [eax]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
lea ecx, [ebp - 0xc]
mov dword [ebp - 4], eax
call fcn.004038fb
test byte [ebp - 4], 0x10
je 0x44ca04
cmp dword [ebp - 4], 0xffffffff
jne 0x44cae8
lea esi, [ebp - 0x28]
lea eax, [ebp - 0x24]
neg esi
sbb esi, esi
lea ecx, [ebp - 4]
and esi, eax
push dword [esi]
call fcn.004117e9
mov eax, dword [ebp - 4]
cmp eax, edi
jne 0x44cab0
push ecx
push ecx
mov eax, esp
push esi
mov dword [ebp - 8], eax
lea ecx, [eax + 4]
call fcn.004042a3
mov eax, dword [ebp - 8]
mov ecx, ebx
mov dword [eax], 0x4a9988
call fcn.0044cdb0
push 0x4afdf8
lea ecx, [ebp - 8]
call fcn.00403927
lea eax, [ebp - 0x1c]
push 0x86
push eax
call fcn.00461337
pop ecx
mov esi, esp
push eax
lea eax, [ebp - 8]
lea ecx, [ebp - 0x28]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.00489a02
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.00403b20
push eax
push esi
call fcn.00403b20
mov ecx, dword [ebx + 0xdc]
call fcn.00475d80
lea ecx, [ebp - 0x10]
call fcn.004038fb
lea ecx, [ebp - 0x18]
call fcn.004038fb
lea ecx, [ebp - 0x1c]
call fcn.004038fb
lea ecx, [ebp - 8]
jmp 0x44cc9f
lea edx, [ebp - 0xc]
mov dword [ebp - 0xc], edi
mov ecx, dword [eax]
push edx
push 0xe0
push edi
push eax
call dword [ecx + 0x10]
test eax, eax
jl 0x44cc19
mov eax, dword [ebp - 0xc]
cmp eax, edi
je 0x44cad8
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 4]
cmp eax, edi
je 0x44cae5
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push 1
pop esi
mov eax, dword [0x4b7230]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0x18]
cmp dword [eax - 8], edi
je 0x44cb34
mov eax, dword [ebp + 0x1c]
cmp dword [eax - 8], edi
je 0x44cb34
push ecx
lea eax, [ebp + 0x1c]
mov ecx, esp
push eax
call fcn.004038b5
push ecx
push ecx
lea eax, [ebp - 0x28]
mov ecx, esp
push eax
call fcn.00417128
lea eax, [ebp + 0x18]
mov ecx, ebx
push eax
call fcn.00459672
test eax, eax
je 0x44cb34
mov dword [ebx + 0xbc], esi
mov dword [0x4b7230], esi
push esi
push esi
push esi
push ecx
push ecx
lea eax, [ebp - 0x28]
mov ecx, esp
push eax
call fcn.00417128
mov ecx, ebx
call fcn.004501d2
mov ecx, ebx
call fcn.00453bdf
mov eax, dword [ebp + 0x24]
cmp dword [eax - 8], 0xa
jle 0x44cbf4
lea ecx, [ebp - 0x44]
call fcn.0041584b
mov eax, dword [0x4af550]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0x24]
push dword [eax - 8]
lea eax, [ebp + 0x24]
push ecx
mov ecx, esp
push eax
call fcn.004038b5
lea ecx, [ebp - 0xc]
call fcn.0044cd29
push eax
lea ecx, [ebp - 0x44]
call fcn.00415a9b
mov esi, dword [ebp - 0x30]
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x14], edi
call fcn.004158a9
push esi
push edi
mov dword [ebp - 0x1c], eax
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ecx, esi
mov esi, dword [ebp - 0x1c]
mov dword [ebp - 0x14], eax
mov edi, eax
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebp - 0x14]
mov ecx, ebx
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x14]
push eax
call fcn.00454161
lea ecx, [ebp - 0x14]
call fcn.00401e80
lea ecx, [ebp - 0xc]
call fcn.004038fb
lea ecx, [ebp - 0x44]
call fcn.00415882
push 1
xor edi, edi
pop esi
mov eax, dword [ebp - 0x18]
lea ecx, [ebp - 0x28]
mov dword [0x4b7230], eax
mov dword [ebx + 0x188], edi
call fcn.004893ad
lea ecx, [ebp + 8]
call fcn.0044ccdd
mov eax, esi
jmp 0x44ccd6
push ecx
push ecx
mov eax, esp
push esi
mov dword [ebp - 0x1c], eax
lea ecx, [eax + 4]
call fcn.004042a3
mov eax, dword [ebp - 0x1c]
mov ecx, ebx
mov dword [eax], 0x4a9988
call fcn.0044cdb0
push 0x4afdf8
lea ecx, [ebp - 8]
call fcn.00403927
lea eax, [ebp - 0x10]
push 0x86
push eax
call fcn.00461337
pop ecx
mov esi, esp
push eax
lea eax, [ebp - 8]
lea ecx, [ebp - 0x28]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.00489a02
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.00403b20
push eax
push esi
call fcn.00403b20
mov ecx, dword [ebx + 0xdc]
call fcn.00475d80
lea ecx, [ebp - 0x1c]
call fcn.004038fb
lea ecx, [ebp - 0x18]
call fcn.004038fb
lea ecx, [ebp - 0x10]
call fcn.004038fb
lea ecx, [ebp - 8]
call fcn.004038fb
mov eax, dword [ebp - 4]
cmp eax, edi
je 0x44ccb4
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 4], edi
lea ecx, [ebp - 0x28]
call fcn.004893ad
jmp 0x44cccc
lea ecx, [ebp - 0x28]
call fcn.004893ad
mov dword [ebx + 0x188], edi
lea ecx, [ebp + 8]
call fcn.0044ccdd
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 0x24