Function at 0x422790
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45c2a8
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x47802c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 4], 0
mov dword [ebp - 0x64], esi
mov dword [esi + 0x50], 1
mov dword [esi + 0x70], 0
mov dword [esi + 0x74], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 0x44], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x60]
push 9
push str.file_path
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0xf
mov byte [ebp - 0x60], 0
call fcn.004314f0
lea eax, [ebp - 0x60]
mov byte [ebp - 4], 2
push eax
mov eax, dword [esi + 0x10]
mov ecx, dword [eax]
add ecx, 0x30
call fcn.0042e650
lea ecx, [ebp - 0x44]
cmp ecx, eax
je 0x422848
cmp dword [eax + 0x14], 0x10
mov ecx, eax
jb 0x42283c
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp - 0x44]
call fcn.004314f0
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x4c]
cmp edx, 0x10
jb 0x422880
mov ecx, dword [ebp - 0x60]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x422876
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x422d00
push edx
push ecx
call fcn.0043a86a
add esp, 8
sub esp, 0x18
lea eax, [ebp - 0x44]
mov ecx, esp
push eax
call fcn.00430330
lea ecx, [ebp - 0x60]
call fcn.0040f3d0
add esp, 0x18
lea ecx, [ebp - 0x44]
push eax
call fcn.00430250
mov edx, dword [ebp - 0x4c]
cmp edx, 0x10
jb 0x4228d6
mov ecx, dword [ebp - 0x60]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4228cc
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x422d05
push edx
push ecx
call fcn.0043a86a
add esp, 8
sub esp, 0x18
lea eax, [ebp - 0x44]
mov ecx, esp
push eax
call fcn.00430330
lea ecx, [ebp - 0x2c]
call fcn.00410160
add esp, 0x18
mov byte [ebp - 4], 3
cmp dword [ebp - 0x34], 0
jne 0x4229f9
sub esp, 0x18
mov dword [esi + 0x50], 0
mov ecx, esp
push 0x1c
push str.a5m6P6_3vyxQizaisdgCFseKMo
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
mov byte [ecx], 0
call fcn.004314f0
lea ecx, [ebp - 0x60]
call fcn.00410da0
add esp, 0x18
lea ecx, [esi + 0x54]
push eax
call fcn.00430250
mov edx, dword [ebp - 0x4c]
cmp edx, 0x10
jb 0x42296e
mov ecx, dword [ebp - 0x60]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x422964
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x422d0a
push edx
push ecx
call fcn.0043a86a
add esp, 8
mov edx, dword [ebp - 0x18]
cmp edx, 8
jb 0x4229a8
mov ecx, dword [ebp - 0x2c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42299e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x422d14
push edx
push ecx
call fcn.0043a86a
add esp, 8
mov edx, dword [ebp - 0x30]
xor eax, eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
cmp edx, 0x10
jb 0x422ce1
mov ecx, dword [ebp - 0x44]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4229ea
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x422d14
push edx
push ecx
call fcn.0043a86a
add esp, 8
jmp 0x422ce1
cmp dword [ebp - 0x18], 8
lea edi, [ebp - 0x2c]
cmovae edi, dword [ebp - 0x2c]
push edi
call fcn.00422720
mov dword [esi + 0x70], eax
and eax, edx
mov dword [esi + 0x74], edx
cmp eax, 0xffffffff
jne 0x422b25
sub esp, 0x18
mov dword [esi + 0x50], 0
mov ecx, esp
mov dword [esi + 0x70], 0
mov dword [esi + 0x74], 0
push 0x14
push str.a5m6P6h0PyGBC3AkIMr
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
mov byte [ecx], 0
call fcn.004314f0
lea ecx, [ebp - 0x60]
call fcn.00410da0
add esp, 0x18
lea ecx, [esi + 0x54]
push eax
call fcn.00430250
mov edx, dword [ebp - 0x4c]
cmp edx, 0x10
jb 0x422a9a
mov ecx, dword [ebp - 0x60]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x422a90
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x422d0f
push edx
push ecx
call fcn.0043a86a
add esp, 8
mov edx, dword [ebp - 0x18]
cmp edx, 8
jb 0x422ad4
mov ecx, dword [ebp - 0x2c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x422aca
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x422d14
push edx
push ecx
call fcn.0043a86a
add esp, 8
mov edx, dword [ebp - 0x30]
xor eax, eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
cmp edx, 0x10
jb 0x422ce1
mov ecx, dword [ebp - 0x44]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x422b16
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x422d14
push edx
push ecx
call fcn.0043a86a
add esp, 8
jmp 0x422ce1
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ebx, eax
test bl, 2
je 0x422b40
push 0x46f178
lea ecx, [esi + 0x78]
call fcn.004300e0
test bl, 1
je 0x422b52
push 0x46f17c
lea ecx, [esi + 0x78]
call fcn.004300e0
test bl, 0x20
je 0x422b64
push 0x46f180
lea ecx, [esi + 0x78]
call fcn.004300e0
test bl, 4
je 0x422b76
push 0x46f184
lea ecx, [esi + 0x78]
call fcn.004300e0
test ebx, 0x1200a0
je 0x422b8b
push 0x46f188
lea ecx, [esi + 0x78]
call fcn.004300e0
mov ecx, dword [esi + 0x88]
cmp ecx, 1
jbe 0x422c0f
dec ecx
mov dword [ebp - 0x50], 0
cmp dword [esi + 0x88], ecx
lea eax, [esi + 0x78]
mov dword [ebp - 0x4c], 0xf
cmovb ecx, dword [esi + 0x88]
cmp dword [esi + 0x8c], 0x10
mov byte [ebp - 0x60], 0
jb 0x422bc5
mov eax, dword [esi + 0x78]
push ecx
push eax
lea ecx, [ebp - 0x60]
call fcn.004314f0
lea eax, [ebp - 0x60]
push eax
lea ecx, [esi + 0x78]
call fcn.00430250
mov edx, dword [ebp - 0x4c]
cmp edx, 0x10
jb 0x422c0f
mov ecx, dword [ebp - 0x60]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x422c05
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x422d14
push edx
push ecx
call fcn.0043a86a
add esp, 8
mov edx, dword [ebp - 0x18]
cmp edx, 8
jb 0x422c49
mov ecx, dword [ebp - 0x2c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x422c3f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x422d14
push edx
push ecx
call fcn.0043a86a
add esp, 8
mov edx, dword [ebp - 0x30]
xor eax, eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
cmp edx, 0x10
jb 0x422ce1
mov ecx, dword [ebp - 0x44]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4229ea
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x422d14
jmp 0x4229ea
lea eax, [esi + 0x18]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0043a313
mov esp, ebp
pop ebp
ret
call fcn.0044532a
call fcn.0044532a
call fcn.0044532a
call fcn.0044532a
call fcn.0044532a
int3