Function at 0x413c80
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4e3bf0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push esi
push edi
mov esi, ecx
lea eax, [esp + 8]
xor edi, edi
push eax
mov dword [esp + 0x2c], edi
call fcn.0041d3c0
lea edx, [esp + 0xc]
mov ecx, esp
mov dword [esp + 0x14], esp
push edx
mov byte [esp + 0x30], 1
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esp + 0x1c]
call fcn.0042a640
lea ecx, [esp + 0xc]
mov byte [esp + 0x28], 2
call sub.MFC42.DLL_CString::CString
mov eax, 0xffffff
push str.ExpPassportWidth
lea ecx, [esp + 0x10]
mov byte [esp + 0x2c], 3
mov dword [esi + 8], 0x3f
mov dword [esi + 0xc], 0x2a
mov dword [esi + 0x10], eax
mov dword [esi + 0x20], 7
mov dword [esi + 0x24], 5
mov dword [esi + 0x28], 1
mov dword [esi + 0x14], edi
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], 1
call fcn.0047d36c
lea eax, [esp + 8]
lea edx, [esp + 0xc]
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push edx
call sub.MFC42.DLL_CString::CString_1
push ecx
lea eax, [esp + 0x3c]
mov ecx, esp
mov dword [esp + 0x20], esp
push eax
mov byte [esp + 0x38], 4
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esp + 0x24]
mov byte [esp + 0x34], 3
call fcn.0042a810
mov edi, dword [sym.imp.MSVCRT.dll_atoi]
cmp eax, 1
jne 0x413d75
mov ecx, dword [esp + 8]
push ecx
call edi
add esp, 4
mov dword [esi + 8], eax
push str.ExpPassportHeight
lea ecx, [esp + 0x10]
call fcn.0047d36c
lea edx, [esp + 8]
lea eax, [esp + 0xc]
push edx
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push eax
call sub.MFC42.DLL_CString::CString_1
push ecx
lea edx, [esp + 0x3c]
mov ecx, esp
mov dword [esp + 0x1c], esp
push edx
mov byte [esp + 0x38], 5
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esp + 0x24]
mov byte [esp + 0x34], 3
call fcn.0042a810
cmp eax, 1
jne 0x413dcf
mov eax, dword [esp + 8]
push eax
call edi
add esp, 4
mov dword [esi + 0xc], eax
push str.ExpBackgroudColor
lea ecx, [esp + 0x10]
call fcn.0047d36c
lea ecx, [esp + 8]
lea edx, [esp + 0xc]
push ecx
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push edx
call sub.MFC42.DLL_CString::CString_1
push ecx
lea eax, [esp + 0x3c]
mov ecx, esp
mov dword [esp + 0x1c], esp
push eax
mov byte [esp + 0x38], 6
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esp + 0x24]
mov byte [esp + 0x34], 3
call fcn.0042a810
cmp eax, 1
jne 0x413e29
mov ecx, dword [esp + 8]
push ecx
call edi
add esp, 4
mov dword [esi + 0x10], eax
push str.ExpSpace
lea ecx, [esp + 0x10]
call fcn.0047d36c
lea edx, [esp + 8]
lea eax, [esp + 0xc]
push edx
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push eax
call sub.MFC42.DLL_CString::CString_1
push ecx
lea edx, [esp + 0x3c]
mov ecx, esp
mov dword [esp + 0x1c], esp
push edx
mov byte [esp + 0x38], 7
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esp + 0x24]
mov byte [esp + 0x34], 3
call fcn.0042a810
cmp eax, 1
jne 0x413e83
mov eax, dword [esp + 8]
push eax
call edi
add esp, 4
mov dword [esi + 0x20], eax
push str.ExpMinMagin
lea ecx, [esp + 0x10]
call fcn.0047d36c
lea ecx, [esp + 8]
lea edx, [esp + 0xc]
push ecx
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push edx
call sub.MFC42.DLL_CString::CString_1
push ecx
lea eax, [esp + 0x3c]
mov ecx, esp
mov dword [esp + 0x1c], esp
push eax
mov byte [esp + 0x38], 8
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esp + 0x24]
mov byte [esp + 0x34], 3
call fcn.0042a810
cmp eax, 1
jne 0x413edd
mov ecx, dword [esp + 8]
push ecx
call edi
add esp, 4
mov dword [esi + 0x24], eax
push str.UserMaker
lea ecx, [esp + 0x10]
call fcn.0047d36c
lea edx, [esp + 8]
lea eax, [esp + 0xc]
push edx
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push eax
call sub.MFC42.DLL_CString::CString_1
push ecx
lea edx, [esp + 0x3c]
mov ecx, esp
mov dword [esp + 0x1c], esp
push edx
mov byte [esp + 0x38], 9
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esp + 0x24]
mov byte [esp + 0x34], 3
call fcn.0042a810
cmp eax, 1
jne 0x413f37
mov eax, dword [esp + 8]
push eax
call edi
add esp, 4
mov dword [esi + 0x28], eax
mov eax, dword [esi + 8]
cmp eax, 0xa
jl 0x413f46
cmp eax, 0x3e8
jle 0x413f4d
mov dword [esi + 8], 0x74
mov eax, dword [esi + 0xc]
cmp eax, 0xa
jl 0x413f5c
cmp eax, 0x3e8
jle 0x413f63
mov dword [esi + 0xc], 0x4b
push 0x80c1
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CString::LoadStringA
push 0
lea ecx, [esp + 0x34]
call sub.MFC42.DLL_CString::GetBuffer
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
lea edx, [esi + 0x3c]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov byte [esp + 0x28], 2
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0xc]
call fcn.0047d354
lea ecx, [esp + 0x18]
mov byte [esp + 0x28], 1
call fcn.0042a6d0
lea ecx, [esp + 8]
mov byte [esp + 0x28], 0
call fcn.0047d354
lea ecx, [esp + 0x30]
mov dword [esp + 0x28], 0xffffffff
call fcn.0047d354
mov ecx, dword [esp + 0x20]
pop edi
mov eax, 1
mov dword fs:[0], ecx
pop esi
add esp, 0x24
ret 4