Function at 0x4a0e50
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x607040
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c4
push ebx
push esi
push edi
mov ebx, ecx
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x80], ebx
mov dword [ebp - 0x1c], 0
push ecx
lea ecx, [ebp - 0xf4]
mov dword [ebp - 4], 0
call fcn.004a3660
push 0x663774
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 1
call fcn.00404720
push ecx
push 0
push 3
push ecx
push 0
lea ecx, [ebp + 8]
mov byte [ebp - 4], 2
call fcn.00404880
mov edx, SysReAllocString
mov ecx, eax
call fcn.0048dff0
mov edi, eax
add esp, 0x14
cmp edi, 0xffffffff
je 0x4a178f
mov ecx, edi
mov dword [ebp - 0x7c], 0
call fcn.0048e490
mov esi, eax
lea ecx, [ebp - 0xa4]
push esi
call fcn.004a3260
lea ecx, [ebp - 0xa4]
mov byte [ebp - 4], 3
call fcn.004a32c0
push 0
mov ebx, eax
lea eax, [ebp - 0x7c]
push eax
push esi
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov ecx, edi
call fcn.0048cd10
lea ecx, [ebp - 0x44]
call fcn.00404ef0
lea ecx, [ebp - 0xa4]
mov byte [ebp - 4], 5
call fcn.004a32b0
push eax
mov edx, ebx
lea ecx, [ebp - 0x20]
call fcn.00414cf0
add esp, 4
push eax
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 6
call fcn.00409ad0
lea ecx, [ebp - 0x20]
call fcn.00404e10
lea ecx, [ebp - 0x44]
mov dword [ebp - 4], 4
call fcn.00404880
mov ecx, eax
call fcn.0042e440
mov dword [ebp - 0x20], eax
test eax, eax
je 0x4a1775
mov ecx, eax
call fcn.0042f8c0
test al, al
je 0x4a176c
call fcn.0042f8f0
push str.Version
lea ecx, [ebp - 0x98]
mov esi, eax
call fcn.00407630
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 8
mov ebx, 1
mov ecx, esi
push eax
mov dword [ebp - 0x1c], ebx
call fcn.00430500
push eax
lea eax, [ebp - 0x98]
mov ecx, esi
push eax
lea eax, [ebp - 0x48]
push eax
call fcn.00430520
mov ecx, eax
call fcn.0041d510
test al, al
je 0x4a1001
push str.Version
lea ecx, [ebp - 0x78]
call fcn.00407630
lea eax, [ebp - 0x78]
mov dword [ebp - 4], 9
mov ebx, 3
mov ecx, esi
push eax
mov dword [ebp - 0x1c], ebx
call fcn.004a31f0
mov ecx, dword [eax]
call fcn.0042f8a0
mov byte [ebp - 0x15], 1
test al, al
jne 0x4a1005
mov byte [ebp - 0x15], 0
test bl, 2
je 0x4a1015
lea ecx, [ebp - 0x78]
and ebx, 0xfffffffd
call fcn.00406f10
mov dword [ebp - 4], 4
test bl, 1
je 0x4a102f
lea ecx, [ebp - 0x98]
and ebx, 0xfffffffe
call fcn.00406f10
cmp byte [ebp - 0x15], 0
je 0x4a107d
push str.Version
lea ecx, [ebp - 0x78]
call fcn.00407630
lea eax, [ebp - 0x78]
mov byte [ebp - 4], 0xa
push eax
mov ecx, esi
call fcn.004a31f0
mov ecx, dword [eax]
call fcn.0042f8d0
mov ecx, eax
call fcn.004108f0
push eax
lea eax, [ebp - 0x24]
push 0x657524
push eax
call fcn.00404860
add esp, 0xc
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x78]
call fcn.00406f10
push str.Files
lea ecx, [ebp - 0x98]
call fcn.00407630
lea eax, [ebp - 0x48]
mov byte [ebp - 4], 0xb
or ebx, 4
mov ecx, esi
push eax
mov dword [ebp - 0x1c], ebx
call fcn.00430500
push eax
lea eax, [ebp - 0x98]
mov ecx, esi
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.00430520
mov ecx, eax
call fcn.0041d510
test al, al
je 0x4a10f4
push str.Files
lea ecx, [ebp - 0x78]
call fcn.00407630
lea eax, [ebp - 0x78]
mov dword [ebp - 4], 0xc
or ebx, 8
mov ecx, esi
push eax
mov dword [ebp - 0x1c], ebx
call fcn.004a31f0
mov ecx, dword [eax]
call fcn.0042f8b0
mov byte [ebp - 0x15], 1
test al, al
jne 0x4a10f8
mov byte [ebp - 0x15], 0
test bl, 8
je 0x4a1108
lea ecx, [ebp - 0x78]
and ebx, 0xfffffff7
call fcn.00406f10
mov dword [ebp - 4], 4
test bl, 4
je 0x4a1122
lea ecx, [ebp - 0x98]
and ebx, 0xfffffffb
call fcn.00406f10
cmp byte [ebp - 0x15], 0
je 0x4a176c
push str.Files
lea ecx, [ebp - 0x154]
call fcn.00407630
lea eax, [ebp - 0x154]
mov byte [ebp - 4], 0xd
push eax
mov ecx, esi
call fcn.004a31f0
mov ecx, dword [eax]
call fcn.0042f8e0
mov esi, eax
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x154]
mov dword [ebp - 0x40], esi
call fcn.00406f10
mov ecx, esi
xor edi, edi
call fcn.0041d620
test eax, eax
je 0x4a176c
lea ebx, [ebx]
push edi
mov ecx, esi
call fcn.004242c0
mov ecx, dword [eax]
call fcn.0042f8c0
test al, al
je 0x4a175c
call fcn.0042f8f0
lea ecx, [ebp - 0x78]
mov esi, eax
call fcn.00408180
lea ecx, [ebp - 0x98]
call fcn.00408180
lea ecx, [ebp - 0x124]
call fcn.00408180
lea ecx, [ebp - 0x13c]
call fcn.00408180
lea ecx, [ebp - 0x10c]
call fcn.00408180
push str.FeatureName
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 0x12
call fcn.00407630
lea eax, [ebp - 0x48]
mov byte [ebp - 4], 0x13
or ebx, 0x10
mov ecx, esi
push eax
mov dword [ebp - 0x1c], ebx
call fcn.00430500
push eax
lea eax, [ebp - 0x3c]
mov ecx, esi
push eax
lea eax, [ebp - 0xb0]
push eax
call fcn.00430520
mov ecx, eax
call fcn.0041d510
test al, al
je 0x4a124a
push str.FeatureName
lea ecx, [ebp - 0x60]
call fcn.00407630
lea eax, [ebp - 0x60]
mov dword [ebp - 4], 0x14
or ebx, 0x20
mov ecx, esi
push eax
mov dword [ebp - 0x1c], ebx
call fcn.004a31f0
mov ecx, dword [eax]
call fcn.0042f8a0
mov byte [ebp - 0x15], 1
test al, al
jne 0x4a124e
mov byte [ebp - 0x15], 0
test bl, 0x20
je 0x4a125e
lea ecx, [ebp - 0x60]
and ebx, 0xffffffdf
call fcn.00406f10
mov dword [ebp - 4], 0x12
test bl, 0x10
je 0x4a1275
lea ecx, [ebp - 0x3c]
and ebx, 0xffffffef
call fcn.00406f10
cmp byte [ebp - 0x15], 0
je 0x4a12b3
push str.FeatureName
lea ecx, [ebp - 0x3c]
call fcn.00407630
lea eax, [ebp - 0x3c]
mov byte [ebp - 4], 0x15
push eax
mov ecx, esi
call fcn.004a31f0
mov ecx, dword [eax]
call fcn.0042f8d0
push eax
lea ecx, [ebp - 0x78]
call fcn.00407ec0
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 0x12
call fcn.00406f10
push str.FullFilePath
lea ecx, [ebp - 0x60]
call fcn.00407630
lea eax, [ebp - 0xb8]
mov byte [ebp - 4], 0x16
or ebx, 0x40
mov ecx, esi
push eax
mov dword [ebp - 0x1c], ebx
call fcn.00430500
push eax
lea eax, [ebp - 0x60]
mov ecx, esi
push eax
lea eax, [ebp - 0xc8]
push eax
call fcn.00430520
mov ecx, eax
call fcn.0041d510
test al, al
je 0x4a132d
push str.FullFilePath
lea ecx, [ebp - 0x3c]
call fcn.00407630
lea eax, [ebp - 0x3c]
mov dword [ebp - 4], 0x17
or ebx, 0x80
mov ecx, esi
push eax
mov dword [ebp - 0x1c], ebx
call fcn.004a31f0
mov ecx, dword [eax]
call fcn.0042f8a0
mov byte [ebp - 0x15], 1
test al, al
jne 0x4a1331
mov byte [ebp - 0x15], 0
test bl, bl
jns 0x4a1343
lea ecx, [ebp - 0x3c]
and ebx, 0xffffff7f
call fcn.00406f10
mov dword [ebp - 4], 0x12
test bl, 0x40
je 0x4a135a
lea ecx, [ebp - 0x60]
and ebx, 0xffffffbf
call fcn.00406f10
cmp byte [ebp - 0x15], 0
je 0x4a139b
push str.FullFilePath
lea ecx, [ebp - 0x3c]
call fcn.00407630
lea eax, [ebp - 0x3c]
mov byte [ebp - 4], 0x18
push eax
mov ecx, esi
call fcn.004a31f0
mov ecx, dword [eax]
call fcn.0042f8d0
push eax
lea ecx, [ebp - 0x98]
call fcn.00407ec0
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 0x12
call fcn.00406f10
push str.Signature
lea ecx, [ebp - 0x60]
call fcn.00407630
lea eax, [ebp - 0xd0]
mov byte [ebp - 4], 0x19
or ebx, 0x100
mov ecx, esi
push eax
mov dword [ebp - 0x1c], ebx
call fcn.00430500
push eax
lea eax, [ebp - 0x60]
mov ecx, esi
push eax
lea eax, [ebp - 0xd8]
push eax
call fcn.00430520
mov ecx, eax
call fcn.0041d510
test al, al
je 0x4a1418
push str.Signature
lea ecx, [ebp - 0x3c]
call fcn.00407630
lea eax, [ebp - 0x3c]
mov dword [ebp - 4], 0x1a
or ebx, 0x200
mov ecx, esi
push eax
mov dword [ebp - 0x1c], ebx
call fcn.004a31f0
mov ecx, dword [eax]
call fcn.0042f8a0
mov byte [ebp - 0x15], 1
test al, al
jne 0x4a141c
mov byte [ebp - 0x15], 0
test ebx, 0x200
je 0x4a1432
lea ecx, [ebp - 0x3c]
and ebx, 0xfffffdff
call fcn.00406f10
mov dword [ebp - 4], 0x12
test ebx, 0x100
je 0x4a144f
lea ecx, [ebp - 0x60]
and ebx, 0xfffffeff
call fcn.00406f10
cmp byte [ebp - 0x15], 0
je 0x4a1490
push str.Signature
lea ecx, [ebp - 0x3c]
call fcn.00407630
lea eax, [ebp - 0x3c]
mov byte [ebp - 4], 0x1b
push eax
mov ecx, esi
call fcn.004a31f0
mov ecx, dword [eax]
call fcn.0042f8d0
push eax
lea ecx, [ebp - 0x124]
call fcn.00407ec0
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 0x12
call fcn.00406f10
push str.AStringMatch
lea ecx, [ebp - 0x60]
call fcn.00407630
lea eax, [ebp - 0xb4]
mov byte [ebp - 4], 0x1c
or ebx, 0x400
mov ecx, esi
push eax
mov dword [ebp - 0x1c], ebx
call fcn.00430500
push eax
lea eax, [ebp - 0x60]
mov ecx, esi
push eax
lea eax, [ebp - 0xc0]
push eax
call fcn.00430520
mov ecx, eax
call fcn.0041d510
test al, al
je 0x4a150d
push str.AStringMatch
lea ecx, [ebp - 0x3c]
call fcn.00407630
lea eax, [ebp - 0x3c]
mov dword [ebp - 4], 0x1d
or ebx, 0x800
mov ecx, esi
push eax
mov dword [ebp - 0x1c], ebx
call fcn.004a31f0
mov ecx, dword [eax]
call fcn.0042f8a0
mov byte [ebp - 0x15], 1
test al, al
jne 0x4a1511
mov byte [ebp - 0x15], 0
test ebx, 0x800
je 0x4a1527
lea ecx, [ebp - 0x3c]
and ebx, 0xfffff7ff
call fcn.00406f10
mov dword [ebp - 4], 0x12
test ebx, 0x400
je 0x4a1544
lea ecx, [ebp - 0x60]
and ebx, 0xfffffbff
call fcn.00406f10
cmp byte [ebp - 0x15], 0
je 0x4a1585
push str.AStringMatch
lea ecx, [ebp - 0x3c]
call fcn.00407630
lea eax, [ebp - 0x3c]
mov byte [ebp - 4], 0x1e
push eax
mov ecx, esi
call fcn.004a31f0
mov ecx, dword [eax]
call fcn.0042f8d0
push eax
lea ecx, [ebp - 0x13c]
call fcn.00407ec0
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 0x12
call fcn.00406f10
push str.UStringMatch
lea ecx, [ebp - 0x60]
call fcn.00407630
lea eax, [ebp - 0xa8]
mov byte [ebp - 4], 0x1f
or ebx, 0x1000
mov ecx, esi
push eax
mov dword [ebp - 0x1c], ebx
call fcn.00430500
push eax
lea eax, [ebp - 0x60]
mov ecx, esi
push eax
lea eax, [ebp - 0xd4]
push eax
call fcn.00430520
mov ecx, eax
call fcn.0041d510
test al, al
je 0x4a1602
push str.UStringMatch
lea ecx, [ebp - 0x3c]
call fcn.00407630
lea eax, [ebp - 0x3c]
mov dword [ebp - 4], 0x20
or ebx, 0x2000
mov ecx, esi
push eax
mov dword [ebp - 0x1c], ebx
call fcn.004a31f0
mov ecx, dword [eax]
call fcn.0042f8a0
mov byte [ebp - 0x15], 1
test al, al
jne 0x4a1606
mov byte [ebp - 0x15], 0
test ebx, 0x2000
je 0x4a161c
lea ecx, [ebp - 0x3c]
and ebx, 0xffffdfff
call fcn.00406f10
mov dword [ebp - 4], 0x12
test ebx, 0x1000
je 0x4a1639
lea ecx, [ebp - 0x60]
and ebx, 0xffffefff
call fcn.00406f10
cmp byte [ebp - 0x15], 0
je 0x4a167a
push str.UStringMatch
lea ecx, [ebp - 0x3c]
call fcn.00407630
lea eax, [ebp - 0x3c]
mov byte [ebp - 4], 0x21
push eax
mov ecx, esi
call fcn.004a31f0
mov ecx, dword [eax]
call fcn.0042f8d0
push eax
lea ecx, [ebp - 0x10c]
call fcn.00407ec0
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 0x12
call fcn.00406f10
sub esp, 0x18
lea eax, [ebp - 0x10c]
mov ecx, esp
mov dword [ebp - 0x1c], esp
push eax
call fcn.00406ec0
sub esp, 0x18
mov byte [ebp - 4], 0x22
lea eax, [ebp - 0x13c]
mov dword [ebp - 0xbc], esp
mov ecx, esp
push eax
call fcn.00406ec0
sub esp, 0x18
mov byte [ebp - 4], 0x23
lea eax, [ebp - 0x124]
mov dword [ebp - 0xcc], esp
mov ecx, esp
push eax
call fcn.00406ec0
sub esp, 0x18
mov byte [ebp - 4], 0x24
lea eax, [ebp - 0x98]
mov dword [ebp - 0xc4], esp
mov ecx, esp
push eax
call fcn.00406ec0
sub esp, 0x18
mov byte [ebp - 4], 0x25
lea eax, [ebp - 0x78]
mov ecx, esp
push eax
call fcn.00406ec0
lea ecx, [ebp - 0x1cc]
mov byte [ebp - 4], 0x12
call fcn.004a3820
lea eax, [ebp - 0x1cc]
mov byte [ebp - 4], 0x26
push eax
lea ecx, [ebp - 0xf4]
call fcn.004a3cf0
lea ecx, [ebp - 0x1cc]
call fcn.004a3e10
lea ecx, [ebp - 0x10c]
call fcn.00406f10
lea ecx, [ebp - 0x13c]
call fcn.00406f10
lea ecx, [ebp - 0x124]
call fcn.00406f10
lea ecx, [ebp - 0x98]
call fcn.00406f10
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 4
call fcn.00406f10
mov esi, dword [ebp - 0x40]
mov ecx, esi
inc edi
call fcn.0041d620
cmp edi, eax
jb 0x4a1180
push ecx
mov ecx, dword [ebp - 0x20]
call fcn.0041ceb0
lea ecx, [ebp - 0x44]
call fcn.00404e10
lea ecx, [ebp - 0xa4]
mov byte [ebp - 4], 2
call fcn.004a32a0
mov ebx, dword [ebp - 0x80]
lea ecx, [ebp - 0xf4]
call fcn.004a36a0
test eax, eax
jle 0x4a181c
mov ecx, ebx
call fcn.004a3e50
lea ecx, [ebp - 0xf4]
call fcn.004a36b0
mov dword [ebp - 0x20], eax
test eax, eax
je 0x4a17ce
lea eax, [ebp - 0x20]
push eax
call fcn.004a36c0
push eax
mov ecx, ebx
call fcn.004a3cf0
cmp dword [ebp - 0x20], 0
jne 0x4a17b7
push dword [ebp - 0x24]
lea eax, [ebx + 0x30]
push 0x657524
push eax
call fcn.00404860
add esp, 0xc
lea ecx, [ebp - 0x24]
call fcn.00404e10
lea ecx, [ebp - 0xf4]
mov byte [ebp - 4], 0
call fcn.004a3ea0
lea ecx, [ebp + 8]
call fcn.00404e10
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
lea ecx, [ebp - 0x24]
call fcn.00404e10
lea ecx, [ebp - 0xf4]
mov byte [ebp - 4], 0
call fcn.004a3ea0
lea ecx, [ebp + 8]
call fcn.00404e10
mov ecx, dword [ebp - 0xc]
xor al, al
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4