Function at 0x418f80
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x48b7ab
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24c
mov eax, dword [str.00000000]
mov ecx, dword [0x4b2278]
mov dl, byte [0x4b227c]
push esi
push edi
mov dword [esp + 0xd4], eax
mov dword [esp + 0xd8], ecx
mov ecx, 0x3d
xor eax, eax
lea edi, [esp + 0xdd]
mov byte [esp + 0xdc], dl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0xd4]
push eax
call fcn.00437fb0
add esp, 4
lea ecx, [esp + 0xc]
lea edx, [esp + 0xd4]
xor edi, edi
push ecx
push 0x4b1ed4
push edx
mov dword [esp + 0x18], edi
call fcn.0045941e
mov eax, dword [esp + 0x18]
add esp, 0xc
lea ecx, [esp + 0x1d4]
push eax
push str._08lx
push ecx
call fcn.00458446
add esp, 8
mov ecx, esp
mov dword [esp + 0x24], esp
push 0x4bfab8
call fcn.0046e7c1
push 0x4b2268
lea ecx, [esp + 0x1c]
mov dword [esp + 0x264], edi
call fcn.0046e7c1
lea edx, [esp + 0xd8]
mov byte [esp + 0x260], 1
push edx
push eax
lea eax, [esp + 0x1c]
push eax
call fcn.0046e9e8
push 0x4b1000
lea ecx, [esp + 0x20]
push eax
push ecx
mov byte [esp + 0x26c], 2
call fcn.0046e9e8
lea edx, [esp + 0x1d8]
mov byte [esp + 0x260], 3
push edx
push eax
lea eax, [esp + 0x28]
push eax
call fcn.0046e9e8
push ecx
mov byte [esp + 0x264], 4
mov ecx, esp
mov dword [esp + 0x10], esp
push 0x4b0ff8
push eax
push ecx
call fcn.0046e9e8
push ecx
mov byte [esp + 0x268], 5
mov ecx, esp
mov dword [esp + 0x30], esp
push 0x4b225c
call fcn.0046e7c1
mov edx, dword [esp + 0x270]
lea ecx, [esp + 0x34]
push edx
push edi
mov byte [esp + 0x270], 9
call fcn.004012e0
lea ecx, [esp + 0x1c]
mov byte [esp + 0x25c], 0xe
call fcn.0046e753
lea ecx, [esp + 0x18]
mov byte [esp + 0x25c], 0xd
call fcn.0046e753
lea ecx, [esp + 0x10]
mov byte [esp + 0x25c], 0xc
call fcn.0046e753
lea ecx, [esp + 0x14]
mov byte [esp + 0x25c], 0xb
call fcn.0046e753
push 0x4b2248
lea ecx, [esp + 0xd4]
call fcn.0046e8dc
lea ecx, [esp + 0x28]
call fcn.0046f2bc
cmp eax, 1
je 0x419224
cmp dword [0x4c0078], edi
je 0x419190
lea eax, [esp + 8]
push edi
push eax
mov ecx, 0x4bfe38
call fcn.0041bf70
mov ecx, dword [esp + 0xc8]
mov eax, dword [eax]
mov esi, dword [sym.imp.KERNEL32.dll_WriteProfileStringA]
push ecx
push str.regcode
push eax
call esi
lea ecx, [esp + 8]
call fcn.0046e753
push edi
push edi
push edi
call esi
push edi
push edi
push edi
push edi
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
lea ecx, [esp + 0xd0]
mov dword [esp + 0x25c], 0x13
call fcn.0046e753
lea ecx, [esp + 0xcc]
mov byte [esp + 0x25c], 0x12
call fcn.0046e753
lea ecx, [esp + 0xc8]
mov byte [esp + 0x25c], 0x11
call fcn.0046e753
lea ecx, [esp + 0x8c]
mov byte [esp + 0x25c], 0x10
call fcn.004801d8
lea ecx, [esp + 0x88]
mov byte [esp + 0x25c], 0xf
call fcn.0046e753
lea ecx, [esp + 0x28]
mov dword [esp + 0x25c], 0xffffffff
call fcn.0046eeb9
xor al, al
mov ecx, dword [esp + 0x254]
mov dword fs:[0], ecx
pop edi
pop esi
add esp, 0x258
ret
lea edx, [esp + 8]
push edi
push edx
mov ecx, 0x4bfe38
call fcn.0041bf70
mov ecx, dword [esp + 0xc8]
mov eax, dword [eax]
mov esi, dword [sym.imp.KERNEL32.dll_WriteProfileStringA]
push ecx
push str.regcode
push eax
call esi
lea ecx, [esp + 8]
call fcn.0046e753
push edi
push edi
push edi
call esi
push edi
push edi
push edi
push edi
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
lea ecx, [esp + 0xd0]
mov dword [esp + 0x25c], 0x18
call fcn.0046e753
lea ecx, [esp + 0xcc]
mov byte [esp + 0x25c], 0x17
call fcn.0046e753
lea ecx, [esp + 0xc8]
mov byte [esp + 0x25c], 0x16
call fcn.0046e753
lea ecx, [esp + 0x8c]
mov byte [esp + 0x25c], 0x15
call fcn.004801d8
lea ecx, [esp + 0x88]
mov byte [esp + 0x25c], 0x14
call fcn.0046e753
lea ecx, [esp + 0x28]
mov dword [esp + 0x25c], 0xffffffff
call fcn.0046eeb9
mov ecx, dword [esp + 0x254]
pop edi
mov al, 1
mov dword fs:[0], ecx
pop esi
add esp, 0x258
ret