Function at 0x41a160
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x438056
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc0c
push ebx
push ebp
push esi
mov esi, dword [esp + 0xc28]
mov ebp, ecx
push edi
mov ecx, 0x1a
xor eax, eax
lea edi, [esp + 0x2c]
mov edx, dword [esi + 0xc]
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0xc30]
xor ebx, ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x30], 0x186a7
mov ecx, dword [eax + 0x74]
mov eax, dword [esi + 0x1c]
cmp eax, ebx
mov dword [esp + 0x2c], 2
mov dword [esp + 0x28], ecx
mov dword [esp + 0x3c], edx
jne 0x41a1cc
mov eax, 0x44e4fc
push eax
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::CString_1
mov dword [esp + 0xc24], ebx
call fcn.004096c0
mov ecx, 0x1ff
xor eax, eax
lea edi, [esp + 0x41e]
mov word [esp + 0x41c], bx
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x10]
mov dword [esp + 0x20], 0x400
stosw word es:[edi], ax
call sub.MFC42.DLL_CString::CString_4
push esi
mov ecx, ebp
mov byte [esp + 0xc28], 1
call fcn.004193d0
mov eax, dword [esi + 0x1c]
mov dword [esp + 0x18], ebx
cmp eax, ebx
mov edx, eax
jne 0x41a22f
mov edx, 0x44e4fc
mov ecx, dword [esi + 0x34]
cmp ecx, ebx
jne 0x41a23b
mov ecx, 0x44e4fc
mov eax, dword [esi + 0x30]
cmp eax, ebx
jne 0x41a247
mov eax, 0x44e4fc
lea edi, [esp + 0x18]
push edi
push edx
lea edx, [esp + 0x28]
push edx
lea edx, [esp + 0x428]
push edx
push ecx
push eax
mov eax, dword [esi + 0x2c]
push eax
lea ecx, [ebp + 0x5cc]
call fcn.00401540
lea ecx, [esp + 0x41c]
mov dword [esp + 0x24], eax
push ecx
lea ecx, [esp + 0x14]
call fcn.0042a312
push 0x400
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::GetBuffer
mov edi, dword [esp + 0xc30]
mov ebx, eax
mov eax, dword [edi + 0x64]
test eax, eax
jne 0x41a2f4
mov edx, dword [esp + 0x10]
lea ecx, [ebp + 0x474]
push edx
push 0
call fcn.00429af0
test eax, eax
jne 0x41a2f4
push eax
mov eax, dword [esp + 0xc38]
push eax
push edi
push esi
mov ecx, ebp
call fcn.00419680
lea ecx, [esp + 0x10]
mov esi, eax
mov byte [esp + 0xc24], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov dword [esp + 0xc24], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, esi
jmp 0x41a40a
mov eax, dword [esp + 0x24]
test eax, eax
je 0x41a378
push edi
mov ecx, ebp
call fcn.0041a630
push ebx
call fcn.004073f0
mov esi, eax
mov ecx, 0xe1
xor eax, eax
lea edi, [esp + 0x9a]
mov word [esp + 0x98], 0
add esp, 4
rep stosd dword es:[edi], eax
test esi, esi
stosw word es:[edi], ax
jne 0x41a34a
lea ecx, [esp + 0x94]
push ecx
push ebx
mov ecx, ebp
call fcn.00421a30
mov edi, eax
test edi, edi
jne 0x41a34e
jmp 0x41a3e3
mov edi, dword [esp + 0x1c]
cmp dword [esp + 0x348], 0xa
jne 0x41a360
test esi, esi
je 0x41a3e3
mov edx, dword [esp + 0xc30]
push 2
push 0x186a7
push edx
mov ecx, ebp
call fcn.00419e60
jmp 0x41a3e3
mov eax, dword [esp + 0x18]
mov edx, 0x44108c
lea ecx, [esp + 0x44]
mov dword [esp + 0x38], eax
mov esi, 0x28
lea eax, [esp + 0x44]
sub edx, ecx
mov cl, byte [edx + eax]
test cl, cl
je 0x41a3a3
mov byte [eax], cl
inc eax
dec esi
jne 0x41a394
jmp 0x41a3a7
test esi, esi
jne 0x41a3a8
dec eax
mov edx, dword [esp + 0x14]
push 0
push 0x449eb8
mov byte [eax], 0
push 0x44a1b4
push edx
lea eax, [esp + 0x38]
push 0x44a1a4
push eax
push edi
mov ecx, ebp
call fcn.00415410
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x28]
push ecx
push edx
mov ecx, ebp
call fcn.0041f800
mov edi, dword [esp + 0x1c]
lea ecx, [esp + 0x10]
mov byte [esp + 0xc24], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov dword [esp + 0xc24], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, edi
mov ecx, dword [esp + 0xc1c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0xc18
ret 0xc