Function at 0x4344e0
Capabilities:
Read file via mapping
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xcc
mov eax, dword [0x542040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov bl, byte [ebp + 0xc]
push esi
mov esi, ecx
test eax, eax
je 0x43450c
push ecx
push eax
lea eax, [esi + 4]
push eax
call fcn.0042f180
push ecx
mov ecx, str.Light
test bl, bl
mov eax, str.Dark
cmove eax, ecx
push eax
lea eax, [esi + 8]
push eax
call fcn.0042f180
movzx eax, bl
mov ecx, esi
mov dword [esi + 0xd0], eax
mov eax, dword [esi]
push 0
mov byte [esi + 0xc], bl
mov byte [0x548f4d], 1
call dword [eax + 8]
mov eax, dword [esi]
mov ecx, esi
push 0
call dword [eax + 0xc]
mov eax, dword [esi]
mov ecx, esi
push 0
call dword [eax + 0x10]
mov eax, dword [esi]
mov ecx, esi
push 0
call dword [eax + 0x14]
mov eax, dword [esi]
mov ecx, esi
push 0
call dword [eax + 0x18]
mov eax, dword [esi]
mov ecx, esi
push 0
call dword [eax + 0x1c]
mov eax, dword [esi]
mov ecx, esi
push 0
call dword [eax + 0x20]
mov eax, dword [esi]
mov ecx, esi
push 0
call dword [eax + 0x24]
mov eax, dword [esi]
mov ecx, esi
push 0
call dword [eax + 0x28]
mov eax, dword [esi]
mov ecx, esi
push 0
call dword [eax + 0x2c]
mov eax, dword [esi]
mov ecx, esi
push 0
call dword [eax + 0x30]
mov eax, dword [esi]
mov ecx, esi
push 0
call dword [eax + 0x34]
mov eax, dword [esi]
mov ecx, esi
push 0
call dword [eax + 0x38]
mov eax, dword [esi]
mov ecx, esi
push 0
call dword [eax + 0x3c]
mov eax, dword [esi]
mov ecx, esi
push 0
call dword [eax + 0x40]
mov eax, dword [esi]
mov ecx, esi
push 0
call dword [eax + 0x44]
mov eax, dword [esi]
mov ecx, esi
push 0
call dword [eax + 0x48]
mov eax, dword [esi]
mov ecx, esi
push 0
call dword [eax + 0x4c]
mov eax, dword [esi]
mov ecx, esi
push 0
call dword [eax + 0x50]
mov eax, dword [esi]
mov ecx, esi
push 0
call dword [eax + 0x54]
mov eax, dword [esi]
mov ecx, esi
push 0
call dword [eax + 0x58]
mov eax, dword [esi]
mov ecx, esi
push 0
call dword [eax + 0x5c]
mov eax, dword [esi]
mov ecx, esi
push 0
call dword [eax + 0x60]
mov eax, dword [esi]
mov ecx, esi
push 0
call dword [eax + 0x64]
mov eax, dword [esi]
mov ecx, esi
push 0
call dword [eax + 0x68]
mov eax, dword [esi]
mov ecx, esi
push 0
call dword [eax + 0x6c]
mov eax, dword [esi]
mov ecx, esi
push 0
call dword [eax + 0x70]
mov eax, dword [esi]
mov ecx, esi
push 0
call dword [eax + 0x74]
mov eax, dword [esi]
mov ecx, esi
push 0
call dword [eax + 0x78]
mov eax, dword [esi]
mov ecx, esi
push 0
call dword [eax + 0x7c]
mov eax, dword [esi]
mov ecx, esi
push 0
call dword [eax + 0x80]
mov eax, dword [esi]
mov ecx, esi
push 0
call dword [eax + 0x84]
mov eax, dword [esi]
mov ecx, esi
push 0
call dword [eax + 0x88]
mov eax, dword [esi]
mov ecx, esi
push 0
call dword [eax + 0x8c]
mov eax, dword [esi]
mov ecx, esi
push 0
call dword [eax + 0x90]
mov eax, dword [esi]
mov ecx, esi
push 0
call dword [eax + 0x94]
mov eax, dword [esi]
mov ecx, esi
push 0
call dword [eax + 0x98]
mov eax, dword [esi]
push 0
mov ecx, esi
call dword [eax + 0x9c]
mov eax, dword [esi]
mov ecx, esi
push 0
call dword [eax + 0xa0]
mov eax, dword [esi]
mov ecx, esi
push 0
call dword [eax + 0xa4]
mov eax, dword [esi]
mov ecx, esi
push 0
call dword [eax + 0xa8]
mov eax, dword [esi]
mov ecx, esi
push 0
call dword [eax + 0xac]
mov eax, dword [esi]
mov ecx, esi
push 0
call dword [eax + 0xb0]
mov eax, dword [esi]
mov ecx, esi
push 0
call dword [eax + 0xb4]
mov eax, dword [esi]
mov ecx, esi
push 0
call dword [eax + 0xb8]
mov eax, dword [esi]
mov ecx, esi
push 0
call dword [eax + 0xbc]
mov eax, dword [esi]
mov ecx, esi
push 0
call dword [eax + 0xc0]
mov eax, dword [esi + 0x10]
test eax, eax
jne 0x43476d
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push eax
push str.005E7DF6__04d_4146__X_AD15417DE176
lea eax, [ebp - 0xcc]
push 0x64
push eax
call fcn.00407ae0
add esp, 0x14
lea eax, [ebp - 0xcc]
push eax
push 0
push 0xf001f
call dword [sym.imp.KERNEL32.dll_OpenFileMappingW]
test eax, eax
jne 0x43476a
lea eax, [ebp - 0xcc]
push eax
push 0x1000
push 0
push 4
push 0
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov dword [esi + 0x10], eax
push 0
push 0
push 0
push 6
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
test eax, eax
je 0x434795
push edi
add esi, 0x14
mov edi, eax
mov ecx, 0x30
rep movsd dword es:[edi], dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
pop edi
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
mov byte [0x548f4d], 0
pop ebx
call fcn.004dadd7
mov esp, ebp
pop ebp
ret 8