Function at 0x479540
Capabilities:
Read file via mapping

Disassembly:
push 0xffffffffffffffff
push 0x4bbb18
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x64
mov eax, dword [esp + 0x74]
push ebx
push esi
xor ebx, ebx
push edi
push ebx
push 0x80
push 3
push ebx
push ebx
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [esp + 0x14], eax
or edi, 0xffffffff
mov dword [esp + 0x78], ebx
cmp eax, edi
jne 0x4795ac
lea ecx, [esp + 0x14]
mov dword [esp + 0x78], edi
call fcn.00420716
pop edi
pop esi
mov eax, 0x80000020
pop ebx
mov ecx, dword [esp + 0x64]
mov dword fs:[0], ecx
add esp, 0x70
ret 8
push ebx
push ebx
push ebx
push 2
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov dword [esp + 0x10], eax
cmp eax, ebx
jne 0x4795f4
lea ecx, [esp + 0x10]
mov byte [esp + 0x78], bl
call fcn.00420716
lea ecx, [esp + 0x14]
mov dword [esp + 0x78], edi
call fcn.00420716
pop edi
pop esi
mov eax, 0x80000026
pop ebx
mov ecx, dword [esp + 0x64]
mov dword fs:[0], ecx
add esp, 0x70
ret 8
push ebx
push ebx
push ebx
push 4
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [esp + 0xc], eax
cmp eax, ebx
mov byte [esp + 0x78], 2
jne 0x47964e
lea ecx, [esp + 0xc]
mov byte [esp + 0x78], 1
call fcn.0047a550
lea ecx, [esp + 0x10]
mov byte [esp + 0x78], bl
call fcn.00420716
lea ecx, [esp + 0x14]
mov dword [esp + 0x78], edi
call fcn.00420716
pop edi
pop esi
mov eax, 0x80000026
pop ebx
mov ecx, dword [esp + 0x64]
mov dword fs:[0], ecx
add esp, 0x70
ret 8
mov ecx, dword [esp + 0x14]
push 2
push ebx
push ebx
push ecx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov esi, eax
cmp esi, edi
jne 0x4796a4
lea ecx, [esp + 0xc]
mov byte [esp + 0x78], 1
call fcn.0047a550
lea ecx, [esp + 0x10]
mov byte [esp + 0x78], bl
call fcn.00420716
lea ecx, [esp + 0x14]
mov dword [esp + 0x78], edi
call fcn.00420716
pop edi
pop esi
mov eax, 0x80000022
pop ebx
mov ecx, dword [esp + 0x64]
mov dword fs:[0], ecx
add esp, 0x70
ret 8
push str.gUrUaLuZ
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov edx, dword [esp + 0xc]
sub esi, eax
push str.gUrUaLuZ
lea eax, [esi + edx]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x479709
lea ecx, [esp + 0xc]
mov byte [esp + 0x78], 1
call fcn.0047a550
lea ecx, [esp + 0x10]
mov byte [esp + 0x78], bl
call fcn.00420716
lea ecx, [esp + 0x14]
mov dword [esp + 0x78], edi
call fcn.00420716
pop edi
pop esi
mov eax, 0x80000111
pop ebx
mov ecx, dword [esp + 0x64]
mov dword fs:[0], ecx
add esp, 0x70
ret 8
mov ecx, dword [esp + 0xc]
sub esi, 4
push ebx
push 0x8003
mov edi, dword [esi + ecx]
lea ecx, [esp + 0x24]
call fcn.0047a9a3
mov edx, dword [esp + 0xc]
sub esi, edi
push 1
push ebx
lea eax, [esi + edx]
lea ecx, [esp + 0x24]
push eax
mov byte [esp + 0x84], 3
call fcn.0047aceb
test al, al
jne 0x4797a2
lea ecx, [esp + 0x1c]
mov byte [esp + 0x78], 2
call fcn.0047aa31
mov eax, dword [esp + 0xc]
cmp eax, ebx
je 0x479765
push eax
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov dword [esp + 0xc], ebx
mov eax, dword [esp + 0x10]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp eax, ebx
je 0x47977a
push eax
call esi
mov dword [esp + 0x10], ebx
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x4798cc
push eax
call esi
pop edi
pop esi
mov eax, 0x80000111
pop ebx
mov ecx, dword [esp + 0x64]
mov dword fs:[0], ecx
add esp, 0x70
ret 8
mov ecx, dword [esp + 0xc]
push esi
push ecx
lea ecx, [esp + 0x24]
call fcn.0047ae25
test al, al
jne 0x47980f
lea ecx, [esp + 0x1c]
mov byte [esp + 0x78], 2
call fcn.0047aa31
mov eax, dword [esp + 0xc]
cmp eax, ebx
je 0x4797d6
push eax
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov dword [esp + 0xc], ebx
mov eax, dword [esp + 0x10]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp eax, ebx
je 0x4797eb
push eax
call esi
mov dword [esp + 0x10], ebx
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x4797f6
push eax
call esi
pop edi
pop esi
mov eax, 0x80000082
pop ebx
mov ecx, dword [esp + 0x64]
mov dword fs:[0], ecx
add esp, 0x70
ret 8
mov edx, dword [esp + 0x84]
lea ecx, [esp + 0x1c]
push edx
call fcn.0047ac6d
test al, al
jne 0x47987e
lea ecx, [esp + 0x1c]
mov byte [esp + 0x78], 2
call fcn.0047aa31
mov eax, dword [esp + 0xc]
cmp eax, ebx
je 0x479845
push eax
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov dword [esp + 0xc], ebx
mov eax, dword [esp + 0x10]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp eax, ebx
je 0x47985a
push eax
call esi
mov dword [esp + 0x10], ebx
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x479865
push eax
call esi
pop edi
pop esi
mov eax, 0x80000044
pop ebx
mov ecx, dword [esp + 0x64]
mov dword fs:[0], ecx
add esp, 0x70
ret 8
lea ecx, [esp + 0x1c]
call fcn.0047adf2
test al, al
jne 0x4798e5
lea ecx, [esp + 0x1c]
mov byte [esp + 0x78], 2
call fcn.0047aa31
mov eax, dword [esp + 0xc]
cmp eax, ebx
je 0x4798ac
push eax
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov dword [esp + 0xc], ebx
mov eax, dword [esp + 0x10]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp eax, ebx
je 0x4798c1
push eax
call esi
mov dword [esp + 0x10], ebx
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x4798cc
push eax
call esi
pop edi
pop esi
mov eax, 0x80000111
pop ebx
mov ecx, dword [esp + 0x64]
mov dword fs:[0], ecx
add esp, 0x70
ret 8
mov eax, dword [esp + 0xc]
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
cmp eax, ebx
je 0x4798fb
push eax
call ebp
mov dword [esp + 0x10], ebx
mov eax, dword [esp + 0x14]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp eax, ebx
je 0x479910
push eax
call edi
mov dword [esp + 0x14], ebx
cmp dword [esp + 0x18], ebx
je 0x479923
lea ecx, [esp + 0x18]
call fcn.00420716
mov dword [esp + 0x18], ebx
mov ecx, dword [esp + 0x84]
lea eax, [esp + 0x20]
push eax
push ecx
lea ecx, [esp + 0x24]
mov byte [esp + 0x84], 4
call fcn.00478ba0
lea ecx, [esp + 0x20]
mov esi, eax
mov byte [esp + 0x7c], 2
call fcn.0047aa31
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x479960
push eax
call ebp
mov dword [esp + 0x10], ebx
mov eax, dword [esp + 0x14]
pop ebp
cmp eax, ebx
je 0x479970
push eax
call edi
mov dword [esp + 0x10], ebx
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x47997b
push eax
call edi
mov ecx, dword [esp + 0x70]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x70
ret 8