Function at 0x4544d0
Capabilities:
Get system information on windows
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5acfa5
mov eax, dword fs:[0]
push eax
sub esp, 0x1a8
mov eax, dword [0x62c2a0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [ebp + 8]
call fcn.00454d40
cmp byte [edi], 0
jne 0x454510
xor ecx, ecx
jmp 0x45451e
mov ecx, edi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x454515
sub ecx, edx
push ecx
push edi
mov ecx, esi
call fcn.00402f20
lea eax, [ebp - 0x1b4]
mov edi, 0x20000a
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ecx, dword [ebp - 0x1b0]
xor edx, edx
mov eax, edi
div ecx
test edx, edx
je 0x45454f
lea edi, [eax + 1]
imul edi, ecx
push esi
lea ecx, [ebp - 0x58]
call fcn.00455310
push 0x6001e8
mov edx, eax
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x70]
call fcn.004553d0
add esp, 8
cmp dword [eax + 0x14], 0x10
jb 0x454579
mov eax, dword [eax]
push eax
push edi
push 0
push 0x8000004
push 0
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
cmp dword [ebp - 0x5c], 0x10
mov dword [esi + 0x34], eax
jb 0x4545a0
push dword [ebp - 0x70]
call fcn.00464246
add esp, 4
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x44], 0x10
mov dword [ebp - 0x5c], 0xf
mov dword [ebp - 0x60], 0
mov byte [ebp - 0x70], 0
jb 0x4545ca
push dword [ebp - 0x58]
call fcn.00464246
add esp, 4
mov eax, dword [esi + 0x34]
mov dword [ebp - 0x44], 0xf
mov dword [ebp - 0x48], 0
mov byte [ebp - 0x58], 0
test eax, eax
jne 0x4545f1
mov ecx, esi
call fcn.00454d40
xor eax, eax
jmp 0x454960
push edi
push 0
push 0
push 6
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [esi + 0x38], eax
cmp dword [esi + 0x38], 0
je 0x4545e3
mov eax, dword [esi + 0x38]
mov ecx, edi
test edi, edi
je 0x45461a
mov byte [eax], 0
lea eax, [eax + 1]
dec ecx
jne 0x454611
mov eax, dword [esi + 0x38]
mov dword [esi + 0x3c], eax
mov eax, dword [esi + 0x38]
add eax, 4
mov dword [esi + 0x54], eax
add eax, 4
mov dword [esi + 0x50], eax
lea eax, [edi - 4]
mov ecx, dword [esi + 0x50]
shr eax, 1
sub eax, 4
mov dword [esi + 0x58], eax
mov eax, dword [esi + 0x58]
add eax, ecx
lea ecx, [ebp - 0x88]
mov dword [esi + 0x6c], eax
add eax, 4
mov dword [esi + 0x68], eax
mov eax, dword [esi + 0x58]
push esi
mov dword [esi + 0x70], eax
call fcn.00455310
push 0x600204
mov edx, eax
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.004553d0
add esp, 8
cmp dword [eax + 0x14], 0x10
jb 0x45467e
mov eax, dword [eax]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
cmp dword [ebp - 0x14], 0x10
mov dword [esi + 0x5c], eax
jb 0x45469d
push dword [ebp - 0x28]
call fcn.00464246
add esp, 4
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x74], 0x10
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
jb 0x4546ca
push dword [ebp - 0x88]
call fcn.00464246
add esp, 4
cmp dword [esi + 0x5c], 0
je 0x4545e3
push esi
lea ecx, [ebp - 0xa0]
call fcn.00455310
push 0x6001f4
mov edx, eax
mov dword [ebp - 4], 2
lea ecx, [ebp - 0x40]
call fcn.004553d0
add esp, 8
cmp dword [eax + 0x14], 0x10
jb 0x454701
mov eax, dword [eax]
mov edi, dword [sym.imp.KERNEL32.dll_CreateSemaphoreA]
push eax
push 0x7fffffff
push 0
push 0
call edi
cmp dword [ebp - 0x2c], 0x10
mov dword [esi + 0x60], eax
jb 0x454727
push dword [ebp - 0x40]
call fcn.00464246
add esp, 4
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x8c], 0x10
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x40], 0
jb 0x454757
push dword [ebp - 0xa0]
call fcn.00464246
add esp, 4
cmp dword [esi + 0x60], 0
je 0x4545e3
push esi
lea ecx, [ebp - 0x190]
call fcn.00455310
push 0x600214
mov edx, eax
mov dword [ebp - 4], 3
lea ecx, [ebp - 0x100]
call fcn.004553d0
add esp, 8
cmp dword [eax + 0x14], 0x10
jb 0x454791
mov eax, dword [eax]
push eax
push 0x7fffffff
push 0
push 0
call edi
lea ecx, [ebp - 0x100]
mov dword [esi + 0x64], eax
call fcn.00402c40
lea ecx, [ebp - 0x190]
mov dword [ebp - 4], 0xffffffff
call fcn.00402c40
cmp dword [esi + 0x64], 0
je 0x4545e3
push esi
lea ecx, [ebp - 0x160]
call fcn.00455310
push 0x60020c
mov edx, eax
mov dword [ebp - 4], 4
lea ecx, [ebp - 0xb8]
call fcn.004553d0
add esp, 8
cmp dword [eax + 0x14], 0x10
jb 0x4547f7
mov eax, dword [eax]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
lea ecx, [ebp - 0xb8]
mov dword [esi + 0x74], eax
call fcn.00402c40
lea ecx, [ebp - 0x160]
mov dword [ebp - 4], 0xffffffff
call fcn.00402c40
cmp dword [esi + 0x74], 0
je 0x4545e3
push esi
lea ecx, [ebp - 0xd0]
call fcn.00455310
push 0x600234
mov edx, eax
mov dword [ebp - 4], 5
lea ecx, [ebp - 0x130]
call fcn.004553d0
add esp, 8
cmp dword [eax + 0x14], 0x10
jb 0x45485c
mov eax, dword [eax]
push eax
push 0x7fffffff
push 0
push 0
call edi
lea ecx, [ebp - 0x130]
mov dword [esi + 0x78], eax
call fcn.00402c40
lea ecx, [ebp - 0xd0]
mov dword [ebp - 4], 0xffffffff
call fcn.00402c40
cmp dword [esi + 0x78], 0
je 0x4545e3
push esi
lea ecx, [ebp - 0x118]
call fcn.00455310
push 0x600224
mov edx, eax
mov dword [ebp - 4], 6
lea ecx, [ebp - 0xe8]
call fcn.004553d0
add esp, 8
cmp dword [eax + 0x14], 0x10
jb 0x4548c2
mov eax, dword [eax]
push eax
push 0x7fffffff
push 0
push 0
call edi
lea ecx, [ebp - 0xe8]
mov dword [esi + 0x7c], eax
call fcn.00402c40
lea ecx, [ebp - 0x118]
mov dword [ebp - 4], 0xffffffff
call fcn.00402c40
cmp dword [esi + 0x7c], 0
je 0x4545e3
push esi
lea ecx, [ebp - 0x178]
call fcn.00455310
push 0x600258
mov edx, eax
mov dword [ebp - 4], 7
lea ecx, [ebp - 0x148]
call fcn.004553d0
add esp, 8
cmp dword [eax + 0x14], 0x10
jb 0x454928
mov eax, dword [eax]
push eax
push 1
push 0
push 0
call edi
lea ecx, [ebp - 0x148]
mov dword [esi + 0x40], eax
call fcn.00402c40
lea ecx, [ebp - 0x178]
call fcn.00402c40
cmp dword [esi + 0x40], 0
je 0x4545e3
mov dword [esi + 0x4c], 1
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00581fc1
mov esp, ebp
pop ebp
ret 8