Function at 0x42a944
Capabilities:
Accept command line arguments

Disassembly:
mov eax, 0x42ed5d
call fcn.0042c5b0
sub esp, 0x98
mov al, byte [0x437c00]
push ebx
add byte [0x437bec], al
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
add byte [0x437be9], al
push 0xe667ffff
movsx eax, word [0x437bfe]
push eax
call fcn.0041004e
add word [0x437bf6], ax
mov ecx, 0x13edffff
movsx eax, byte [0x437bf1]
sub ecx, eax
mov al, byte [0x437c24]
and al, byte [0x437bed]
add dword [0x437c18], ecx
push 0x471fffff
add byte [0x437beb], al
movsx eax, byte [0x437bf0]
push eax
call fcn.00410092
add byte [0x437bea], al
call fcn.00401f57
push 0x5dc1ffff
push 0xa5ffffff
call fcn.0041004e
add dword [0x437c08], eax
lea eax, [ebp - 0x48]
push 1
push eax
call fcn.0041f32a
push dword [0x437c1c]
xor esi, esi
mov dword [ebp - 4], esi
push 0xe5abffff
call fcn.004100bc
add word [0x437c04], ax
push 0x85e9ffff
push dword [0x437c2c]
call fcn.0040ff78
mov word [0x437bfa], ax
lea eax, [ebp - 0x48]
push eax
call fcn.0041f6a7
movsx eax, word [0x437bfa]
push eax
movsx eax, word [0x437bf2]
push eax
call fcn.0041004e
push 0x93c1ffff
push 0xe75fffff
mov dword [0x437c1c], eax
call fcn.0040ff4b
mov word [0x437bf6], ax
mov eax, dword [0x437c08]
add esp, 0x44
or eax, 0xe757ffff
add dword [0x437c18], eax
push 0x46
call fcn.0041448a
push 0x47
call fcn.0041448a
cmp dword [ebp - 0x40], esi
pop ecx
pop ecx
je 0x42b175
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
add word [0x437bfe], ax
push esi
push 0x58
call fcn.0041448a
pop ecx
call eax
mov esi, dword [0x43152c]
mov bl, 0x16
push 0xfffffffffffffffc
mov al, byte [esi]
pop edi
add al, bl
movzx eax, al
add eax, 3
and eax, edi
call fcn.0042c5d0
mov ecx, esp
push 0
push 0
mov edx, esi
call fcn.004298e5
push eax
push 0x46
call fcn.0041448a
pop ecx
call eax
mov esi, eax
test esi, esi
mov dword [ebp - 0x28], esi
je 0x42b175
push 0x47
call fcn.0041448a
pop ecx
call eax
cmp eax, 0xcb
je 0x42b175
mov al, byte [0x437c18]
sub byte [0x437bee], al
inc esi
push esi
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov esi, dword [0x43152c]
mov dword [ebp - 0x14], eax
pop ecx
mov al, byte [esi]
add al, bl
movzx eax, al
add eax, 3
and eax, edi
call fcn.0042c5d0
mov ecx, esp
push dword [ebp - 0x28]
mov edx, esi
push dword [ebp - 0x14]
call fcn.004298e5
push eax
push 0x46
call fcn.0041448a
pop ecx
call eax
movsx eax, word [0x437c04]
push eax
push 0x6da5ffff
call fcn.0041004e
add byte [0x437be9], al
mov al, byte [ebp - 0xd]
dec word [0x437bfe]
pop ecx
pop ecx
xor esi, esi
push esi
lea ecx, [ebp - 0x68]
mov byte [ebp - 0x68], 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 dword [ebp - 0x14]
call sub.MSVCRT.dll_strlen
pop ecx
push eax
lea ecx, [ebp - 0x68]
push dword [ebp - 0x14]
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_]
push dword [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.0042c504
pop ecx
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
add byte [0x437bec], al
movsx eax, byte [0x437bec]
push eax
movsx eax, byte [0x437bed]
push eax
call fcn.004100bc
pop ecx
mov byte [0x437be9], al
mov al, byte [ebp - 0xd]
pop ecx
push esi
lea ecx, [ebp - 0x58]
mov byte [ebp - 0x58], 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 0x46bfffff
mov byte [ebp - 4], 2
push dword [0x437c10]
call fcn.0040ff1a
push dword [0x431530]
mov word [0x437bf6], ax
lea eax, [ebp - 0x58]
push eax
call fcn.00413894
add esp, 0x10
test eax, eax
je 0x42b141
push 0xc725ffff
push 0x5f1fffff
call fcn.0040ffc6
add byte [0x437bec], al
mov al, byte [ebp - 0xd]
pop ecx
mov byte [ebp - 0x24], al
pop ecx
push esi
lea ecx, [ebp - 0x24]
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 esi, dword [0x431534]
mov byte [ebp - 4], 3
mov al, byte [esi]
add al, bl
movzx eax, al
add eax, 3
and eax, edi
call fcn.0042c5d0
mov ecx, esp
mov edx, esi
call fcn.004298e5
mov esi, eax
push esi
call sub.MSVCRT.dll_strlen
pop ecx
push eax
push esi
lea ecx, [ebp - 0x24]
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 [0x437c04]
push eax
push 0x9a33ffff
call fcn.00410016
mov esi, dword [0x431538]
add byte [0x437be8], al
pop ecx
mov al, byte [esi]
pop ecx
add al, bl
movzx eax, al
add eax, 3
and eax, edi
call fcn.0042c5d0
mov ecx, esp
mov edx, esi
call fcn.004298e5
mov esi, eax
push esi
call sub.MSVCRT.dll_strlen
pop ecx
push eax
push esi
lea ecx, [ebp - 0x24]
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 [0x43153c]
mov al, byte [esi]
add al, bl
movzx eax, al
add eax, 3
and eax, edi
call fcn.0042c5d0
mov ecx, esp
mov edx, esi
call fcn.004298e5
mov esi, eax
push esi
call sub.MSVCRT.dll_strlen
pop ecx
push eax
push esi
lea ecx, [ebp - 0x24]
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]
lea ecx, [ebp - 0x24]
push dword [eax]
lea eax, [ebp - 0x48]
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_]
mov esi, dword [0x431540]
mov al, byte [esi]
add al, bl
movzx eax, al
add eax, 3
and eax, edi
call fcn.0042c5d0
mov ecx, esp
mov edx, esi
call fcn.004298e5
mov esi, eax
push esi
call sub.MSVCRT.dll_strlen
pop ecx
push eax
push esi
lea ecx, [ebp - 0x24]
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 [0x437bf1]
mov ecx, dword [0x437c1c]
and eax, 0xb2a9ffff
add dword [0x437c0c], eax
mov eax, dword [0x437c14]
mov esi, dword [0x431544]
lea eax, [ecx + eax - 0x17fc0001]
mov dword [0x437c1c], eax
mov al, byte [0x437bf4]
add al, byte [0x437be9]
mov byte [0x437bed], al
mov al, byte [esi]
add al, bl
movzx eax, al
add eax, 3
and eax, edi
call fcn.0042c5d0
mov ecx, esp
mov edx, esi
call fcn.004298e5
mov esi, eax
push esi
call sub.MSVCRT.dll_strlen
pop ecx
push eax
push esi
lea ecx, [ebp - 0x24]
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]
lea ecx, [ebp - 0x24]
push dword [eax]
lea eax, [ebp - 0x48]
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_]
mov esi, dword [0x431548]
mov al, byte [esi]
add al, bl
movzx eax, al
add eax, 3
and eax, edi
call fcn.0042c5d0
mov ecx, esp
mov edx, esi
call fcn.004298e5
mov esi, eax
push esi
call sub.MSVCRT.dll_strlen
pop ecx
push eax
push esi
lea ecx, [ebp - 0x24]
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 [0x43154c]
mov al, byte [esi]
add al, bl
movzx eax, al
add eax, 3
and eax, edi
call fcn.0042c5d0
mov ecx, esp
mov edx, esi
call fcn.004298e5
mov esi, eax
push esi
call sub.MSVCRT.dll_strlen
pop ecx
push eax
push esi
lea ecx, [ebp - 0x24]
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 dword [0x437c18], 0
mov esi, dword [0x431550]
setne al
mov byte [0x437bed], al
movsx eax, word [0x437c02]
imul eax, eax, 0x24e5ffff
add dword [0x437c08], eax
mov al, byte [esi]
add al, bl
movzx eax, al
add eax, 3
and eax, edi
call fcn.0042c5d0
mov ecx, esp
mov edx, esi
call fcn.004298e5
mov esi, eax
push esi
call sub.MSVCRT.dll_strlen
pop ecx
push eax
push esi
lea ecx, [ebp - 0x24]
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 0x72a5ffff
push 0x24d1ffff
call fcn.0040ff78
add word [0x437c02], ax
mov al, byte [0x437c24]
add byte [0x437be9], al
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.0041367f
add esp, 0x10
test eax, eax
je 0x42b132
push 0x9e31ffff
push 0x6e2dffff
call fcn.0040ffe3
add word [0x437bfa], ax
inc dword [0x437c2c]
cmp dword [0x437c0c], 0
pop ecx
pop ecx
je 0x42aed7
cmp byte [0x437beb], 0
je 0x42aed7
mov dword [0x437c10], 1
jmp 0x42aede
and dword [0x437c10], 0
mov esi, dword [0x431554]
mov al, byte [esi]
add al, bl
movzx eax, al
add eax, 3
and eax, edi
call fcn.0042c5d0
mov ecx, esp
mov edx, esi
call fcn.004298e5
mov esi, eax
mov al, byte [ebp - 0xd]
push 0
lea ecx, [ebp - 0x38]
mov byte [ebp - 0x38], 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 - 0x38]
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 [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 4
push dword [eax]
lea eax, [ebp - 0x58]
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_]
mov esi, dword [0x431558]
mov al, byte [esi]
add al, bl
movzx eax, al
add eax, 3
and eax, edi
call fcn.0042c5d0
mov ecx, esp
mov edx, esi
call fcn.004298e5
mov esi, eax
push esi
call sub.MSVCRT.dll_strlen
pop ecx
push eax
push esi
lea ecx, [ebp - 0x38]
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 [0x437bf2]
push 0x8a13ffff
push eax
call fcn.0040ff4b
add byte [0x437beb], al
push 0x8d13ffff
movsx eax, byte [0x437be8]
push eax
call fcn.004100bc
and dword [ebp - 0x9c], 0
mov esi, dword [0x43155c]
mov byte [0x437bee], al
mov ax, word [0x437bfe]
shl ax, 1
add esp, 0x10
dec eax
mov byte [0x437bef], 1
mov dword [ebp - 0xa4], 0x3c
mov word [0x437bfe], ax
mov al, byte [esi]
add al, bl
movzx eax, al
add eax, 3
and eax, edi
call fcn.0042c5d0
mov ecx, esp
mov edx, esi
call fcn.004298e5
mov dword [ebp - 0x98], eax
mov eax, dword [ebp - 0x64]
xor esi, esi
cmp eax, esi
jne 0x42afff
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]
mov dword [ebp - 0x94], eax
movsx eax, word [0x437c04]
push eax
push 0xaac7ffff
call fcn.0040ffc6
mov dword [0x437c08], eax
dec word [0x437bfe]
movsx eax, byte [0x437be9]
push eax
movsx eax, byte [0x437bec]
push eax
call fcn.004100bc
mov dword [0x437c24], eax
mov eax, dword [ebp - 0x34]
add esp, 0x10
cmp eax, esi
jne 0x42b04c
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]
mov dword [ebp - 0x90], eax
mov dword [ebp - 0x8c], esi
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
push dword [0x437c2c]
mov byte [0x437be9], al
call dword [sym.imp.KERNEL32.dll_IsValidCodePage]
add word [0x437bfc], ax
sub dword [0x437c10], 0x100001
add dword [0x437c18], 0x4605ffff
push 0x5539ffff
push 0x57ebffff
mov dword [ebp - 0x88], esi
mov dword [ebp - 0xa0], 0x40
call fcn.0041004e
add dword [0x437c10], eax
pop ecx
pop ecx
lea eax, [ebp - 0xa4]
push eax
push 0x19
call fcn.0041448a
pop ecx
call eax
cmp dword [0x437c1c], esi
jne 0x42b0d7
cmp word [0x437bf8], si
jne 0x42b0d7
xor eax, eax
jmp 0x42b0da
push 1
pop eax
add dword [0x437c28], eax
push esi
movsx ax, byte [0x437bea]
add word [0x437c02], ax
push 0x43
call fcn.0041448a
pop ecx
call eax
push eax
push 0x5b
call fcn.0041448a
pop ecx
call eax
movsx eax, byte [0x437bef]
push eax
movsx eax, word [0x437bfa]
push eax
call fcn.0040ff1a
add word [0x437bfe], ax
pop ecx
pop ecx
mov byte [ebp - 4], 3
push 1
lea ecx, [ebp - 0x38]
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 1
lea ecx, [ebp - 0x24]
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 0xcbcfffff
push 0xeacfffff
call fcn.0040ffc6
pop ecx
mov byte [0x437beb], al
pop ecx
mov byte [ebp - 4], 1
push 1
lea ecx, [ebp - 0x58]
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 1
lea ecx, [ebp - 0x68]
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
call dword [sym.imp.KERNEL32.dll_GetLastError]
add byte [0x437be8], al
movsx eax, word [0x437bfa]
or eax, 0xa54bffff
add dword [0x437c0c], eax
movsx eax, byte [0x437bf0]
push eax
push 0xaafdffff
call fcn.004100bc
add word [0x437bf6], ax
or dword [ebp - 4], 0xffffffff
pop ecx
pop ecx
push 1
lea ecx, [ebp - 0x48]
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 - 0xb0]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret