Function at 0x415372
Capabilities:
Accept command line arguments
Check for time delay via gettickcount
Identify system language via api

Disassembly:
mov eax, 0x4300ee
call fcn.0042e9c0
sub esp, 0x194
push ebx
xor ebx, ebx
cmp dword [0x439114], ebx
push esi
push edi
mov byte [ebp - 0x11], bl
jne 0x41539f
push 0x18
call fcn.0040ebd2
pop ecx
mov dword [0x439114], eax
push 0x2775ffff
push 0x729dffff
call fcn.0040a9de
push 0xa4c5ffff
push 0x5607ffff
mov dword [0x438c5c], eax
call fcn.0040ab0e
add byte [0x438c21], al
add esp, 0x10
push ebx
push ebx
push 0x1b
call fcn.0040ebd2
pop ecx
call eax
mov dword [ebp - 0x4c], eax
mov dword [ebp - 4], ebx
mov dword [0x438c5c], 0xde2e0001
call dword [sym.imp.KERNEL32.dll_GetLastError]
add dword [0x438c4c], eax
mov dword [ebp - 0x20], ebx
movsx eax, word [0x438c30]
or eax, dword [0x438c48]
add dword [0x438c3c], eax
movsx eax, word [0x438c22]
push dword [0x438c38]
mov byte [ebp - 4], 1
push eax
call fcn.0040a933
mov word [0x438c26], ax
xor eax, eax
cmp word [0x438c22], bx
push 0x433308
mov word [0x438c30], 1
setne al
add dword [0x438c48], eax
lea eax, [ebp - 0x5c]
push eax
call fcn.0040b9ff
mov esi, eax
lea edi, [ebp - 0x6c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x44]
push 0x4332f8
push eax
movsd dword es:[edi], dword [esi]
call fcn.0040b9ff
mov esi, eax
lea edi, [ebp - 0x30]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
add esp, 0x18
lea eax, [ebp - 0x20]
movsd dword es:[edi], dword [esi]
push eax
lea eax, [ebp - 0x6c]
push eax
push 1
movsd dword es:[edi], dword [esi]
pop esi
lea eax, [ebp - 0x30]
push esi
push ebx
push eax
call dword [0x439114]
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
add dword [0x438c38], eax
cmp word [0x438c34], bx
je 0x4154ac
cmp byte [0x438c1f], bl
je 0x4154ac
mov eax, esi
jmp 0x4154ae
xor eax, eax
add byte [0x438c1a], al
cmp edi, ebx
jl 0x415ef9
push 0x5f7bffff
push 0x167ffff
call fcn.0040a9a5
push 0xf707ffff
push 0xb85bffff
mov byte [0x438c21], al
call fcn.0040ab0e
add word [0x438c30], ax
mov dword [ebp - 0x1c], ebx
lea eax, [ebp - 0x6c]
push 3
push eax
mov byte [ebp - 4], 2
call fcn.00404935
movsx eax, byte [0x438c1f]
push eax
push eax
mov byte [ebp - 4], 3
call fcn.0040a933
mov byte [0x438c19], al
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.00407ae9
add esp, 0x28
mov eax, dword [eax + 4]
mov ecx, dword [sym.imp.MSVCP60.dll_unsigned_short_int_const__private:_static_unsigned_short_int_const____cdecl_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Nullstr_void_::_2::_C]
cmp eax, ebx
mov byte [ebp - 4], 4
je 0x415532
mov ecx, eax
mov eax, dword [ebp - 0x20]
lea edi, [ebp - 0x1c]
push edi
mov edi, 0x433328
mov edx, dword [eax]
push 0x433318
push edi
push ecx
push eax
call dword [edx + 0x20]
push esi
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 3
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
push dword [0x438c58]
push dword [0x438c5c]
call fcn.0040a933
push 0xe449ffff
push 0xcb57ffff
mov word [0x438c24], ax
call fcn.0040aac5
add word [0x438c2c], ax
add esp, 0x10
cmp dword [ebp - 0x10], 0x80070050
jne 0x415688
mov ax, word [0x438c30]
dec ax
add word [0x438c26], ax
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.00407ae9
pop ecx
pop ecx
mov eax, dword [eax + 4]
mov ecx, dword [sym.imp.MSVCP60.dll_unsigned_short_int_const__private:_static_unsigned_short_int_const____cdecl_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Nullstr_void_::_2::_C]
cmp eax, ebx
mov byte [ebp - 4], 5
je 0x4155ca
mov ecx, eax
mov eax, dword [ebp - 0x20]
push ecx
push eax
mov edx, dword [eax]
call dword [edx + 0x1c]
push esi
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 3
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
movsx eax, byte [0x438c1d]
push eax
push 0x7e39ffff
call fcn.0040aa4f
or word [0x438c30], 0xffff
mov byte [0x438c1c], al
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.00407ae9
add esp, 0x10
mov eax, dword [eax + 4]
mov byte [ebp - 4], 6
cmp eax, ebx
jne 0x415621
mov eax, dword [sym.imp.MSVCP60.dll_unsigned_short_int_const__private:_static_unsigned_short_int_const____cdecl_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Nullstr_void_::_2::_C]
lea edx, [ebp - 0x1c]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x20]
push edx
push 0x433318
push edi
push dword [ebp - 0x18]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x20]
push esi
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 3
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
add word [0x438c2a], ax
movsx ax, byte [0x438c1e]
imul ax, word [0x438c28]
add word [0x438c2a], ax
movsx eax, byte [0x438c20]
push eax
push 0x2129ffff
call fcn.0040ab0e
pop ecx
mov byte [0x438c1a], al
pop ecx
call dword [sym.imp.KERNEL32.dll_GetLastError]
add word [0x438c26], ax
cmp dword [ebp - 0x10], ebx
jl 0x415eda
lea eax, [ebp - 0x44]
push esi
push eax
call fcn.004219ef
pop ecx
pop ecx
mov edi, dword [0x43305c]
mov byte [ebp - 4], 7
mov al, byte [edi]
sub al, 3
movzx eax, al
add eax, 3
and al, 0xfc
call fcn.0042e9e0
mov ecx, dword [ebp - 0x3c]
mov eax, esp
push edi
push eax
mov dword [ebp - 0x10], ecx
call fcn.0042bd2b
pop ecx
mov dword [ebp - 0x18], 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
lea ecx, [ebp - 0x44]
push dword [eax]
mov eax, dword [ebp - 0x10]
add eax, 0xfffffffc
push eax
lea eax, [ebp - 0x5c]
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__::substr_unsigned_int__unsigned_int_]
push eax
lea eax, [ebp - 0x30]
push eax
mov byte [ebp - 4], 8
call fcn.004074be
mov edi, eax
push dword [ebp - 0x18]
mov byte [ebp - 4], 9
call sub.MSVCRT.dll_strlen
add esp, 0xc
mov ecx, edi
push eax
push dword [ebp - 0x18]
push dword [edi + 8]
push ebx
call dword [sym.imp.MSVCP60.dll_public:_int___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::compare_unsigned_int__unsigned_int__char_const___unsigned_int_const]
push esi
lea ecx, [ebp - 0x30]
mov edi, eax
mov byte [ebp - 4], 8
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 - 0x5c]
mov byte [ebp - 4], 7
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
cmp edi, ebx
je 0x4157e6
mov al, byte [ebp - 0x44]
push ebx
lea ecx, [ebp - 0x30]
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_]
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 - 0x30]
push dword [eax]
lea eax, [ebp - 0x44]
push ebx
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_]
mov edi, dword [0x43305c]
mov byte [ebp - 4], 0xa
mov al, byte [edi]
sub al, 3
movzx eax, al
add eax, 3
and al, 0xfc
call fcn.0042e9e0
mov eax, esp
push edi
push eax
call fcn.0042bd2b
mov edi, eax
push edi
call sub.MSVCRT.dll_strlen
add esp, 0xc
lea ecx, [ebp - 0x30]
push eax
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_]
mov ecx, dword [ebp - 0x2c]
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]
cmp ecx, ebx
jne 0x4157b6
mov ecx, eax
cmp dword [ebp - 0x40], ebx
je 0x4157be
mov eax, dword [ebp - 0x40]
push ebx
push ecx
push eax
push 0x34
call fcn.0040ebd2
pop ecx
call eax
lea eax, [ebp - 0x30]
lea ecx, [ebp - 0x44]
push eax
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____]
push esi
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 7
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_GetUserDefaultUILanguage]
add byte [0x438c19], al
inc word [0x438c26]
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x5c]
push eax
call fcn.00407ae9
pop ecx
pop ecx
mov eax, dword [eax + 4]
mov ecx, dword [sym.imp.MSVCP60.dll_unsigned_short_int_const__private:_static_unsigned_short_int_const____cdecl_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Nullstr_void_::_2::_C]
cmp eax, ebx
mov byte [ebp - 4], 0xb
je 0x41581b
mov ecx, eax
mov eax, dword [ebp - 0x1c]
push ecx
push eax
mov edx, dword [eax]
call dword [edx + 0x80]
push esi
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 7
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
movsx eax, word [0x438c30]
push dword [0x438c48]
push eax
call fcn.0040aa4f
add dword [0x438c5c], eax
push 0xcfa5ffff
push 0x24c5ffff
mov word [0x438c22], si
call fcn.0040a9de
add esp, 0x10
mov byte [0x438c1d], al
lea eax, [ebp - 0x48]
mov dword [ebp - 0x48], 0x104
push eax
lea eax, [ebp - 0x1a0]
push eax
push 0xe
call fcn.0040ebd2
pop ecx
call eax
lea eax, [ebp - 0x1a0]
push eax
lea eax, [ebp - 0x5c]
push eax
call fcn.00407cf1
pop ecx
pop ecx
mov eax, dword [eax + 4]
mov ecx, dword [sym.imp.MSVCP60.dll_unsigned_short_int_const__private:_static_unsigned_short_int_const____cdecl_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Nullstr_void_::_2::_C]
cmp eax, ebx
mov byte [ebp - 4], 0xc
je 0x4158ae
mov ecx, eax
mov eax, dword [ebp - 0x1c]
push ebx
push ecx
push eax
mov edx, dword [eax]
call dword [edx + 0x78]
push esi
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 7
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
mov eax, dword [ebp - 0x1c]
push 0x2200
push eax
mov ecx, dword [eax]
call dword [ecx + 0x70]
mov eax, dword [ebp - 0x1c]
push 0xffffffffffffffff
push eax
mov ecx, dword [eax]
call dword [ecx + 0xa8]
movsx eax, byte [0x438c20]
push eax
push eax
call fcn.0040aa83
pop ecx
mov byte [0x438c19], al
pop ecx
call dword [sym.imp.USER32.dll_GetDesktopWindow]
add word [0x438c26], ax
xor eax, eax
cmp word [0x438c24], bx
mov dword [ebp - 0x18], ebx
setne al
add byte [0x438c21], al
mov al, byte [0x438c58]
push 0xbb95ffff
dec al
push 0xb3f1ffff
mov byte [ebp - 4], 0xd
mov dword [0x438c50], 0x809ffff
mov byte [0x438c1b], al
call fcn.0040aa83
mov byte [0x438c18], al
push 0x247fffff
movsx eax, byte [0x438c19]
push eax
call fcn.0040aac5
add esp, 0x10
lea edx, [ebp - 0x18]
mov dword [0x438c50], eax
mov eax, dword [ebp - 0x1c]
push edx
lea edx, [ebp - 0x32]
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0xc]
mov edi, eax
mov ax, word [0x438c3c]
sub word [0x438c2e], ax
push 0x8c6dffff
push 0x5c91ffff
call fcn.0040aa4f
add word [0x438c2a], ax
pop ecx
cmp edi, ebx
pop ecx
mov word [0x438c26], si
jl 0x415bf1
push 0xe9e3ffff
push 0x1165ffff
call fcn.0040ab0e
add dword [0x438c40], eax
movsx eax, byte [0x438c1a]
push eax
push 0x2969ffff
call fcn.0040a8f9
mov dword [0x438c5c], eax
push 0x30
lea eax, [ebp - 0x9c]
push ebx
push eax
call sub.MSVCRT.dll_memset
movsx eax, byte [0x438c1c]
push eax
push 0xe34dffff
mov word [ebp - 0x9c], 0x30
mov word [ebp - 0x94], si
mov word [ebp - 0x96], si
call fcn.0040a933
sub dword [0x438c48], 0x40dfffff
add esp, 0x24
mov word [0x438c32], ax
mov word [ebp - 0x98], 0x7cf
call dword [sym.imp.KERNEL32.dll_GetTickCount]
add word [0x438c2c], ax
push 0x2207ffff
movsx eax, word [0x438c2c]
push eax
call fcn.0040aa4f
pop ecx
mov dword [0x438c50], eax
pop ecx
call dword [sym.imp.USER32.dll_GetInputState]
push 0x46
mov dword [0x438c54], eax
call fcn.0040ebd2
pop ecx
call eax
push eax
call dword [sym.imp.MSVCRT.dll_srand]
pop ecx
mov dword [ebp - 0x7c], esi
push 0x3c
mov word [ebp - 0x78], si
pop edi
mov dword [ebp - 0x88], 0x80ac0
mov dword [ebp - 0x84], edi
call dword [sym.imp.MSVCRT.dll_rand]
cdq
idiv edi
or byte [0x438c18], 0xff
xor eax, eax
cmp dword [0x438c48], ebx
setne al
mov word [0x438c2c], ax
mov eax, dword [ebp - 0x18]
mov word [ebp - 0x8a], dx
mov ecx, dword [eax]
lea edx, [ebp - 0x9c]
push edx
push eax
call dword [ecx + 0xc]
mov edi, eax
movsx eax, byte [0x438c1a]
push eax
push dword [0x438c3c]
call fcn.0040a933
add word [0x438c22], ax
mov eax, dword [0x438c54]
neg eax
mov word [0x438c2e], ax
push 0xf105ffff
movsx eax, byte [0x438c1a]
push eax
call fcn.0040ab0e
add esp, 0x10
cmp edi, ebx
mov byte [0x438c18], al
jl 0x415bf1
push dword [0x438c4c]
push 0x1119ffff
call fcn.0040aac5
mov byte [0x438c21], al
mov eax, dword [ebp - 0x1c]
pop ecx
cmp eax, ebx
pop ecx
mov dword [ebp - 0x10], ebx
je 0x415b38
mov ecx, dword [eax]
lea edx, [ebp - 0x10]
push edx
push 0x438218
push eax
call dword [ecx]
movsx eax, byte [0x438c18]
push eax
mov byte [ebp - 4], 0xe
movsx eax, word [0x438c24]
push eax
call fcn.0040aa4f
cmp byte [0x438c1a], bl
pop ecx
mov dword [0x438c58], eax
mov eax, dword [0x438c50]
pop ecx
je 0x415b6f
cmp eax, ebx
mov dword [0x438c54], esi
jne 0x415b75
mov dword [0x438c54], ebx
cmp dword [ebp - 0x10], ebx
je 0x415be0
movsx ecx, byte [0x438c1d]
inc dword [0x438c44]
push ecx
push eax
mov dword [0x438c5c], 0x497e0000
movsx eax, word [0x438c24]
push eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov byte [0x438c1d], al
mov eax, dword [ebp - 0x10]
push esi
push ebx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x18]
movsx eax, byte [0x438c1c]
push eax
mov byte [ebp - 0x11], 1
movsx eax, word [0x438c34]
push eax
call fcn.0040aa4f
mov word [0x438c22], ax
pop ecx
movsx ax, byte [0x438c1f]
pop ecx
mov word [0x438c24], ax
mov eax, dword [ebp - 0x10]
mov byte [ebp - 4], 0xd
cmp eax, ebx
je 0x415bf1
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
movsx eax, word [0x438c24]
push 0x80efffff
push eax
call fcn.0040aa83
mov word [0x438c2a], ax
mov al, byte [0x438c26]
inc al
pop ecx
mov byte [0x438c1d], al
mov eax, dword [ebp - 0x18]
cmp eax, ebx
pop ecx
mov byte [ebp - 4], 7
je 0x415c28
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 0x18], ebx
mov byte [ebp - 4], 0xf
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
add byte [0x438c20], al
push 0xd805ffff
push 0x3829ffff
call fcn.0040aa4f
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
pop ecx
pop ecx
mov byte [0x438c1c], al
call edi
add word [0x438c30], ax
push 0x90dbffff
push 0xa721ffff
call fcn.0040a9de
add byte [0x438c1c], al
mov eax, dword [ebp - 0x1c]
pop ecx
lea edx, [ebp - 0x18]
pop ecx
mov ecx, dword [eax]
push edx
lea edx, [ebp - 0x32]
push edx
push eax
call dword [ecx + 0xc]
inc dword [0x438c58]
mov dword [ebp - 0x10], eax
movsx eax, byte [0x438c1d]
push 0x7ea7ffff
push eax
call fcn.0040a933
cmp dword [ebp - 0x10], ebx
pop ecx
pop ecx
mov byte [0x438c1d], al
jl 0x415e90
push 0x8c8bffff
push dword [0x438c48]
call fcn.0040aa4f
add word [0x438c26], ax
push 0x30
lea eax, [ebp - 0x9c]
push ebx
push eax
mov byte [0x438c1a], 1
call sub.MSVCRT.dll_memset
movsx eax, word [0x438c2e]
push eax
push 0xd9e9ffff
mov word [ebp - 0x9c], 0x30
mov word [ebp - 0x94], si
mov word [ebp - 0x96], si
call fcn.0040aa4f
add word [0x438c24], ax
push 0xa227ffff
push 0x3e29ffff
mov word [ebp - 0x98], 0x7cf
call fcn.0040aa18
add byte [0x438c1c], al
push 0x48f5ffff
push 0x4001ffff
mov dword [0x438c44], 0x5bdc0000
mov dword [ebp - 0x7c], 7
call fcn.0040aa18
push 0xd60fffff
push 0xa943ffff
mov word [0x438c2c], ax
call fcn.0040aa83
add dword [0x438c5c], eax
mov eax, dword [ebp - 0x18]
add esp, 0x34
lea edx, [ebp - 0x9c]
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0xc]
push dword [0x438c40]
mov dword [ebp - 0x10], eax
push 0x458dffff
call fcn.0040a9de
push dword [0x438c50]
mov dword [0x438c3c], eax
push 0x79bffff
call fcn.0040a9de
add byte [0x438c1e], al
add esp, 0x10
cmp dword [ebp - 0x10], ebx
jl 0x415e90
movsx eax, byte [0x438c18]
push eax
push 0x17e1ffff
call fcn.0040aa4f
add dword [0x438c50], eax
mov eax, dword [ebp - 0x1c]
pop ecx
cmp eax, ebx
pop ecx
mov dword [ebp - 0x10], ebx
je 0x415de8
mov ecx, dword [eax]
lea edx, [ebp - 0x10]
push edx
push 0x438218
push eax
call dword [ecx]
movsx eax, byte [0x438c20]
push eax
mov byte [ebp - 4], 0x10
push dword [0x438c5c]
push 0xf287ffff
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov byte [0x438c19], al
movsx eax, word [0x438c32]
push eax
movsx eax, word [0x438c24]
push eax
call fcn.0040aac5
add byte [0x438c20], al
cmp dword [ebp - 0x10], ebx
pop ecx
pop ecx
je 0x415e7f
call edi
mov dword [0x438c40], eax
mov eax, dword [ebp - 0x10]
push esi
push ebx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x18]
movsx eax, word [0x438c2c]
push eax
push 0x83e9ffff
mov byte [ebp - 0x11], 1
call fcn.0040ab0e
add dword [0x438c40], eax
pop ecx
pop ecx
call dword [sym.imp.USER32.dll_GetDesktopWindow]
add dword [0x438c3c], eax
push 0x4e15ffff
push 0x2a9bffff
call fcn.0040a8f9
add byte [0x438c1c], al
pop ecx
pop ecx
mov eax, dword [ebp - 0x10]
mov byte [ebp - 4], 0xf
cmp eax, ebx
je 0x415e90
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
movsx eax, word [0x438c24]
inc dword [0x438c5c]
push eax
movsx eax, word [0x438c34]
push eax
call fcn.0040a9a5
add word [0x438c34], ax
mov eax, dword [ebp - 0x18]
pop ecx
cmp eax, ebx
pop ecx
mov word [0x438c26], bx
mov byte [ebp - 4], 7
je 0x415ecc
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push esi
lea ecx, [ebp - 0x44]
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 - 0x6c]
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_]
mov eax, dword [ebp - 0x1c]
mov byte [ebp - 4], 1
cmp eax, ebx
je 0x415ef9
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x20]
mov byte [ebp - 4], bl
cmp eax, ebx
je 0x415f09
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
or dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x4c], 0x80010106
je 0x415f20
push 0x1c
call fcn.0040ebd2
pop ecx
call eax
mov ecx, dword [ebp - 0xc]
mov al, byte [ebp - 0x11]
lea esp, [ebp - 0x1ac]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret