Function at 0x44cc43
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 0x44cc6a
mov dword [ebp - 4], edi
mov eax, dword [ebp + 0x14]
cmp dword [eax - 8], edi
je 0x44cc87
push ecx
lea eax, [ebp + 0x14]
mov ecx, esp
push eax
call fcn.004038b5
call fcn.0044b048
pop ecx
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0x10]
cmp dword [eax - 8], edi
je 0x44cca4
push ecx
lea eax, [ebp + 0x10]
mov ecx, esp
push eax
call fcn.004038b5
call fcn.0044b048
pop ecx
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x28]
cmp dword [ebp - 4], edi
mov dword [ebx + 0x194], eax
mov eax, dword [ebp - 0x24]
mov dword [ebx + 0x190], esi
mov dword [ebx + 0x198], eax
je 0x44cd21
push edi
lea ecx, [ebp - 0x20]
push dword [ebp + 0xc]
call fcn.00489f86
push edi
push esi
push edi
push ecx
push ecx
lea eax, [ebp - 0x20]
mov ecx, esp
push eax
call fcn.004171b4
mov ecx, ebx
call fcn.0045032f
cmp dword [ebx + 0x3c], edi
je 0x44cd19
mov eax, dword [ebp + 0x28]
cmp dword [eax - 8], edi
je 0x44cd19
push edi
push eax
lea ecx, [ebp - 0x28]
call fcn.00489f86
mov eax, dword [ebx + 0x3c]
push 0x19
lea ecx, [ebp - 0x28]
mov esi, dword [eax]
call fcn.0048a1b9
push eax
push dword [ebx + 0x3c]
call dword [esi + 0x38]
lea ecx, [ebp - 0x28]
call fcn.0048996a
lea ecx, [ebp - 0x20]
jmp 0x44d05d
mov eax, dword [ebp + 8]
cmp dword [eax - 8], edi
jne 0x44cd30
xor esi, esi
jmp 0x44cfa6
lea ecx, [ebp - 0x28]
call fcn.0048997e
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 + 0xe4]
lea eax, [ebp - 0x28]
push eax
call fcn.0047360b
test eax, eax
je 0x44d05a
cmp dword [ebp - 0x24], edi
je 0x44d05a
lea eax, [ebp - 0xc]
lea ecx, [ebp - 0x28]
push eax
call fcn.00489fbf
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 0x44cda0
cmp dword [ebp - 4], 0xffffffff
jne 0x44ce84
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.00411758
mov eax, dword [ebp - 4]
cmp eax, edi
jne 0x44ce4c
push ecx
push ecx
mov eax, esp
push esi
mov dword [ebp - 8], eax
lea ecx, [eax + 4]
call fcn.00404359
mov eax, dword [ebp - 8]
mov ecx, ebx
mov dword [eax], 0x4aa998
call fcn.0044d14c
push 0x4b0df8
lea ecx, [ebp - 8]
call fcn.00403927
lea eax, [ebp - 0x1c]
push 0x86
push eax
call fcn.00461770
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.00489fbf
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.00403b20
push eax
push esi
call fcn.00403b20
mov ecx, dword [ebx + 0xe4]
call fcn.00476260
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 0x44d03b
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 0x44cfb5
mov eax, dword [ebp - 0xc]
cmp eax, edi
je 0x44ce74
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 4]
cmp eax, edi
je 0x44ce81
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push 1
pop esi
mov eax, dword [0x4b82c0]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0x18]
cmp dword [eax - 8], edi
je 0x44ced0
mov eax, dword [ebp + 0x1c]
cmp dword [eax - 8], edi
je 0x44ced0
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.004171b4
lea eax, [ebp + 0x18]
mov ecx, ebx
push eax
call fcn.004597f6
test eax, eax
je 0x44ced0
mov dword [ebx + 0xc4], esi
mov dword [0x4b82c0], esi
push esi
push esi
push esi
push ecx
push ecx
lea eax, [ebp - 0x28]
mov ecx, esp
push eax
call fcn.004171b4
mov ecx, ebx
call fcn.0045032f
mov ecx, ebx
call fcn.00453d1e
mov eax, dword [ebp + 0x24]
cmp dword [eax - 8], 0xa
jle 0x44cf90
lea ecx, [ebp - 0x44]
call fcn.004158d2
mov eax, dword [0x4b0550]
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.0044d0c5
push eax
lea ecx, [ebp - 0x44]
call fcn.00415b22
mov esi, dword [ebp - 0x30]
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x14], edi
call fcn.00415930
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.004542a0
lea ecx, [ebp - 0x14]
call fcn.00401e80
lea ecx, [ebp - 0xc]
call fcn.004038fb
lea ecx, [ebp - 0x44]
call fcn.00415909
push 1
xor edi, edi
pop esi
mov eax, dword [ebp - 0x18]
lea ecx, [ebp - 0x28]
mov dword [0x4b82c0], eax
mov dword [ebx + 0x190], edi
call fcn.0048996a
lea ecx, [ebp + 8]
call fcn.0044d079
mov eax, esi
jmp 0x44d072
push ecx
push ecx
mov eax, esp
push esi
mov dword [ebp - 0x1c], eax
lea ecx, [eax + 4]
call fcn.00404359
mov eax, dword [ebp - 0x1c]
mov ecx, ebx
mov dword [eax], 0x4aa998
call fcn.0044d14c
push 0x4b0df8
lea ecx, [ebp - 8]
call fcn.00403927
lea eax, [ebp - 0x10]
push 0x86
push eax
call fcn.00461770
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.00489fbf
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.00403b20
push eax
push esi
call fcn.00403b20
mov ecx, dword [ebx + 0xe4]
call fcn.00476260
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 0x44d050
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 4], edi
lea ecx, [ebp - 0x28]
call fcn.0048996a
jmp 0x44d068
lea ecx, [ebp - 0x28]
call fcn.0048996a
mov dword [ebx + 0x190], edi
lea ecx, [ebp + 8]
call fcn.0044d079
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 0x24