Function at 0x46e5e0
Capabilities:
Create process on windows
Resolve function by parsing pe exports

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4b75d7
push eax
mov dword fs:[0], esp
sub esp, 0x920
push ebx
push ebp
mov ebp, ecx
push esi
push edi
mov edi, dword [esp + 0x940]
cmp edi, dword [ebp + 0x14]
jge 0x46f129
mov eax, dword [0x50e908]
mov ebx, dword [ebp + edi*4 + 0x18]
xor esi, esi
mov byte [esp + 0x28], 0
cmp eax, esi
je 0x46e637
mov eax, dword [0x50e900]
mov ecx, 0x50d088
push eax
call fcn.00476ae0
jmp 0x46e648
mov ecx, dword [0x50e900]
push ecx
mov ecx, 0x50d088
call fcn.00476c90
cmp eax, esi
je 0x46e665
mov eax, dword [eax + 0x20]
lea edx, [esp + 0x28]
push edx
push eax
mov ecx, 0x50d088
call fcn.0047a400
mov dword [esp + 0x30], eax
jmp 0x46e66e
mov byte [esp + 0x28], 0
mov dword [esp + 0x30], esi
cmp ebx, 7
jne 0x46e814
mov al, byte [0x5144a9]
test al, al
je 0x46e6a5
mov edi, 0x5144aa
or ecx, 0xffffffff
xor eax, eax
push 0x5144aa
repne scasb al, byte es:[edi]
not ecx
push ecx
push 0x55
mov ecx, 0x50d048
call fcn.00438680
jmp 0x46f129
or eax, 0xffffffff
mov dword [ebp + 0x8cfc], eax
mov ecx, dword [0x50d6fc]
cmp ecx, esi
je 0x46f129
mov cl, byte [esp + 0x28]
test cl, cl
jne 0x46e6c8
mov dword [esp + 0x30], eax
mov eax, dword [ebp + 0x14]
xor ebx, ebx
xor esi, esi
cmp eax, ebx
jle 0x46e762
lea ecx, [ebp + 0x16c]
mov dword [esp + 0x20], ebx
lea edi, [ebp + 0x18]
mov dword [esp + 0x2c], ecx
mov edx, dword [esp + 0x2c]
cmp dword [edx], 0
jg 0x46e6f6
cmp dword [edi], 4
jne 0x46e741
mov eax, dword [edi]
mov ecx, ebp
push eax
call fcn.0046df00
mov dword [esp + ebx + 0x10], eax
mov al, byte [esp + 0x28]
cmp al, 1
jne 0x46e736
mov eax, dword [esp + 0x30]
cmp eax, 7
jne 0x46e71a
mov eax, 6
push eax
call fcn.0046e5d0
mov ecx, dword [esp + 0x24]
add esp, 4
add eax, ecx
mov eax, dword [ebp + eax*4 + 0x16c]
mov dword [esp + ebx + 0x50], eax
jmp 0x46e73e
mov dword [esp + ebx + 0x50], 0
add ebx, 4
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x20]
mov eax, dword [ebp + 0x14]
inc esi
add edi, 4
add edx, 0xc
add ecx, 3
cmp esi, eax
mov dword [esp + 0x2c], edx
mov dword [esp + 0x20], ecx
jl 0x46e6e8
mov cl, byte [0x50d5f8]
mov esi, dword [esp + 0x30]
lea edx, [esp + 0x27]
push 0
mov byte [esp + 0x24], cl
mov eax, dword [esp + 0x24]
push edx
push 0x51421c
push 0x51419c
push eax
push esi
lea ecx, [esp + 0x68]
push 3
lea edx, [esp + 0x2c]
push ecx
push edx
mov byte [esp + 0x4b], 0
call dword [0x50d6fc]
add esp, 0x24
cmp eax, 1
jne 0x46e802
cmp byte [esp + 0x28], 1
jne 0x46e7ec
cmp esi, 7
mov dword [esp + 0x3c], 0
mov dword [esp + 0x34], 0x4be184
mov byte [esp + 0x38], 0x2b
jne 0x46e7cc
mov esi, 6
push esi
call fcn.0046e5d0
add esp, 4
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x34]
mov ecx, 0x50d048
push eax
push 0x2b
call fcn.004386f0
jmp 0x46e802
mov ecx, 0x50d048
call fcn.00438790
push 0
mov ecx, 0x50d048
call fcn.00438ab0
cmp byte [esp + 0x27], 1
jne 0x46f129
push 2
jmp 0x46f11f
cmp dword [0x50d6f8], esi
je 0x46f129
cmp dword [0x50e908], esi
jne 0x46e83d
push esi
push 0x4d6e5c
mov ecx, 0x50d088
call fcn.0047a840
jmp 0x46f129
cmp ebx, 1
jne 0x46e8ca
movsx eax, byte [0x50e904]
mov ecx, eax
shl ecx, 6
add ecx, eax
lea edx, [eax + ecx*4]
lea eax, [eax + edx*2]
cmp dword [eax*4 + 0x50ec88], esi
jl 0x46e8ca
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CString::CString_3
movsx eax, byte [0x50e904]
mov ecx, eax
mov dword [esp + 0x938], esi
shl ecx, 6
add ecx, eax
lea edx, [eax + ecx*4]
lea eax, [eax + edx*2]
lea edx, [esp + 0x20]
mov ecx, dword [eax*4 + 0x50ec88]
push ecx
push 0x4d6e30
push edx
call sub.MFC42.DLL_CString::Format
mov eax, dword [esp + 0x2c]
add esp, 0xc
mov ecx, 0x50d088
push esi
push eax
call fcn.0047a840
lea ecx, [esp + 0x20]
mov dword [esp + 0x938], 0xffffffff
call fcn.004ac05e
jmp 0x46f129
cmp dword [ebp + 0x260], 1
jne 0x46ef3b
mov cl, byte [esp + 0x27]
push 0
mov byte [esp + 0x14], cl
lea ecx, [esp + 0x14]
lea esi, [ebp + 0x264]
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 edi, esi
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [esp + 0x24], ecx
push ecx
lea ecx, [esp + 0x18]
call dword [sym.imp.MSVCP60.dll_private:_bool___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Grow_unsigned_int__bool_]
test al, al
je 0x46e936
mov eax, dword [esp + 0x20]
mov edi, dword [esp + 0x14]
mov ecx, eax
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x18], eax
mov byte [ecx + eax], 0
dec ebx
mov dword [esp + 0x938], 1
cmp ebx, 6
ja case.0x46e947.3
jmp dword [ebx*4 + 0x46f144]
lea edx, [esp + 0x278]
mov ecx, 1
push edx
mov eax, 6
mov dword [esp + 0x288], ecx
push 0x4b8
push 0x7f
mov ecx, 0x50d048
mov dword [esp + 0x284], 3
mov dword [esp + 0x288], 8
mov dword [esp + 0x28c], eax
call fcn.00438680
jmp 0x46ef11
mov edi, str.__999__
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push eax
push str.__999__
lea ecx, [esp + 0x1c]
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]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x46e9ea
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x46f129
mov al, byte [ecx - 1]
test al, al
je 0x46ef2c
cmp al, 0xff
je 0x46ef2c
dec al
mov byte [ecx - 1], al
jmp 0x46f129
mov eax, dword [esp + 0x18]
mov ebp, 7
cmp eax, ebx
jae 0x46ea01
call dword [sym.imp.MSVCP60.dll_void___cdecl_std::_Xran_void_]
mov eax, dword [esp + 0x18]
mov esi, dword [esp + 0x14]
test esi, esi
je 0x46ea41
mov cl, byte [esi - 1]
test cl, cl
je 0x46ea41
cmp cl, 0xff
je 0x46ea41
push 1
lea ecx, [esp + 0x14]
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 edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push esi
lea ecx, [esp + 0x18]
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 [esp + 0x18]
mov esi, dword [esp + 0x14]
mov ecx, eax
sub ecx, ebx
cmp ecx, 7
jae 0x46ea50
mov ebp, ecx
test ebp, ebp
jbe 0x46ea8a
sub eax, ebp
sub eax, ebx
push eax
lea eax, [esi + ebp]
add eax, ebx
add esi, ebx
push eax
push esi
call dword [sym.imp.MSVCRT.dll_memmove]
mov edi, dword [esp + 0x24]
add esp, 0xc
sub edi, ebp
lea ecx, [esp + 0x10]
push 0
push edi
call dword [sym.imp.MSVCP60.dll_private:_bool___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Grow_unsigned_int__bool_]
test al, al
je 0x46ea8a
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x18], edi
mov byte [ecx + edi], 0
mov edi, str.100050402
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push str.100050402
push ebx
lea ecx, [esp + 0x1c]
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__::insert_unsigned_int__char_const___unsigned_int_]
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x46eab7
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 ecx, eax
mov edi, eax
push ecx
jmp 0x46eed1
mov edi, str.__999__
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [esp + 0x20], ecx
jne 0x46eae1
mov edx, dword [esp + 0x14]
xor ebp, ebp
jmp 0x46eb63
mov eax, dword [esp + 0x18]
test eax, eax
jbe 0x46eb4e
mov ebp, eax
mov eax, dword [esp + 0x20]
cmp eax, ebp
ja 0x46eb4e
mov ebx, dword [esp + 0x14]
mov edx, 1
mov esi, eax
movsx eax, byte [str.__999__]
sub edx, esi
add ebp, edx
push ebp
push eax
push ebx
call dword [sym.imp.MSVCRT.dll_memchr]
add esp, 0xc
test eax, eax
je 0x46eb4e
mov ecx, dword [esp + 0x20]
mov edi, str.__999__
mov esi, eax
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
je 0x46ec91
sub ebx, eax
lea ebp, [ebx + ebp - 1]
lea ebx, [eax + 1]
movsx eax, byte [str.__999__]
push ebp
push eax
push ebx
call dword [sym.imp.MSVCRT.dll_memchr]
add esp, 0xc
test eax, eax
jne 0x46eb19
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 edx, dword [esp + 0x14]
mov ebp, dword [ecx]
cmp ebp, 0xffffffff
je 0x46ee91
mov eax, dword [esp + 0x18]
mov ebx, 7
cmp eax, ebp
jae 0x46eb7a
call dword [sym.imp.MSVCP60.dll_void___cdecl_std::_Xran_void_]
mov edx, dword [esp + 0x14]
test edx, edx
je 0x46ebb3
mov al, byte [edx - 1]
test al, al
je 0x46ebb3
cmp al, 0xff
je 0x46ebb3
push 1
lea ecx, [esp + 0x14]
mov esi, edx
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 edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push esi
lea ecx, [esp + 0x18]
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 edx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
sub eax, ebp
cmp eax, 7
jae 0x46ebc4
mov ebx, eax
test ebx, ebx
jbe 0x46ec06
mov eax, dword [esp + 0x18]
sub eax, ebx
sub eax, ebp
push eax
lea eax, [edx + ebx]
add eax, ebp
add edx, ebp
push eax
push edx
call dword [sym.imp.MSVCRT.dll_memmove]
mov esi, dword [esp + 0x24]
add esp, 0xc
sub esi, ebx
lea ecx, [esp + 0x10]
push 0
push esi
call dword [sym.imp.MSVCP60.dll_private:_bool___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Grow_unsigned_int__bool_]
test al, al
je 0x46ec02
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x18], esi
mov byte [ecx + esi], 0
mov edx, dword [esp + 0x14]
mov edi, 0x4d6e18
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov eax, dword [esp + 0x18]
not ecx
dec ecx
cmp eax, ebp
mov esi, ecx
jae 0x46ec29
call dword [sym.imp.MSVCP60.dll_void___cdecl_std::_Xran_void_]
mov edx, dword [esp + 0x14]
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 edi, dword [esp + 0x18]
mov ecx, dword [eax]
sub ecx, edi
cmp ecx, esi
ja 0x46ec44
call dword [sym.imp.MSVCP60.dll_void___cdecl_std::_Xlen_void_]
mov edx, dword [esp + 0x14]
test esi, esi
jbe 0x46ee04
mov edx, dword [esp + 0x18]
push 0
lea ecx, [esp + 0x14]
lea ebx, [edx + esi]
push ebx
call dword [sym.imp.MSVCP60.dll_private:_bool___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Grow_unsigned_int__bool_]
test al, al
je 0x46ee00
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
sub ecx, ebp
lea edx, [eax + ebp]
add eax, esi
push ecx
add eax, ebp
push edx
push eax
call dword [sym.imp.MSVCRT.dll_memmove]
mov ecx, esi
add esp, 0xc
mov esi, 0x4d6e18
jmp 0x46ede0
mov edx, dword [esp + 0x14]
sub eax, edx
mov ebp, eax
jmp 0x46eb5a
mov edi, str.__999__
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [esp + 0x20], ecx
jne 0x46ee13
mov edx, dword [esp + 0x14]
xor ebp, ebp
mov eax, dword [esp + 0x18]
mov ebx, 7
cmp eax, ebp
jae 0x46ecd4
call dword [sym.imp.MSVCP60.dll_void___cdecl_std::_Xran_void_]
mov edx, dword [esp + 0x14]
test edx, edx
je 0x46ed0d
mov al, byte [edx - 1]
test al, al
je 0x46ed0d
cmp al, 0xff
je 0x46ed0d
push 1
lea ecx, [esp + 0x14]
mov esi, edx
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 edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push esi
lea ecx, [esp + 0x18]
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 edx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
sub eax, ebp
cmp eax, 7
jae 0x46ed1e
mov ebx, eax
test ebx, ebx
jbe 0x46ed61
mov eax, dword [esp + 0x18]
lea ecx, [edx + ebp]
sub eax, ebx
sub eax, ebp
push eax
lea eax, [ebx + ebp]
add eax, edx
push eax
push ecx
call dword [sym.imp.MSVCRT.dll_memmove]
mov esi, dword [esp + 0x24]
add esp, 0xc
sub esi, ebx
lea ecx, [esp + 0x10]
push 0
push esi
call dword [sym.imp.MSVCP60.dll_private:_bool___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Grow_unsigned_int__bool_]
test al, al
je 0x46ed5d
mov edx, dword [esp + 0x14]
mov dword [esp + 0x18], esi
mov byte [edx + esi], 0
mov edx, dword [esp + 0x14]
mov edi, str.100050503
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov eax, dword [esp + 0x18]
not ecx
dec ecx
cmp eax, ebp
mov esi, ecx
jae 0x46ed84
call dword [sym.imp.MSVCP60.dll_void___cdecl_std::_Xran_void_]
mov edx, dword [esp + 0x14]
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 edi, dword [esp + 0x18]
mov ecx, dword [eax]
sub ecx, edi
cmp ecx, esi
ja 0x46ed9f
call dword [sym.imp.MSVCP60.dll_void___cdecl_std::_Xlen_void_]
mov edx, dword [esp + 0x14]
test esi, esi
jbe 0x46ee04
mov edx, dword [esp + 0x18]
push 0
lea ecx, [esp + 0x14]
lea ebx, [edx + esi]
push ebx
call dword [sym.imp.MSVCP60.dll_private:_bool___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Grow_unsigned_int__bool_]
test al, al
je 0x46ee00
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
sub ecx, ebp
push ecx
lea ecx, [esi + ebp]
lea edx, [eax + ebp]
add ecx, eax
push edx
push ecx
call dword [sym.imp.MSVCRT.dll_memmove]
mov ecx, esi
add esp, 0xc
mov esi, str.100050503
mov edx, dword [esp + 0x14]
mov eax, ecx
shr ecx, 2
lea edi, [edx + ebp]
push ebx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x14]
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Eos_unsigned_int_]
mov edx, dword [esp + 0x14]
test edx, edx
je 0x46eec7
mov eax, edx
jmp 0x46eece
mov eax, dword [esp + 0x18]
test eax, eax
jbe 0x46ee7c
mov ebp, eax
mov eax, dword [esp + 0x20]
cmp eax, ebp
ja 0x46ee7c
movsx edx, byte [str.__999__]
mov ebx, dword [esp + 0x14]
mov ecx, 1
mov esi, eax
sub ecx, esi
add ebp, ecx
push ebp
push edx
push ebx
call dword [sym.imp.MSVCRT.dll_memchr]
add esp, 0xc
test eax, eax
je 0x46ee7c
mov ecx, dword [esp + 0x20]
mov edi, str.__999__
mov esi, eax
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
je 0x46eeae
sub ebx, eax
lea ebp, [ebx + ebp - 1]
lea ebx, [eax + 1]
movsx eax, byte [str.__999__]
push ebp
push eax
push ebx
call dword [sym.imp.MSVCRT.dll_memchr]
add esp, 0xc
test eax, eax
jne 0x46ee4b
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 edx, dword [esp + 0x14]
mov ebp, dword [ecx]
cmp ebp, 0xffffffff
jne 0x46ecbd
test edx, edx
je 0x46f129
mov al, byte [edx - 1]
test al, al
je 0x46eeb8
cmp al, 0xff
je 0x46eeb8
dec al
mov byte [edx - 1], al
jmp 0x46f129
mov edx, dword [esp + 0x14]
sub eax, edx
mov ebp, eax
jmp 0x46ee88
dec edx
push edx
call sub.MFC42.DLL_operatordelete
add esp, 4
jmp 0x46f129
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 edx, eax
push eax
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
push 0x55
mov ecx, 0x50d048
call fcn.00438680
jmp 0x46ef11
cmp byte [esp + 0x28], 1
jne 0x46eefb
push 4
mov ecx, ebp
call fcn.0046e5e0
jmp 0x46ef11
mov ecx, 0x50d048
call fcn.00438790
push 0
mov ecx, 0x50d048
call fcn.00438ab0
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x46f129
mov al, byte [ecx - 1]
test al, al
je 0x46ef2c
cmp al, 0xff
jne 0x46e9e0
dec ecx
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
jmp 0x46f129
mov ecx, 0x4dc248
mov dword [esp + 0x2c], esi
call fcn.0041f060
mov edx, dword [eax]
lea ecx, [esp + 0x2c]
push ecx
mov ecx, eax
call dword [edx + 0xc]
cmp dword [esp + 0x2c], esi
je 0x46ef7e
mov ecx, dword [ebp + edi*4 + 0xcc]
mov eax, 0x51eb851f
imul ecx, dword [ebp + 0x25c]
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
mov esi, edx
jmp 0x46ef80
xor esi, esi
push ebx
mov ecx, ebp
call fcn.0046f860
mov edx, dword [esp + 0x28]
push eax
cmp dword [0x514e20], 1
sete cl
push ecx
push edx
push ebx
mov ecx, ebp
call fcn.0046f8d0
mov ecx, dword [ebp + edi*4 + 0x11c]
push eax
xor eax, eax
mov al, byte [edi + ebp + 0x68]
push eax
push ecx
push ebx
mov ecx, ebp
call fcn.0046df00
push eax
push ebx
mov ecx, ebp
call fcn.0046e390
mov edx, dword [ebp + edi*4 + 0xcc]
push eax
mov eax, dword [ebp + edi*4 + 0x7c]
push esi
push edx
push eax
push ebx
mov ecx, ebp
call fcn.0046df40
push eax
call dword [0x50d6f8]
add esp, 0x30
test eax, eax
je 0x46f129
cmp eax, 1
jne 0x46f017
lea ecx, [esp + 0x34]
mov dword [esp + 0x34], 0x4be178
push ecx
push 0x16
mov ecx, 0x50d048
mov byte [esp + 0x40], 0x16
mov dword [esp + 0x44], ebx
call fcn.004386f0
jmp 0x46f129
cmp eax, 2
jne 0x46f037
push ebx
mov ecx, ebp
call fcn.0046f8d0
test al, al
sete dl
push edx
push ebx
mov ecx, ebp
call fcn.0046f930
jmp 0x46f129
cmp eax, 3
jne 0x46f129
cmp ebx, 4
jne 0x46f101
mov ecx, 0x7f
xor eax, eax
lea edi, [esp + 0x79]
mov byte [esp + 0x78], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0x200
lea eax, [esp + 0x734]
push 0x200
push eax
mov ecx, 0x50d048
call fcn.004391f0
mov edx, dword [0x4d3860]
mov eax, dword [0x4d3864]
mov ecx, 7
mov esi, str.http:__ptlogin.qq.com_jump_
lea edi, [esp + 0x5c]
mov dword [esp + 0x44], edx
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [str.keyindex1u1]
mov dword [esp + 0x48], eax
mov dword [esp + 0x40], ecx
mov ecx, dword [0x4d3868]
lea edx, [esp + 0x40]
mov dword [esp + 0x4c], ecx
mov ecx, dword [0x514aa4]
push 0x50db0c
lea eax, [esp + 0x734]
push edx
push eax
lea edx, [esp + 0x68]
push ecx
push edx
push str._sclientuin_uclientkey_s_s_s
lea eax, [esp + 0x90]
push 0x1ff
push eax
call dword [sym.imp.MSVCRT.dll__snprintf]
add esp, 0x20
lea ecx, [esp + 0x78]
push 1
push 0
push 0
push ecx
push 0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
jmp 0x46f129
cmp byte [esp + 0x28], 1
jne 0x46f113
push 4
mov ecx, ebp
call fcn.0046e5e0
jmp 0x46f129
mov ecx, 0x50d048
call fcn.00438790
push 0
mov ecx, 0x50d048
call fcn.00438ab0
mov ecx, dword [esp + 0x930]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x92c
ret 4