Function at 0x4f1be1
Capabilities:
Get file attributes

Disassembly:
push ebx
push edi
xor eax, eax
push eax
push eax
push eax
push eax
push eax
push eax
mov dword [esp], 0
mov dword [0x9ab910], 0
mov dword [esp + 4], 0
mov dword [esp + 0xc], 0
push dword [esp + 0x24]
call fcn.005413ba
and eax, eax
je 0x4f1c65
cmp dword [esp + 0x28], 0
je 0x4f1c39
mov ebx, dword [esp + 0x28]
imul ebx, ebx, 0x3e8
push ebx
push 1
push dword [esp + 0x2c]
call fcn.005414bd
push 0xfa0
push 2
push dword [esp + 0x2c]
call fcn.005414bd
cmp dword [esp + 0x30], 0
je 0x4f1c65
push dword [esp + 0x30]
push 3
push dword [esp + 0x2c]
call fcn.005414bd
call fcn.00541617
mov dword [esp], eax
mov ebx, dword [esp]
and ebx, ebx
je 0x4f1c7e
mov ebx, dword [esp]
cmp ebx, 0xf
je 0x4f1c7e
jmp 0x4f1c85
mov eax, 1
jmp 0x4f1c87
xor eax, eax
and eax, eax
jne 0x4f1c98
mov ebx, dword [esp]
cmp ebx, 0xa0
je 0x4f1c98
jmp 0x4f1c9f
mov eax, 1
jmp 0x4f1ca1
xor eax, eax
and eax, eax
jne 0x4f1cb2
mov ebx, dword [esp]
cmp ebx, 0x2a3
je 0x4f1cb2
jmp 0x4f1cb9
mov eax, 1
jmp 0x4f1cbb
xor eax, eax
and eax, eax
jne 0x4f1ccc
mov ebx, dword [esp]
cmp ebx, 0x101
je 0x4f1ccc
jmp 0x4f1cd3
mov eax, 1
jmp 0x4f1cd5
xor eax, eax
and eax, eax
jne 0x4f1ce6
mov ebx, dword [esp]
cmp ebx, 0x113
je 0x4f1ce6
jmp 0x4f1ced
mov eax, 1
jmp 0x4f1cef
xor eax, eax
and eax, eax
jne 0x4f1d00
mov ebx, dword [esp]
cmp ebx, 0x200
je 0x4f1d00
jmp 0x4f1d07
mov eax, 1
jmp 0x4f1d09
xor eax, eax
and eax, eax
jne 0x4f1d1a
mov ebx, dword [esp]
cmp ebx, 0x118
je 0x4f1d1a
jmp 0x4f1d21
mov eax, 1
jmp 0x4f1d23
xor eax, eax
and eax, eax
je 0x4f1d2c
jmp 0x4f2155
mov ebx, dword [esp]
cmp ebx, 0x333b
je 0x4f1d44
mov ebx, dword [esp]
cmp ebx, 0x333a
je 0x4f1d44
jmp 0x4f1d4b
mov eax, 1
jmp 0x4f1d4d
xor eax, eax
and eax, eax
jne 0x4f1d5e
mov ebx, dword [esp]
cmp ebx, 0x333e
je 0x4f1d5e
jmp 0x4f1d65
mov eax, 1
jmp 0x4f1d67
xor eax, eax
and eax, eax
jne 0x4f1d78
mov ebx, dword [esp]
cmp ebx, 0x333d
je 0x4f1d78
jmp 0x4f1d7f
mov eax, 1
jmp 0x4f1d81
xor eax, eax
and eax, eax
je 0x4f1d8a
jmp 0x4f2155
mov ebx, dword [esp]
cmp ebx, 0x3331
je 0x4f1da2
mov ebx, dword [esp]
cmp ebx, 0x3332
je 0x4f1da2
jmp 0x4f1da9
mov eax, 1
jmp 0x4f1dab
xor eax, eax
and eax, eax
jne 0x4f1dbc
mov ebx, dword [esp]
cmp ebx, 0x3333
je 0x4f1dbc
jmp 0x4f1dc3
mov eax, 1
jmp 0x4f1dc5
xor eax, eax
and eax, eax
jne 0x4f1dd6
mov ebx, dword [esp]
cmp ebx, 0x3334
je 0x4f1dd6
jmp 0x4f1ddd
mov eax, 1
jmp 0x4f1ddf
xor eax, eax
and eax, eax
je 0x4f1de8
jmp 0x4f2155
mov ebx, dword [esp]
cmp ebx, 0x332e
je 0x4f1e00
mov ebx, dword [esp]
cmp ebx, 0x3330
je 0x4f1e00
jmp 0x4f1e07
mov eax, 1
jmp 0x4f1e09
xor eax, eax
and eax, eax
jne 0x4f1e1a
mov ebx, dword [esp]
cmp ebx, 0x333a
je 0x4f1e1a
jmp 0x4f1e21
mov eax, 1
jmp 0x4f1e23
xor eax, eax
and eax, eax
je 0x4f1e2c
jmp 0x4f2155
mov ebx, dword [esp]
cmp ebx, 0x333e
je 0x4f1e44
mov ebx, dword [esp]
cmp ebx, 0x333d
je 0x4f1e44
jmp 0x4f1e4b
mov eax, 1
jmp 0x4f1e4d
xor eax, eax
and eax, eax
jne 0x4f1e5e
mov ebx, dword [esp]
cmp ebx, 0x3335
je 0x4f1e5e
jmp 0x4f1e65
mov eax, 1
jmp 0x4f1e67
xor eax, eax
and eax, eax
je 0x4f1e70
jmp 0x4f2155
call fcn.00543d25
mov dword [0x9ae45c], eax
push dword [esp + 0x24]
call fcn.005413ba
and eax, eax
je 0x4f1e98
mov ebx, dword [0x9ae45c]
cmp ebx, dword [esp + 0x24]
je 0x4f1e98
jmp 0x4f2155
mov ebx, dword [esp]
cmp ebx, 0x20a
jne 0x4f1ed0
cmp dword [esp + 0x2c], 0
je 0x4f1ecb
mov dword [esp + 4], 0xffffffec
call fcn.0050b0e6
mov ebx, eax
cmp ebx, 1
jne 0x4f1ec6
mov dword [esp + 4], 0xffffffeb
jmp 0x4f215a
jmp 0x4f2155
mov ebx, dword [esp]
cmp ebx, 0x333c
jne 0x4f1ee8
mov dword [esp + 4], 0xffffffff
jmp 0x4f215a
mov ebx, dword [esp]
cmp ebx, 0x3337
jne 0x4f1f00
mov dword [esp + 4], 0xfffffff6
jmp 0x4f215a
mov ebx, dword [esp]
cmp ebx, 0x332d
jne 0x4f1f25
call fcn.00543d07
mov dword [0x9abc0c], eax
push dword [0x9abc0c]
pop eax
mov dword [esp + 4], eax
jmp 0x4f215a
mov ebx, dword [esp]
cmp ebx, 0x3336
jne 0x4f2074
call fcn.00543d34
mov dword [esp + 8], eax
mov ebx, dword [esp + 8]
cmp ebx, 2
jne 0x4f1fee
cmp dword [0x9ad610], 0
je 0x4f1fc0
mov edx, str.BMUPDATE.TMP
lea ecx, [esp + 0x14]
call fcn.0051f008
mov dword [esp + 0x10], 1
push dword [esp + 0x14]
call fcn.00545b14
push edx
push eax
pop ebx
pop edi
cmp edi, 0
jg 0x4f1f86
jl 0x4f1f82
cmp ebx, 5
ja 0x4f1f86
xor eax, eax
jmp 0x4f1f8b
mov eax, 1
or eax, eax
je 0x4f1f9c
mov dword [esp + 0xc], 1
jmp 0x4f215a
mov eax, dword [esp + 0x14]
push eax
call sub.KERNEL32.dll_GetFileAttributesW
mov dword [esp + 0x10], eax
mov ebx, dword [esp + 0x10]
cmp ebx, 0x20
jne 0x4f1fc0
mov dword [esp + 0xc], 1
jmp 0x4f215a
push dword [esp + 0x24]
call fcn.005413ba
and eax, eax
je 0x4f1fee
push 2
push dword [esp + 0x28]
call fcn.0054161f
push 0xfa0
push 2
push dword [esp + 0x2c]
call fcn.005414bd
mov ebx, dword [esp + 8]
cmp ebx, 3
jne 0x4f2004
mov dword [esp + 4], 0xfffffffd
jmp 0x4f215a
mov ebx, dword [esp + 8]
cmp ebx, 1
jne 0x4f201a
mov dword [esp + 4], 0xfffffffe
jmp 0x4f215a
cmp dword [esp + 0x28], 0
je 0x4f2048
push 1
push dword [esp + 0x28]
call fcn.0054161f
mov ebx, dword [esp + 0x28]
imul ebx, ebx, 0x3e8
push ebx
push 1
push dword [esp + 0x2c]
call fcn.005414bd
cmp dword [esp + 0x30], 0
je 0x4f206f
push 3
push dword [esp + 0x28]
call fcn.0054161f
push dword [esp + 0x30]
push 3
push dword [esp + 0x2c]
call fcn.005414bd
jmp 0x4f2155
mov ebx, dword [esp]
cmp ebx, 0x332c
jne 0x4f2155
call fcn.00543d16
mov dword [0x9acb54], eax
push dword [0x9acb54]
pop eax
mov dword [esp + 4], eax
call fcn.00543d43
mov dword [0x9ab910], eax
mov ebx, dword [0x9ab910]
and ebx, ebx
je 0x4f20b9
mov ebx, dword [0x9ab910]
cmp ebx, 2
je 0x4f20b9
jmp 0x4f20c0
mov eax, 1
jmp 0x4f20c2
xor eax, eax
and eax, eax
jne 0x4f20d6
mov ebx, dword [0x9ab910]
cmp ebx, 0x300
je 0x4f20d6
jmp 0x4f20dd
mov eax, 1
jmp 0x4f20df
xor eax, eax
and eax, eax
jne 0x4f20f0
mov ebx, dword [0x9ab910]
cmp ebx, 1
je 0x4f20f0
jmp 0x4f20f7
mov eax, 1
jmp 0x4f20f9
xor eax, eax
and eax, eax
je 0x4f2155
mov ebx, dword [0x9acb54]
and ebx, ebx
jl 0x4f2153
mov ebx, dword [0x9ab910]
cmp ebx, 0x36b2
je 0x4f2125
mov ebx, dword [0x9ab910]
cmp ebx, 0x36b0
je 0x4f2125
jmp 0x4f212c
mov eax, 1
jmp 0x4f212e
xor eax, eax
and eax, eax
jne 0x4f2142
mov ebx, dword [0x9ab910]
cmp ebx, 0x36b1
je 0x4f2142
jmp 0x4f2149
mov eax, 1
jmp 0x4f214b
xor eax, eax
and eax, eax
je 0x4f2151
jmp 0x4f2155
jmp 0x4f215a
jmp 0x4f2155
jmp 0x4f1c65
push dword [esp + 0x24]
call fcn.005413ba
and eax, eax
je 0x4f219f
cmp dword [esp + 0x28], 0
je 0x4f217c
push 1
push dword [esp + 0x28]
call fcn.0054161f
push 2
push dword [esp + 0x28]
call fcn.0054161f
cmp dword [esp + 0x30], 0
je 0x4f219f
push 3
push dword [esp + 0x28]
call fcn.0054161f
cmp dword [esp + 0xc], 0
je 0x4f21ab
jmp 0x4bb4b3
mov eax, dword [esp + 4]
jmp 0x4f21b3
push dword [esp + 0x14]
call fcn.00559820
add esp, 0x18
pop edi
pop ebx
ret 0x10