Function at 0x40c4d2
Capabilities:
Accept command line arguments
Identify system language via api

Disassembly:
mov eax, 0x40fb0a
call fcn.0040ee68
sub esp, 0x144
movsx eax, word [0x4142f6]
mov ecx, dword [0x414308]
push ebx
push esi
xor esi, esi
lea eax, [ecx + eax + 0x11ac0001]
push edi
mov dword [0x414308], eax
mov al, byte [ebp + 0x13]
push esi
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x34], esi
mov byte [ebp - 0x30], al
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
inc dword [0x414314]
push 1
pop ebx
lea eax, [ebp - 0x10c]
push 0x78
push esi
push eax
mov dword [ebp - 4], ebx
call sub.MSVCRT.dll_memset
or byte [0x4142e5], 0xff
mov edi, 0xd5
add esp, 0xc
mov word [0x4142ee], 0xfffe
mov dword [ebp - 0x10c], 0x3c
mov dword [ebp - 0xf8], edi
mov dword [0x41431c], ebx
mov dword [ebp - 0xdc], edi
mov dword [ebp - 0xec], edi
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov dword [0x414314], eax
mov dword [ebp - 0xe4], edi
movsx eax, word [0x4142ee]
push eax
movsx eax, byte [0x4142e2]
push eax
call fcn.00401d79
push 0x3fefffff
push 0xdfc7ffff
mov byte [0x4142e1], al
mov dword [ebp - 0xd4], edi
call fcn.00401e67
mov word [0x4142f6], ax
mov eax, dword [ebp + 0xc]
add esp, 0x10
cmp word [0x4142fa], si
mov edi, dword [eax + 8]
je 0x40c5cf
cmp byte [0x4142e2], 0
mov dword [0x414314], ebx
jne 0x40c5d5
mov dword [0x414314], esi
lea eax, [edi + 1]
push eax
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov dword [esp], 0x2f63ffff
push dword [0x414320]
mov ebx, eax
call fcn.00401d79
mov byte [0x4142e4], al
mov eax, dword [ebp + 0xc]
pop ecx
mov eax, dword [eax + 4]
pop ecx
cmp eax, esi
jne 0x40c608
mov eax, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
push edi
push eax
push ebx
call sub.MSVCRT.dll_memcpy
push 0x5827ffff
push 0xc947ffff
call fcn.00401c74
mov word [0x4142ee], ax
and byte [edi + ebx], 0
push 0x7b3dffff
push dword [0x41431c]
call fcn.00401e15
add dword [0x41431c], eax
mov ecx, dword [ebp + 0xc]
add esp, 0x1c
lea eax, [ebp - 0xd]
mov byte [ebp - 0xd], 0x3f
push 1
push esi
push eax
call dword [sym.imp.MSVCP60.dll_public:_unsigned_int___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::find_char_const___unsigned_int__unsigned_int_const]
movsx ecx, word [0x4142fc]
or ecx, 0xbbb5ffff
cmp eax, 0xffffffff
mov dword [ebp + 0xc], eax
mov dword [0x41431c], ecx
je 0x40c675
and byte [eax + ebx], 0
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
movzx eax, ax
add dword [0x414314], eax
lea eax, [ebp - 0x10c]
push eax
push esi
push edi
push ebx
call dword [0x417104]
push dword [0x414310]
call dword [sym.imp.USER32.dll_IsWindow]
add byte [0x4142e4], al
mov eax, dword [ebp + 0xc]
cmp eax, 0xffffffff
je 0x40c6b2
mov byte [eax + ebx], 0x3f
mov al, byte [0x4142f2]
mov edi, dword [ebp - 0xfc]
add al, byte [0x4142e3]
push esi
lea ecx, [ebp - 0x44]
mov byte [0x4142e5], al
mov al, byte [ebp + 0x13]
mov byte [ebp - 0x44], al
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
push edi
call sub.MSVCRT.dll_strlen
pop ecx
push eax
push edi
lea ecx, [ebp - 0x44]
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::assign_char_const___unsigned_int_]
mov eax, dword [0x414308]
mov ecx, dword [0x414318]
mov byte [ebp - 4], 2
lea eax, [ecx + eax - 0x3e83ffff]
lea ecx, [ebp - 0x44]
mov dword [0x414318], eax
mov eax, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
push dword [eax]
push dword [ebp - 0xf8]
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::erase_unsigned_int__unsigned_int_]
push 0x486fffff
push 0x2ac7ffff
call fcn.00401c74
add byte [0x4142e5], al
mov al, byte [ebp + 0x13]
mov edi, dword [ebp - 0xe0]
pop ecx
pop ecx
mov byte [ebp - 0x74], al
push esi
lea ecx, [ebp - 0x74]
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
push edi
call sub.MSVCRT.dll_strlen
pop ecx
push eax
push edi
lea ecx, [ebp - 0x74]
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::assign_char_const___unsigned_int_]
movsx ax, byte [0x4142e7]
mov word [0x4142f4], ax
mov al, byte [ebp + 0x13]
push esi
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 3
mov byte [ebp - 0x20], al
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
movsx eax, word [0x4142f8]
push eax
push 0x6cb3ffff
mov byte [ebp - 4], 4
call fcn.00401ca7
add word [0x4142f8], ax
mov eax, dword [ebp + 0x10]
pop ecx
cmp dword [eax + 8], esi
pop ecx
jbe 0x40c7de
mov eax, dword [0x411890]
mov bl, 0x2b
push 0xfffffffffffffffc
mov al, byte [eax]
pop edi
add al, bl
movzx eax, al
add eax, 3
and eax, edi
call fcn.0040edd0
mov eax, esp
push dword [0x411890]
push eax
call fcn.0040e0e8
push eax
mov dword [ebp + 0xc], eax
call sub.MSVCRT.dll_strlen
add esp, 0xc
push eax
push dword [ebp + 0xc]
jmp 0x40c817
mov eax, dword [0x411894]
mov bl, 0x2b
push 0xfffffffffffffffc
mov al, byte [eax]
pop edi
add al, bl
movzx eax, al
add eax, 3
and eax, edi
call fcn.0040edd0
mov eax, esp
push dword [0x411894]
push eax
call fcn.0040e0e8
push eax
mov dword [ebp + 0xc], eax
call sub.MSVCRT.dll_strlen
add esp, 0xc
push eax
push dword [ebp + 0xc]
lea ecx, [ebp - 0x20]
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::assign_char_const___unsigned_int_]
movsx eax, word [0x4142f0]
imul eax, dword [0x41430c]
add dword [0x414308], eax
mov eax, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
lea ecx, [ebp - 0x20]
push dword [eax]
lea eax, [ebp - 0x74]
push esi
push eax
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::append_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___unsigned_int__unsigned_int_]
push 0xffffffffffffffff
call dword [sym.imp.USER32.dll_IsCharAlphaA]
mov esi, dword [0x411898]
add dword [0x414324], eax
mov al, byte [esi]
add al, bl
movzx eax, al
add eax, 3
and eax, edi
call fcn.0040edd0
mov eax, esp
push esi
push eax
call fcn.0040e0e8
mov esi, eax
push esi
call sub.MSVCRT.dll_strlen
add esp, 0xc
lea ecx, [ebp - 0x20]
push eax
push esi
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::append_char_const___unsigned_int_]
push 0x7fbbffff
push 0x2e89ffff
call fcn.00401c74
add dword [0x414300], eax
pop ecx
mov esi, dword [0x41189c]
pop ecx
push 0
pop eax
setne al
add byte [0x4142e0], al
mov al, byte [esi]
add al, bl
movzx eax, al
add eax, 3
and eax, edi
call fcn.0040edd0
mov eax, esp
push esi
push eax
call fcn.0040e0e8
mov esi, eax
push esi
call sub.MSVCRT.dll_strlen
add esp, 0xc
lea ecx, [ebp - 0x20]
push eax
push esi
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::append_char_const___unsigned_int_]
movsx eax, byte [0x4142e6]
push dword [0x414320]
push eax
call fcn.00401c1e
mov esi, dword [0x4118a0]
mov byte [0x4142e3], al
pop ecx
mov al, byte [esi]
pop ecx
add al, bl
movzx eax, al
add eax, 3
and eax, edi
call fcn.0040edd0
mov eax, esp
push esi
push eax
call fcn.0040e0e8
mov esi, eax
push esi
call sub.MSVCRT.dll_strlen
add esp, 0xc
lea ecx, [ebp - 0x20]
push eax
push esi
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::append_char_const___unsigned_int_]
mov eax, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
mov dword [0x414300], 0x7f9bfffe
lea ecx, [ebp - 0x20]
push dword [eax]
lea eax, [ebp - 0x44]
push 0
push eax
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::append_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___unsigned_int__unsigned_int_]
push dword [0x41430c]
push 0x9517ffff
call fcn.00401d2a
mov esi, dword [0x4118a4]
mov dword [0x414300], eax
pop ecx
mov al, byte [esi]
pop ecx
add al, bl
movzx eax, al
add eax, 3
and eax, edi
call fcn.0040edd0
mov eax, esp
push esi
push eax
call fcn.0040e0e8
mov esi, eax
push esi
call sub.MSVCRT.dll_strlen
add esp, 0xc
lea ecx, [ebp - 0x20]
push eax
push esi
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::append_char_const___unsigned_int_]
mov esi, dword [0x4118a8]
mov dword [0x414304], 0x86620000
mov al, byte [esi]
add al, bl
movzx eax, al
add eax, 3
and eax, edi
call fcn.0040edd0
mov eax, esp
push esi
push eax
call fcn.0040e0e8
mov esi, eax
push esi
call sub.MSVCRT.dll_strlen
add esp, 0xc
lea ecx, [ebp - 0x20]
push eax
push esi
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::append_char_const___unsigned_int_]
mov ax, word [0x4142f6]
mov esi, dword [0x4174bc]
shl ax, 1
mov word [0x4142f6], ax
mov al, byte [esi]
add al, bl
movzx eax, al
add eax, 3
and eax, edi
call fcn.0040edd0
mov eax, esp
push esi
push eax
call fcn.0040e0e8
mov esi, eax
push esi
call sub.MSVCRT.dll_strlen
add esp, 0xc
push eax
push esi
lea ecx, [ebp - 0x20]
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::append_char_const___unsigned_int_]
push dword [0x41431c]
push dword [0x414314]
call fcn.00401ce9
mov esi, dword [0x4118a4]
mov word [0x4142fc], ax
pop ecx
mov al, byte [esi]
pop ecx
add al, bl
movzx eax, al
add eax, 3
and eax, edi
call fcn.0040edd0
mov eax, esp
push esi
push eax
call fcn.0040e0e8
mov esi, eax
push esi
call sub.MSVCRT.dll_strlen
add esp, 0xc
lea ecx, [ebp - 0x20]
push eax
push esi
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::append_char_const___unsigned_int_]
movsx eax, word [0x4142f8]
push eax
push 0x91e7ffff
call fcn.00401dcc
mov dword [0x414324], eax
mov eax, dword [ebp + 0x10]
pop ecx
mov eax, dword [eax + 8]
pop ecx
test eax, eax
jbe 0x40cb87
push 0x157ffff
push dword [0x414310]
call fcn.00401d79
mov esi, dword [0x4118ac]
add dword [0x414310], eax
pop ecx
mov al, byte [esi]
pop ecx
add al, bl
movzx eax, al
add eax, 3
and eax, edi
call fcn.0040edd0
mov eax, esp
push esi
push eax
call fcn.0040e0e8
mov esi, eax
push esi
call sub.MSVCRT.dll_strlen
add esp, 0xc
lea ecx, [ebp - 0x20]
push eax
push esi
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::append_char_const___unsigned_int_]
movsx eax, byte [0x4142e1]
push eax
push 0x9a61ffff
call fcn.00401dcc
mov dword [0x414310], eax
mov eax, dword [ebp + 0x10]
lea ecx, [ebp - 0x150]
push 0xa
mov eax, dword [eax + 8]
push ecx
push eax
call dword [sym.imp.MSVCRT.dll__itoa]
mov esi, eax
push esi
call sub.MSVCRT.dll_strlen
add esp, 0x18
lea ecx, [ebp - 0x20]
push eax
push esi
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::append_char_const___unsigned_int_]
movsx eax, word [0x4142fc]
push eax
movsx eax, byte [0x4142e9]
push eax
call fcn.00401dcc
mov esi, dword [0x4118a4]
mov byte [0x4142e1], al
pop ecx
mov al, byte [esi]
pop ecx
add al, bl
movzx eax, al
add eax, 3
and eax, edi
call fcn.0040edd0
mov eax, esp
push esi
push eax
call fcn.0040e0e8
mov esi, eax
push esi
call sub.MSVCRT.dll_strlen
add esp, 0xc
lea ecx, [ebp - 0x20]
push eax
push esi
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::append_char_const___unsigned_int_]
dec byte [0x4142e8]
movsx eax, word [0x4142ee]
push eax
push 0xb829ffff
call fcn.00401e67
mov esi, dword [0x4118b0]
add byte [0x4142e8], al
pop ecx
mov al, byte [esi]
pop ecx
add al, bl
movzx eax, al
add eax, 3
and eax, edi
call fcn.0040edd0
mov eax, esp
push esi
push eax
call fcn.0040e0e8
mov esi, eax
push esi
call sub.MSVCRT.dll_strlen
add esp, 0xc
lea ecx, [ebp - 0x20]
push eax
push esi
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::append_char_const___unsigned_int_]
push dword [0x414300]
push 0xab4dffff
call fcn.00401e67
mov esi, dword [0x4118b4]
mov word [0x4142ee], ax
pop ecx
mov al, byte [esi]
pop ecx
add al, bl
movzx eax, al
add eax, 3
and eax, edi
call fcn.0040edd0
mov eax, esp
push esi
push eax
call fcn.0040e0e8
mov esi, eax
push esi
call sub.MSVCRT.dll_strlen
add esp, 0xc
lea ecx, [ebp - 0x20]
push eax
push esi
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::append_char_const___unsigned_int_]
cmp byte [0x4142e1], 0
je 0x40cc3c
cmp byte [0x4142e6], 0
je 0x40cc3c
push 1
pop eax
jmp 0x40cc3e
xor eax, eax
mov esi, dword [0x4118a4]
add byte [0x4142e5], al
mov al, byte [esi]
add al, bl
movzx eax, al
add eax, 3
and eax, edi
call fcn.0040edd0
mov eax, esp
push esi
push eax
call fcn.0040e0e8
mov esi, eax
push esi
call sub.MSVCRT.dll_strlen
add esp, 0xc
lea ecx, [ebp - 0x20]
push eax
push esi
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::append_char_const___unsigned_int_]
movsx eax, word [0x4142fc]
push 0x624fffff
push eax
call fcn.00401d79
pop ecx
mov dword [0x414318], eax
mov eax, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
pop ecx
xor esi, esi
lea ecx, [ebp - 0x20]
push dword [eax]
push esi
push dword [ebp + 0x10]
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::append_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___unsigned_int__unsigned_int_]
movsx eax, word [0x4142f8]
imul eax, eax, 0xa37ffff
add dword [0x414300], eax
push esi
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0xffffffffffffffff
lea eax, [ebp - 0x20]
push esi
push eax
movzx eax, word [ebp - 0xf4]
push eax
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x54]
push eax
call fcn.0040bfa8
add esp, 0x24
mov ecx, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
mov byte [ebp - 4], 5
push dword [ecx]
lea ecx, [ebp - 0x30]
push esi
push eax
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::assign_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___unsigned_int__unsigned_int_]
push 1
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 4
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
movsx eax, word [0x4142fa]
push 0x6057ffff
push eax
call fcn.00401e67
mov word [0x4142ec], ax
lea eax, [ebp - 0x30]
push eax
call fcn.0040d52d
push 0xf2bffff
push 0x2eadffff
mov dword [ebp + 0xc], eax
call fcn.00401e15
add esp, 0x14
cmp dword [ebp + 0xc], 0x12c
mov dword [0x414308], eax
jl 0x40ce80
cmp dword [ebp + 0xc], 0x18f
jg 0x40ce80
movsx eax, byte [0x4142e9]
push eax
push 0xb70bffff
call fcn.00401e15
mov esi, dword [str.y_Rd]
mov word [0x4142f6], ax
pop ecx
mov al, byte [esi]
pop ecx
add al, bl
movzx eax, al
add eax, 3
and eax, edi
call fcn.0040edd0
mov eax, esp
push esi
push eax
call fcn.0040e0e8
pop ecx
mov esi, eax
mov al, byte [ebp + 0x13]
pop ecx
xor edi, edi
lea ecx, [ebp - 0x64]
push edi
mov byte [ebp - 0x64], al
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
push esi
call sub.MSVCRT.dll_strlen
pop ecx
push eax
push esi
lea ecx, [ebp - 0x64]
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::assign_char_const___unsigned_int_]
lea eax, [ebp - 0x30]
mov byte [ebp - 4], 6
push eax
lea eax, [ebp - 0x94]
push eax
call fcn.0040cf11
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 7
push ecx
push eax
lea eax, [ebp - 0x54]
push eax
call fcn.0040d278
add esp, 0x14
lea ecx, [ebp - 0x94]
mov byte [ebp - 4], 0xa
call fcn.0040da32
push 1
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 9
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
push 0xedbffff
push 0x86d9ffff
call fcn.00401e15
add dword [0x414324], eax
cmp dword [ebp - 0x4c], edi
pop ecx
pop ecx
jbe 0x40ce5f
push dword [ebp + 0x10]
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x84]
push eax
call fcn.0040c4d2
add esp, 0xc
mov ecx, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
mov byte [ebp - 4], 0xb
push dword [ecx]
lea ecx, [ebp - 0x30]
push edi
push eax
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::assign_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___unsigned_int__unsigned_int_]
push 1
lea ecx, [ebp - 0x84]
mov byte [ebp - 4], 9
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
mov al, byte [0x4142ee]
push 1
and al, byte [0x4142f4]
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 4
mov byte [0x4142e8], al
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
xor esi, esi
push 0x57c1ffff
push 0xe0c9ffff
call fcn.00401d79
add byte [0x4142e4], al
mov edi, dword [ebp + 8]
mov al, byte [ebp - 0x30]
pop ecx
pop ecx
mov byte [edi], al
push esi
mov ecx, edi
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
mov eax, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
mov ecx, edi
push dword [eax]
lea eax, [ebp - 0x30]
push esi
push eax
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::assign_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___unsigned_int__unsigned_int_]
push 1
pop esi
mov dword [ebp - 0x34], esi
push esi
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 3
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
push esi
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 2
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
push esi
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 1
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
and byte [ebp - 4], 0
push esi
lea ecx, [ebp - 0x30]
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
mov ecx, dword [ebp - 0xc]
lea esp, [ebp - 0x15c]
mov eax, edi
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret