Function at 0x418100
Capabilities:
Read file via mapping

Disassembly:
push 0xffffffffffffffff
push 0x63ccb8
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov eax, dword [0x6f7654]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov esi, ecx
mov edi, edx
mov dword [edi + 0x104], esi
call fcn.00401ab0
push eax
lea ecx, [esp + 0x1c]
call fcn.00401930
lea eax, [edi + 0x64]
xor ebp, ebp
push eax
lea ecx, [esp + 0x1c]
mov dword [esp + 0x2c], ebp
call fcn.004016e0
lea ecx, [esp + 0x18]
call fcn.0043f970
mov ebx, eax
cmp dword [esi + 4], ebp
jne 0x418197
push ebx
push 0xa00000
push ebp
push 4
push ebp
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
push ebx
mov ecx, esi
mov dword [esi + 4], eax
call fcn.00401700
mov ecx, dword [esi + 4]
mov dword [esi + 0x10], 0xa00000
mov dword [esi + 0x14], ebp
cmp ecx, ebp
jne 0x4181b6
mov dword [esi + 0x10], ebp
mov dword [esi + 0x14], ebp
lea ecx, [esp + 0x18]
call fcn.004016c0
xor eax, eax
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret
xor eax, eax
xor edx, edx
div dword [esi + 8]
neg edx
mov ebx, edx
neg ebx
lea eax, [ebx + 0x58]
push eax
push edx
push ebp
push 6
push ecx
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov ebp, eax
lea eax, [esi + 0x18]
add ebx, ebp
lea esi, [esp + 0x1c]
mov dword [esp + 0x1c], ebx
call fcn.0041ce30
mov dword [eax], ebp
mov dword [edi + 0x108], ebx
test ebx, ebx
je 0x418197
push 0x58
push 0
push ebx
call fcn.005eb2a0
mov eax, dword [edi + 0x108]
mov cx, word [0x6bd604]
mov word [eax], cx
mov dl, byte [0x6bd606]
mov byte [eax + 2], dl
mov eax, dword [edi + 0x108]
mov ecx, 0x58
mov word [eax + 4], cx
mov edx, dword [edi + 0x108]
mov dword [edx + 8], ecx
mov eax, dword [edi + 0x108]
mov ecx, dword [edi + 0x6c]
mov dword [eax + 0x10], ecx
mov edx, dword [edi + 0x108]
add esp, 8
lea eax, [edi + 0x60]
mov ecx, esp
mov dword [esp + 0x20], esp
push eax
mov dword [edx + 0x14], 0
call fcn.00401620
push edi
call fcn.00418330
mov ecx, dword [edi + 0x108]
push ecx
mov dword [ecx + 0x1c], eax
lea eax, [edi + 0x64]
mov ecx, esp
mov dword [esp + 0x20], esp
push eax
call fcn.00401620
push edi
call fcn.00418330
mov edx, dword [edi + 0x108]
push ecx
mov dword [edx + 0x20], eax
lea eax, [edi + 0x68]
mov ecx, esp
mov dword [esp + 0x20], esp
push eax
call fcn.00401620
push edi
call fcn.00418330
mov ecx, dword [edi + 0x108]
push ecx
mov dword [ecx + 0x2c], eax
lea edx, [edi + 0x7c]
mov ecx, esp
mov dword [esp + 0x20], esp
push edx
call fcn.00401620
push edi
call fcn.00418330
mov ecx, dword [edi + 0x108]
push ecx
mov dword [ecx + 0x28], eax
lea edx, [edi + 0x80]
mov ecx, esp
mov dword [esp + 0x20], esp
push edx
call fcn.00401620
push edi
call fcn.00418330
mov ecx, dword [edi + 0x108]
push ecx
mov dword [ecx + 0x24], eax
lea edx, [edi + 0x74]
mov ecx, esp
mov dword [esp + 0x20], esp
push edx
call fcn.00401620
push edi
call fcn.00418330
mov ecx, dword [edi + 0x108]
mov dword [ecx + 0x18], eax
mov edi, dword [edi + 0x108]
lea ecx, [esp + 0x18]
call fcn.004016c0
mov eax, edi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret