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

Disassembly:
mov eax, 0x432a31
call fcn.00430710
sub esp, 0x90
mov al, byte [0x43ac7d]
push ebx
push esi
push edi
push eax
call dword [sym.imp.USER32.dll_IsCharAlphaA]
mov byte [0x43ac79], al
push 0x2ad7ffff
movsx eax, byte [0x43ac7b]
imul eax, eax, 0xf25fffff
push dword [0x43aca8]
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov dword [0x43acb0], eax
call fcn.0040b087
add dword [0x43aca8], eax
push 0xbe5fffff
push 0x3edfffff
call fcn.0040b087
mov dword [0x43aca8], eax
movsx eax, byte [0x43ac7b]
push eax
push 0xe63dffff
call fcn.0040afcb
add byte [0x43ac7c], al
movsx eax, byte [0x43ac78]
push eax
push 0x9787ffff
call fcn.0040b002
mov esi, dword [0x4352a4]
mov dword [0x43aca0], eax
add esp, 0x20
mov al, byte [esi]
add al, 0x76
movzx eax, al
add eax, 3
and al, 0xfc
call fcn.00430730
mov eax, esp
push ebx
push ebx
push ebx
push ebx
push esi
push eax
call fcn.0042d836
pop ecx
pop ecx
push eax
push 6
call fcn.0040f588
pop ecx
call eax
mov esi, eax
push 0xdd1bffff
push 0x583ffff
mov dword [ebp - 0x38], esi
call fcn.0040b002
push dword [0x43acac]
add word [0x43ac94], ax
push 0x9ffffff
call fcn.0040b037
add esp, 0x10
mov word [0x43ac8c], ax
call dword [sym.imp.USER32.dll_GetForegroundWindow]
cmp esi, ebx
mov byte [0x43ac79], al
je 0x42bb8e
movsx eax, byte [0x43ac7a]
push 0x8b97ffff
push eax
call fcn.0040b002
add word [0x43ac8c], ax
push 0x7583ffff
push 0xefe9ffff
call fcn.0040af94
add dword [0x43ac9c], eax
mov al, byte [0x43acbc]
or al, byte [0x43ac7d]
push esi
mov byte [0x43ac7c], al
call fcn.0042afee
push dword [0x43aca8]
push 0x9199ffff
call fcn.0040b0f0
add byte [0x43ac7c], al
push 0x9989ffff
movsx eax, byte [0x43ac7b]
push eax
call fcn.0040b002
mov dword [0x43acb0], eax
mov dword [ebp - 0x10], ebx
movsx eax, byte [0x43ac7e]
push eax
push 0x6c1ffff
call fcn.0040af32
add dword [0x43aca4], eax
mov al, byte [0x43ac92]
mov edi, dword [ebp + 0xc]
sub byte [0x43ac7b], al
add esp, 0x2c
cmp dword [edi + 8], ebx
jbe 0x42b53f
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
push dword [0x43aca8]
movzx eax, ax
push 0x7c9ffff
mov dword [0x43ac9c], eax
call fcn.0040b087
pop ecx
mov word [0x43ac8e], ax
pop ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push dword [ebp + 8]
add dword [0x43acbc], eax
push esi
call fcn.0042b0e7
pop ecx
mov dword [ebp - 0x10], eax
pop ecx
call dword [sym.imp.USER32.dll_GetActiveWindow]
add word [0x43ac8a], ax
cmp dword [ebp - 0x10], ebx
je 0x42b525
push 0x21e1ffff
push 0xea19ffff
call fcn.0040af32
push 0x5c15ffff
push 0xa203ffff
mov byte [0x43ac7b], al
call fcn.0040afcb
push 0x129bffff
mov word [0x43ac90], ax
push dword [0x43acac]
call fcn.0040aeeb
add dword [0x43aca4], eax
add esp, 0x18
lea ecx, [ebp - 0x9c]
push dword [ebp + 8]
call fcn.0042ca89
mov esi, dword [0x4352bc]
mov dword [ebp - 4], ebx
mov al, byte [esi]
add al, 0x76
movzx eax, al
add eax, 3
and al, 0xfc
call fcn.00430730
mov eax, esp
push esi
push eax
call fcn.0042d836
mov esi, dword [0x4352c0]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], ebx
pop ecx
mov al, byte [esi]
pop ecx
add al, 0x76
movzx eax, al
add eax, 3
and al, 0xfc
call fcn.00430730
mov ecx, dword [ebp - 0x58]
mov eax, esp
cmp ecx, ebx
jne 0x42b404
mov ecx, 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 1
lea edx, [ebp - 0x24]
push 0x4400100
push edx
push ebx
push ebx
push ecx
push esi
push eax
call fcn.0042d836
pop ecx
pop ecx
push eax
push dword [ebp - 0x10]
push ebx
call fcn.0040f588
pop ecx
call eax
push dword [0x43acb0]
mov dword [ebp + 8], eax
push 0xb10dffff
call fcn.0040b002
cmp dword [ebp + 8], ebx
pop ecx
pop ecx
mov word [0x43ac8e], ax
je 0x42b516
movsx eax, ax
push 0xdc9ffff
push eax
call fcn.0040afcb
push dword [0x43aca4]
mov byte [0x43ac7d], al
push 0xe3b1ffff
call fcn.0040aeeb
mov esi, dword [0x435298]
mov word [0x43ac92], ax
add esp, 0x10
mov al, byte [esi]
add al, 0x76
movzx eax, al
add eax, 3
and al, 0xfc
call fcn.00430730
mov eax, esp
push esi
push eax
call fcn.0042d836
pop ecx
mov esi, eax
mov al, byte [ebp + 0xb]
pop ecx
push ebx
lea ecx, [ebp - 0x34]
mov byte [ebp - 0x34], 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 - 0x34]
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 [0x43ac88]
push 0x13b3ffff
push eax
mov byte [ebp - 4], 1
call fcn.0040b0ac
add byte [0x43ac7a], al
mov eax, dword [edi + 8]
mov edi, dword [edi + 4]
pop ecx
pop ecx
cmp edi, ebx
mov ecx, 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]
jne 0x42b4ee
mov edi, ecx
cmp dword [ebp - 0x30], ebx
je 0x42b4f6
mov ecx, dword [ebp - 0x30]
push eax
push edi
push 0xffffffffffffffff
push ecx
push dword [ebp + 8]
push 1
call fcn.0040f588
pop ecx
call eax
push 1
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], bl
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x9c]
call fcn.0040d041
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov cx, word [0x43ac8a]
dec cx
add ax, cx
mov word [0x43ac86], ax
jmp 0x42b5ad
movsx eax, byte [0x43ac7e]
and eax, dword [0x43acbc]
mov word [0x43ac8a], 1
mov dword [0x43acb4], eax
movsx eax, word [0x43ac90]
or eax, dword [0x43aca0]
add dword [0x43aca8], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 4]
cmp eax, ebx
jne 0x42b57c
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 ebx
push 0x84080000
push 0xffffffffffffffff
push ebx
push eax
push esi
push 7
call fcn.0040f588
pop ecx
call eax
push 0x5171ffff
mov dword [ebp + 8], eax
push dword [0x43acb8]
call fcn.0040b0f0
add word [0x43ac94], ax
pop ecx
pop ecx
cmp dword [ebp + 8], ebx
je 0x42bb03
push 2
mov dword [ebp - 0x14], ebx
pop esi
push esi
call fcn.0040f588
push 0x46
call fcn.0040f588
movsx eax, byte [0x43ac80]
push eax
push dword [0x43ac9c]
call fcn.0040b037
add word [0x43ac92], ax
add esp, 0x10
push ebx
push 0x58
call fcn.0040f588
pop ecx
call eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x3c]
push eax
push dword [ebp + 8]
call fcn.0042afd3
push 0x46
call fcn.0040f588
add esp, 0x10
call eax
cmp eax, 0x7a
jne 0x42baba
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
add byte [0x43ac7d], al
mov ax, word [0x43aca0]
or ax, word [0x43ac94]
push 0xc151ffff
push dword [0x43ac9c]
add word [0x43ac8e], ax
call fcn.0040b037
mov word [0x43ac8e], ax
mov eax, dword [ebp - 0x14]
inc eax
push eax
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov edi, eax
lea eax, [ebp - 0x14]
push eax
push edi
push dword [ebp + 8]
mov dword [ebp - 0x20], edi
call fcn.0042afd3
movsx eax, word [0x43ac90]
push eax
movsx eax, byte [0x43ac81]
push eax
call fcn.0040b002
push 0xf2d1ffff
push 0x4679ffff
mov byte [0x43ac81], al
call fcn.0040af32
add esp, 0x28
mov dword [0x43aca8], eax
push 0xcf8fffff
call dword [sym.imp.KERNEL32.dll_IsValidCodePage]
add dword [0x43aca0], eax
cmp dword [ebp - 0x14], 3
jb 0x42bab1
cmp byte [edi], 0x32
jne 0x42bab1
cmp byte [0x43ac7d], bl
setne al
mov byte [0x43ac7e], al
movsx eax, byte [0x43ac7a]
push eax
push dword [0x43acac]
call fcn.0040afcb
xor eax, eax
cmp word [0x43ac86], bx
push 0x3de5ffff
push 0xcb0dffff
setne al
mov word [0x43ac82], ax
call fcn.0040b0f0
add dword [0x43acac], eax
or word [0x43ac84], 0xffff
sub dword [0x43ac98], 0x40480001
add esp, 0x10
push 0xffffffffffffffff
call dword [sym.imp.USER32.dll_IsCharAlphaA]
mov word [0x43ac8a], ax
xor eax, eax
cmp byte [0x43ac7c], bl
push ebx
push ebx
setne al
mov word [0x43ac92], ax
lea eax, [ebp + 0xc]
push eax
push dword [ebp + 8]
push 8
call fcn.0040f588
pop ecx
call eax
test eax, eax
je 0x42b80d
movsx eax, byte [0x43ac7d]
mov ecx, dword [0x43aca8]
or eax, 0xe0afffff
mov dword [0x43acb0], eax
push 0x6a2bffff
movsx eax, word [0x43ac92]
lea eax, [ecx + eax - 0x21d40001]
mov dword [0x43aca8], eax
movsx eax, word [0x43ac82]
push eax
call fcn.0040b0ac
mov byte [0x43ac7b], al
mov eax, 0x10000
cmp dword [ebp + 0xc], eax
pop ecx
pop ecx
jae 0x42b7a4
mov dword [ebp + 0xc], eax
movsx eax, byte [0x43ac7a]
push 0x8a5bffff
push eax
call fcn.0040af32
pop ecx
mov word [0x43ac92], ax
pop ecx
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov dword [0x43acb8], eax
movsx eax, word [0x43ac88]
push eax
movsx eax, byte [0x43ac79]
push eax
call fcn.0040b002
mov word [0x43ac86], ax
mov eax, 0x400000
cmp dword [ebp + 0xc], eax
pop ecx
pop ecx
jb 0x42b7f3
mov dword [ebp + 0xc], eax
dec word [0x43ac8a]
or ax, 0xffff
sub ax, word [0x43ac88]
mov word [0x43ac94], ax
jmp 0x42b857
movsx eax, byte [0x43ac81]
push 0xda8bffff
push eax
call fcn.0040b0ac
mov byte [0x43ac7e], al
push 0x9a8dffff
movsx eax, word [0x43ac88]
push eax
call fcn.0040aeeb
add dword [0x43ac98], eax
add esp, 0x10
xor eax, eax
cmp dword [0x43aca0], ebx
mov dword [ebp + 0xc], 0x10000
setne al
add byte [0x43ac78], al
mov eax, dword [ebp + 0xc]
inc eax
push eax
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov dword [esp], 0x6d8bffff
push 0xbf07ffff
mov edi, eax
call fcn.0040b0ac
add word [0x43ac82], ax
movsx eax, word [0x43ac88]
push eax
push 0x66d5ffff
call fcn.0040b087
add byte [0x43ac81], al
mov al, byte [ebp + 0xb]
add esp, 0x10
lea ecx, [ebp - 0x34]
mov byte [ebp - 0x34], al
push ebx
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, byte [0x43ac79]
push 0x8975ffff
push eax
mov dword [ebp - 4], esi
call fcn.0040b0ac
mov byte [0x43ac81], al
push 0x6b9dffff
movsx eax, byte [0x43ac7c]
push eax
call fcn.0040b087
add byte [0x43ac79], al
movsx eax, word [0x43ac8c]
push eax
push 0x8ce3ffff
call fcn.0040afcb
add esp, 0x18
lea ecx, [ebp - 0x34]
mov word [0x43ac92], ax
push dword [ebp + 0x10]
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::swap_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char____]
cmp word [0x43ac82], bx
mov si, word [0x43ac94]
jne 0x42b918
cmp si, bx
jne 0x42b918
xor eax, eax
jmp 0x42b91b
push 1
pop eax
add byte [0x43ac7a], al
movsx eax, si
push eax
movsx eax, word [0x43ac88]
push eax
call fcn.0040b0ac
add byte [0x43ac7c], al
movsx eax, word [0x43ac90]
push eax
push 0x662dffff
call fcn.0040b037
add byte [0x43ac7a], al
lea eax, [ebp - 0x18]
push eax
push dword [ebp + 0xc]
push edi
push dword [ebp + 8]
call fcn.0042b099
add esp, 0x20
mov esi, eax
cmp esi, ebx
je 0x42b9bf
cmp dword [ebp - 0x18], ebx
je 0x42b9bf
push 0xb22fffff
push 0x5355ffff
call fcn.0040b002
cmp dword [ebp - 0x18], ebx
pop ecx
pop ecx
mov byte [0x43ac7d], al
je 0x42b9bf
push dword [ebp - 0x18]
mov ecx, dword [ebp + 0x10]
push edi
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 0x3cc9ffff
push 0x284fffff
call fcn.0040af32
mov dword [0x43acb0], eax
lea eax, [ebp - 0x18]
push eax
push dword [ebp + 0xc]
push edi
push dword [ebp + 8]
call fcn.0042b099
add esp, 0x18
jmp 0x42b963
movsx eax, byte [0x43ac7d]
push eax
push 0x4ee3ffff
call fcn.0040afcb
mov byte [0x43ac81], al
push 0xcecfffff
movsx eax, byte [0x43ac7b]
push eax
call fcn.0040b002
inc word [0x43ac82]
push edi
mov dword [0x43ac9c], eax
call fcn.00430672
movsx eax, byte [0x43ac80]
push eax
push 0x4ebffff
call fcn.0040aeeb
add byte [0x43ac79], al
mov al, byte [0x43aca4]
inc al
push 0xb30bffff
add byte [0x43ac79], al
push 0x1e5dffff
call fcn.0040b002
add esp, 0x24
cmp esi, ebx
mov byte [0x43ac7b], al
je 0x42baa2
movsx eax, byte [0x43ac7a]
push dword [0x43ac98]
push eax
call fcn.0040af6d
add word [0x43ac94], ax
mov dword [ebp - 0x1c], 1
movsx eax, byte [0x43ac7b]
push eax
push 0xc599ffff
call fcn.0040afcb
mov dword [0x43aca4], eax
movsx eax, word [0x43ac84]
push eax
push 0x84e9ffff
call fcn.0040b037
push 0xed47ffff
push 0x885ffff
mov word [0x43ac86], ax
call fcn.0040af32
add esp, 0x20
add byte [0x43ac80], al
or dword [ebp - 4], 0xffffffff
push 1
lea ecx, [ebp - 0x34]
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 - 0x20]
call fcn.00430672
pop ecx
cmp word [0x43ac8e], bx
je 0x42bad4
cmp byte [0x43ac7a], bl
mov word [0x43ac94], 1
jne 0x42badb
mov word [0x43ac94], bx
movsx eax, byte [0x43ac79]
push eax
push 0xbc03ffff
call fcn.0040af32
pop ecx
add word [0x43ac90], ax
pop ecx
push dword [ebp + 8]
push 3
call fcn.0040f588
pop ecx
call eax
mov al, byte [0x43ac7a]
push dword [0x43ac98]
and al, byte [0x43ac78]
push 0xeed9ffff
movsx ax, al
mov word [0x43ac8e], ax
movsx ax, byte [0x43ac7c]
add ax, word [0x43ac92]
mov word [0x43ac86], ax
call fcn.0040afcb
add dword [0x43aca4], eax
cmp dword [ebp - 0x10], ebx
pop ecx
pop ecx
je 0x42bb57
push dword [ebp - 0x10]
push 3
call fcn.0040f588
pop ecx
call eax
mov al, byte [0x43ac7f]
mov cl, byte [0x43ac78]
add al, byte [0x43aca8]
add byte [0x43ac7a], cl
mov cl, byte [0x43ac81]
push dword [ebp - 0x38]
sub cl, al
mov byte [0x43ac7f], al
push 3
mov byte [0x43ac79], cl
call fcn.0040f588
pop ecx
call eax
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x1c]
lea esp, [ebp - 0xa8]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret