Function at 0x41c360
Capabilities:
Accept command line arguments

Disassembly:
push 0xffffffffffffffff
push 0x475c16
mov eax, dword fs:[0]
push eax
sub esp, 0x230
mov eax, dword [0x490018]
xor eax, esp
mov dword [esp + 0x22c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x490018]
xor eax, esp
push eax
lea eax, [esp + 0x244]
mov dword fs:[0], eax
mov ebp, dword [0x491c54]
mov ecx, ebp
call fcn.0041cc50
mov eax, dword [ebp + 0x6c]
xor edi, edi
push eax
push edi
push 0x68
mov dword [ebp + 0x5c], edi
mov dword [ebp + 0x68], edi
call fcn.00403d20
push 0x206
lea ecx, [esp + 0x4a]
xor eax, eax
push edi
push ecx
mov word [esp + 0x50], ax
call sub.MSVCR90.dll_memset
add esp, 0x18
push 0x104
lea edx, [esp + 0x3c]
push edx
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [esp + 0x38]
push eax
lea ecx, [ebp + 0x54]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator_1]
mov ecx, dword [0x491c54]
mov eax, dword [ecx + 0x54]
lea esi, [ebp + 0x58]
push eax
mov ecx, esi
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator_1]
call fcn.00401a10
mov edx, dword [esi]
mov eax, dword [edx - 0xc]
cmp eax, edi
je 0x41c439
dec eax
push eax
mov ecx, esi
call dword [sym.imp.mfc90u.dll_ATL::CSimpleStringT_wchar_t_1_::operator__]
cmp ax, 0x5c
jne 0x41c439
mov eax, dword [esi]
mov eax, dword [eax - 0xc]
push 1
dec eax
push eax
mov ecx, esi
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Delete]
lea ecx, [esp + 0x24]
push ecx
call fcn.00403f20
add esp, 4
mov dword [esp + 0x24c], edi
mov edx, dword [sym.imp.MSVCR90.dll___wargv]
mov eax, dword [edx]
mov ecx, dword [eax + 4]
push ecx
lea ecx, [esp + 0x20]
call dword [0x4763f4]
mov byte [esp + 0x24c], 1
push 0x47d6d8
lea ecx, [esp + 0x20]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Compare]
test eax, eax
jne 0x41c505
mov eax, dword [ebp + 0x6c]
mov ecx, dword [ebp + 0x68]
push eax
push ecx
push 0x69
call fcn.00403d20
mov eax, dword [ebp + 0x6c]
mov ecx, dword [ebp + 0x68]
push eax
push ecx
push 0x6a
call fcn.00403d20
add esp, 0x18
mov dword [ebp + 0x5c], 4
mov dword [ebp + 0xc], 1
mov byte [esp + 0x24c], 0
lea ecx, [esp + 0x1c]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov dword [esp + 0x24c], 0xffffffff
lea ecx, [esp + 0x24]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov eax, 1
mov ecx, dword [esp + 0x244]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x22c]
xor ecx, esp
call fcn.00428cb4
add esp, 0x23c
ret
push edi
lea ecx, [esp + 0x20]
call dword [sym.imp.mfc90u.dll_ATL::CSimpleStringT_wchar_t_1_::GetAt]
mov edx, 0x2d
cmp dx, ax
je 0x41c5d9
mov eax, dword [esp + 0x24]
push eax
lea ecx, [esp + 0x20]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CompareNoCase]
test eax, eax
jne 0x41c5a1
push 0x47d6d8
lea ecx, [esp + 0x1c]
call dword [0x4763f4]
mov byte [esp + 0x24c], 2
push 0x4e67
lea ecx, [esp + 0x1c]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::LoadStringW]
mov ecx, dword [esp + 0x18]
push ecx
call dword [sym.imp.MSVCR90.dll__wtoi]
mov esi, 0xc9
lea edi, [eax + 0xc9]
add esp, 4
cmp edi, esi
jbe 0x41c58a
mov eax, dword [ebp + 0x6c]
mov ecx, dword [ebp + 0x68]
push eax
push ecx
push esi
call fcn.00403d20
inc esi
add esp, 0xc
cmp esi, edi
jb 0x41c574
mov byte [esp + 0x24c], 1
lea ecx, [esp + 0x18]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
jmp 0x41c4aa
mov eax, dword [ebp + 0x6c]
mov ecx, dword [ebp + 0x68]
push eax
push ecx
push 0x4e25
call fcn.00403d20
mov eax, dword [ebp + 0x6c]
mov ecx, dword [ebp + 0x68]
push eax
push ecx
push 0x69
call fcn.00403d20
mov eax, dword [ebp + 0x6c]
mov ecx, dword [ebp + 0x68]
push eax
push ecx
push 0x6a
call fcn.00403d20
add esp, 0x24
jmp 0x41c4a3
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
lea ecx, [esp + 0x18]
call dword [0x4763f4]
mov byte [esp + 0x24c], 3
xor ebx, ebx
mov dword [esp + 0x2c], edi
jmp 0x41c600
cmp dword [esp + 0x2c], edi
jne 0x41c6d3
push ebx
push 0x20
lea ecx, [esp + 0x1c]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Find]
mov esi, eax
push esi
lea edx, [esp + 0x1c]
push edx
lea ecx, [esp + 0x1c]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Left]
mov byte [esp + 0x24c], 4
push 0
push 0x22
lea ecx, [esp + 0x20]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Find]
cmp eax, 0xffffffff
je 0x41c66f
inc eax
push eax
push 0x22
lea ecx, [esp + 0x20]
inc edi
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Find]
cmp eax, 0xffffffff
jne 0x41c644
test edi, edi
je 0x41c66f
cmp edi, 2
je 0x41c66f
cmp edi, 1
jne 0x41c701
lea ebx, [esi + 1]
jmp 0x41c6b6
mov eax, dword [esp + 0x14]
mov eax, dword [eax - 0xc]
sub eax, esi
dec eax
push eax
lea ecx, [esp + 0x2c]
push ecx
lea ecx, [esp + 0x1c]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Right]
mov byte [esp + 0x24c], 5
push eax
lea ecx, [esp + 0x18]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator]
mov byte [esp + 0x24c], 4
lea ecx, [esp + 0x28]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov dword [esp + 0x2c], 1
mov byte [esp + 0x24c], 3
lea ecx, [esp + 0x18]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
xor edi, edi
cmp ebx, 0xffffffff
jne 0x41c600
push 0x5c
mov dword [ebp + 0x14], edi
call sub.mfc90u.dll_new
add esp, 4
mov dword [esp + 0x28], eax
mov byte [esp + 0x24c], 6
cmp eax, edi
je 0x41c743
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx - 0xc]
push edx
push ecx
push eax
call fcn.00410cb0
jmp 0x41c745
mov edx, dword [esp + 0x14]
push edx
push 0x4e25
call fcn.00403e30
add esp, 8
mov dword [ebp + 0x5c], 4
mov byte [esp + 0x24c], 3
lea ecx, [esp + 0x18]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov byte [esp + 0x24c], 1
lea ecx, [esp + 0x14]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
jmp 0x41c4b1
xor eax, eax
mov byte [esp + 0x24c], 3
push eax
mov dword [ebp + 0x14], eax
call fcn.00410e10
mov esi, eax
not eax
test al, 1
je 0x41c7c7
mov eax, dword [ebp + 0x14]
add eax, 0x20
cmp dword [eax + 0x18], 8
jb 0x41c76f
mov eax, dword [eax + 4]
jmp 0x41c772
add eax, 4
push eax
push 0x4e25
call fcn.00403e30
add esp, 8
mov dword [ebp + 0x5c], 4
mov byte [esp + 0x24c], 1
lea ecx, [esp + 0x14]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov byte [esp + 0x24c], 0
lea ecx, [esp + 0x1c]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov dword [esp + 0x24c], 0xffffffff
lea ecx, [esp + 0x24]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov eax, esi
jmp 0x41c4dd
push 0x5c
call sub.mfc90u.dll_new
add esp, 4
mov dword [esp + 0x28], eax
mov byte [esp + 0x24c], 7
cmp eax, edi
je 0x41c7ec
push ebp
push eax
call fcn.0040ff20
mov esi, eax
jmp 0x41c7ee
xor esi, esi
mov byte [esp + 0x24c], 3
mov dword [ebp + 4], esi
mov dword [esi + 0x54], 1
cmp dword [esi + 8], edi
je 0x41c811
mov edx, dword [esi]
mov eax, dword [edx + 8]
mov ecx, esi
call eax
mov dword [esi + 8], edi
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, esi
call eax
mov ebx, eax
test bl, 1
je 0x41c828
mov dword [esi + 8], 1
mov ecx, ebx
not ecx
test cl, 1
je 0x41c87f
mov esi, ebp
call fcn.0041c9d0
mov dword [ebp + 0x5c], 4
mov byte [esp + 0x24c], 1
lea ecx, [esp + 0x14]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov byte [esp + 0x24c], 0
lea ecx, [esp + 0x1c]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov dword [esp + 0x24c], 0xffffffff
lea ecx, [esp + 0x24]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov eax, ebx
jmp 0x41c4dd
lea eax, [ebp + 0x58]
push eax
lea ecx, [esp + 0x24]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_class]
mov byte [esp + 0x24c], 8
mov edx, dword [esp + 0x20]
mov eax, dword [edx - 0xc]
test eax, eax
je 0x41c8c1
dec eax
push eax
lea ecx, [esp + 0x24]
call dword [sym.imp.mfc90u.dll_ATL::CSimpleStringT_wchar_t_1_::operator__]
cmp ax, 0x5c
je 0x41c8c1
push 0x47d53c
lea ecx, [esp + 0x24]
call dword [0x476390]
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x38]
push ecx
mov edi, str.Formats
call fcn.00404030
add esp, 8
mov byte [esp + 0x24c], 9
mov eax, dword [ebp + 4]
mov ecx, dword [eax + 0xc]
mov edx, dword [esp + 0x34]
add ecx, 0x34
push edx
call fcn.00445ae0
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x34]
push ecx
mov edi, str.Coders
call fcn.00404030
add esp, 8
mov bl, 0xa
mov byte [esp + 0x24c], bl
mov eax, dword [ebp + 4]
mov eax, dword [eax + 0xc]
mov edx, dword [esp + 0x30]
add eax, 0xc
push edx
push eax
call fcn.00444de0
push 0x60
call sub.mfc90u.dll_new
add esp, 4
mov dword [esp + 0x28], eax
mov byte [esp + 0x24c], 0xb
test eax, eax
je 0x41c954
mov ecx, dword [ebp + 0x14]
lea edx, [ecx + 0x4c]
push edx
add ecx, 0x3c
push ecx
push eax
call fcn.00414000
jmp 0x41c956
xor eax, eax
mov byte [esp + 0x24c], bl
push eax
mov dword [ebp + 8], eax
call fcn.00414120
cmp eax, 0xf00
jne 0x41c976
mov dword [ebp + 0x5c], 3
jmp 0x41c97f
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x5c]
mov dword [ebp + 0x5c], ecx
mov byte [esp + 0x24c], 9
lea ecx, [esp + 0x30]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov byte [esp + 0x24c], 8
lea ecx, [esp + 0x34]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov byte [esp + 0x24c], 3
lea ecx, [esp + 0x20]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov byte [esp + 0x24c], 1
lea ecx, [esp + 0x14]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
jmp 0x41c4aa