Function at 0x10026640
Capabilities:
Hash data with md5
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1004def6
mov eax, dword fs:[0]
push eax
sub esp, 0x388
mov eax, dword [0x1007100c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x390], ecx
mov bl, byte [ebp + 8]
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x37c], eax
mov byte [ebp - 0x381], bl
mov byte [ebp - 0x374], bl
mov dword [ebp - 0x378], 0
mov dword [ebp - 4], 0
movzx edi, bl
cmp dword [0x10074c90], edi
je 0x100268a6
sub esp, 8
lea ecx, [ebp - 0x138]
call fcn.1001b2d0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.10048250
mov esi, eax
mov byte [ebp - 4], 2
mov edx, 0x1005cd44
lea ecx, [ebp - 0x128]
call fcn.1001bd20
cmp dword [esi + 0x14], 0x10
mov ecx, dword [esi + 0x10]
jb 0x100266e7
mov esi, dword [esi]
push ecx
mov edx, esi
mov ecx, eax
call fcn.1001fea0
add esp, 4
mov edx, 0x1005cd40
mov ecx, eax
call fcn.1001bd20
mov edx, str.Unauthorized_Packet_data_detected_in_KSocket::WritePacketAutoCrc_
mov ecx, eax
call fcn.1001bd20
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x10026746
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1002673c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1002673c
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.10049656
add esp, 8
push edi
push dword [0x10074c90]
lea ecx, [ebp - 0x128]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___int_]
mov edx, 0x1005d958
mov ecx, eax
call fcn.1001bd20
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___int_]
mov edx, 0x1005d954
mov ecx, eax
call fcn.1001bd20
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x138]
call fcn.1001b1d0
mov byte [ebp - 4], 3
sub esp, 0x18
lea eax, [ebp - 0x40]
mov dword [ebp - 0x374], esp
mov ecx, esp
mov bl, 1
push eax
call fcn.100058c0
mov byte [ebp - 4], 4
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x38c], esp
push 0x27
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
push str.._XTrap_CrashLog_WritePacketAutoCrc.txt
mov byte [ecx], 0
call fcn.10003980
mov byte [ebp - 4], 5
mov byte [ebp - 4], 3
mov cl, bl
call fcn.1003cfb0
push 0xffffffffffffffff
push 0xd2fa
push str.Game_Engine_failure_detected._Contact_the_admin_immediately.
mov eax, 0x6e72f0
call eax
add esp, 0x3c
mov byte [ebp - 4], bl
mov edx, dword [ebp - 0x2c]
cmp edx, 0x10
jb 0x1002683e
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10026834
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10026834
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.10049656
add esp, 8
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x138]
call fcn.10016610
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp + 0x20]
cmp edx, 0x10
jb 0x1002689c
mov ecx, dword [ebp + 0xc]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10026892
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10026892
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.10049656
add esp, 8
mov eax, 1
jmp 0x100273c0
mov dword [0x10074c90], 0
call fcn.10003b00
push 0x10072f28
mov esi, eax
call dword [sym.imp.VCRUNTIME140.dll___std_type_info_hash]
add esp, 4
mov dword [ebp - 0x380], eax
lea eax, [ebp - 0x380]
mov ecx, esi
push eax
call fcn.10003ce0
test eax, eax
je 0x100268ef
lea eax, [ebp - 0x380]
mov ecx, esi
push eax
call fcn.10003e90
mov edi, dword [eax]
jmp 0x100268f1
xor edi, edi
mov dword [ebp - 0x388], edi
cmp bl, 1
jne 0x10026bd3
cmp dword [0x10074c60], 0
jne 0x10026bd3
mov eax, dword [ebp - 0x37c]
push 0
mov dword [0x10074c60], 1
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 0x374], ecx
mov dword [ebp - 0x38c], eax
call dword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
push eax
call dword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_srand]
xor eax, eax
mov dword [ebp - 0x1c], 0
add esp, 8
mov dword [ebp - 0x18], eax
xor edx, edx
mov dword [ebp - 0x14], edx
mov byte [ebp - 4], 6
mov ecx, 2
mov dword [ebp - 0x380], ecx
mov esi, ecx
cmp esi, dword [0x10074c94]
je 0x1002698e
cmp edx, eax
je 0x10026978
mov dword [eax], ecx
add eax, 4
mov dword [ebp - 0x18], eax
jmp 0x1002698e
lea ecx, [ebp - 0x380]
push ecx
push eax
lea ecx, [ebp - 0x1c]
call fcn.1002e030
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x18]
lea ecx, [esi + 1]
mov dword [ebp - 0x380], ecx
mov esi, ecx
cmp ecx, 0xc8
jle 0x10026962
mov dword [ebp - 0x388], edx
or ebx, 0xffffffff
mov edx, 0x20
nop
shr ebx, 1
dec edx
cmp ebx, 0x7fff
ja 0x100269b0
mov edi, dword [ebp - 0x1c]
mov dword [ebp - 0x380], edx
cmp edi, eax
je 0x10026ae2
lea ecx, [edi + 4]
mov dword [ebp - 0x36c], 0
mov esi, eax
mov dword [ebp - 0x37c], ecx
sub esi, ecx
add esi, 3
shr esi, 2
cmp ecx, eax
cmova esi, dword [ebp - 0x36c]
mov dword [ebp - 0x394], esi
test esi, esi
je 0x10026ae2
mov esi, 2
mov dword [ebp - 0x36c], esi
nop dword [eax + eax]
mov ecx, dword [ebp - 0x36c]
lea eax, [esi - 1]
nop dword [eax]
xor edi, edi
xor esi, esi
test eax, eax
je 0x10026a62
lea eax, [edx - 1]
nop dword [eax + eax]
mov ecx, eax
shl edi, cl
add edi, edi
call dword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
cmp eax, ebx
ja 0x10026a36
or edi, eax
mov eax, dword [ebp - 0x380]
dec eax
mov ecx, eax
shl esi, cl
mov ecx, dword [ebp - 0x36c]
add esi, esi
or esi, ebx
dec ecx
cmp esi, ecx
jb 0x10026a30
mov ecx, dword [ebp - 0x36c]
xor edx, edx
mov eax, esi
div ecx
mov ecx, eax
mov esi, edx
xor edx, edx
mov eax, edi
div dword [ebp - 0x36c]
cmp eax, ecx
jb 0x10026a8d
mov ecx, dword [ebp - 0x36c]
mov edx, dword [ebp - 0x380]
lea eax, [ecx - 1]
cmp esi, eax
jne 0x10026a20
mov esi, dword [ebp - 0x36c]
mov eax, edi
xor edx, edx
mov edi, dword [ebp - 0x1c]
div esi
lea eax, [esi - 1]
cmp edx, eax
je 0x10026abf
mov eax, dword [ebp - 0x37c]
mov esi, dword [ebp - 0x37c]
mov ecx, dword [eax]
mov eax, dword [edi + edx*4]
mov dword [esi], eax
mov esi, dword [ebp - 0x36c]
mov dword [edi + edx*4], ecx
add dword [ebp - 0x37c], 4
inc esi
mov edx, dword [ebp - 0x380]
mov dword [ebp - 0x36c], esi
lea eax, [esi - 2]
cmp eax, dword [ebp - 0x394]
jne 0x10026a10
mov esi, dword [edi]
mov eax, esi
shl eax, 0xc
push eax
push dword [ebp - 0x38c]
push dword [ebp - 0x374]
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x374], esp
push 3
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
push 0x1005dacc
mov byte [ecx], 0
call fcn.10003980
mov byte [ebp - 4], 7
push 1
push dword [ebp - 0x390]
mov byte [ebp - 4], 6
call fcn.100273f0
add esp, 0x2c
mov dword [0x10074c94], esi
mov dword [0x10074c60], 0
mov byte [ebp - 4], 0
mov eax, edi
mov ecx, dword [ebp - 0x388]
sub ecx, edi
and ecx, 0xfffffffc
cmp ecx, 0x1000
jb 0x10026b75
mov edi, dword [edi - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10026b75
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edi
call fcn.10049656
add esp, 8
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp + 0x20]
cmp edx, 0x10
jb 0x1002689c
mov ecx, dword [ebp + 0xc]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10026892
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10026892
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
mov esi, dword [ebp - 0x37c]
lea eax, [ebp + 0xc]
push esi
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x38c], esp
push eax
call fcn.100058c0
mov byte [ebp - 4], 8
push dword [ebp - 0x374]
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x390]
call fcn.100274c0
push esi
sub esp, 0x18
lea eax, [ebp + 0xc]
mov ecx, esp
mov dword [ebp - 0x374], esp
push eax
call fcn.100058c0
mov byte [ebp - 4], 9
mov eax, dword [edi]
mov byte [ebp - 4], 0
mov ecx, edi
call dword [eax + 4]
mov dword [ebp - 0x36c], eax
add eax, 3
push eax
mov dword [ebp - 0x374], eax
call fcn.1004968c
mov ecx, dword [ebp - 0x36c]
mov edi, eax
add ecx, 3
mov dword [ebp - 0x38c], edi
add esp, 4
mov word [edi], cx
cmp bl, 8
je 0x10026c6a
cmp bl, 7
je 0x10026c6a
cmp bl, 3
jne 0x10027162
call fcn.10026410
mov ecx, 0x6ddc30
test al, al
jne 0x10026c91
push 0
push 0
push 0
push 0
push str.engine.exe_manipulation_detected._Connection_terminated.
mov byte [0x10073ea7], 1
call ecx
add esp, 0x14
push str.d3dx9_29.dll
lea ecx, [ebp - 0x1c4]
mov dword [ebp - 0x1b0], 0
mov dword [ebp - 0x1b4], 0
mov dword [ebp - 0x1c4], 0x67452301
mov dword [ebp - 0x1c0], 0xefcdab89
mov dword [ebp - 0x1bc], 0x98badcfe
mov dword [ebp - 0x1b8], 0x10325476
mov dword [ebp - 0x23c], 0
mov dword [ebp - 0x240], 0
mov dword [ebp - 0x250], 0x67452301
mov dword [ebp - 0x24c], 0xefcdab89
mov dword [ebp - 0x248], 0x98badcfe
mov dword [ebp - 0x244], 0x10325476
mov dword [ebp - 0x2c8], 0
mov dword [ebp - 0x2cc], 0
mov dword [ebp - 0x2dc], 0x67452301
mov dword [ebp - 0x2d8], 0xefcdab89
mov dword [ebp - 0x2d4], 0x98badcfe
mov dword [ebp - 0x2d0], 0x10325476
mov dword [ebp - 0x354], 0
mov dword [ebp - 0x358], 0
mov dword [ebp - 0x368], 0x67452301
mov dword [ebp - 0x364], 0xefcdab89
mov dword [ebp - 0x360], 0x98badcfe
mov dword [ebp - 0x35c], 0x10325476
mov dword [ebp - 0x100], 0
mov dword [ebp - 0x104], 0
mov dword [ebp - 0x114], 0x67452301
mov dword [ebp - 0x110], 0xefcdab89
mov dword [ebp - 0x10c], 0x98badcfe
mov dword [ebp - 0x108], 0x10325476
call fcn.10025350
mov edx, eax
mov dword [ebp - 0x18], 0
mov ecx, edx
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10026df4
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.10003980
mov byte [ebp - 4], 0xa
mov ebx, 1
push str.99f4fc172a5ace36cf00aa7038d23f2c
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x378], ebx
call fcn.100064e0
test al, al
je 0x10026f57
push str.dbghelp.dll
lea ecx, [ebp - 0x250]
call fcn.10025350
mov edx, eax
mov dword [ebp - 0x30], 0
mov ecx, edx
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10026e62
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x40]
call fcn.10003980
mov dword [ebp - 4], 0xb
mov ebx, 3
push str.3b5f0bf4125688a531fa21c823ea6193
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x378], ebx
call fcn.100064e0
test al, al
je 0x10026f57
push str.MFC71.dll
lea ecx, [ebp - 0x2dc]
call fcn.10025350
push eax
lea ecx, [ebp - 0x88]
call fcn.10003750
mov dword [ebp - 4], 0xc
mov ebx, 7
push str.f35a584e947a5b401feb0fe01db4a0d7
mov ecx, eax
mov dword [ebp - 0x378], ebx
call fcn.100064e0
test al, al
je 0x10026f57
push str.msvcp71.dll
lea ecx, [ebp - 0x368]
call fcn.10025350
push eax
lea ecx, [ebp - 0x70]
call fcn.10003750
mov dword [ebp - 4], 0xd
mov ebx, 0xf
push str.561fa2abb31dfa8fab762145f81667c2
mov ecx, eax
mov dword [ebp - 0x378], ebx
call fcn.100064e0
test al, al
je 0x10026f57
push str.msvcr71.dll
lea ecx, [ebp - 0x114]
call fcn.10025350
push eax
lea ecx, [ebp - 0x58]
call fcn.10003750
mov dword [ebp - 4], 0xe
mov ebx, 0x1f
push str.86f1895ae8c5e8b17d99ece768a70732
mov ecx, eax
mov dword [ebp - 0x378], ebx
call fcn.100064e0
mov byte [ebp - 0x36d], 0
test al, al
jne 0x10026f5e
mov byte [ebp - 0x36d], 1
mov dword [ebp - 4], 0xd
test bl, 0x10
je 0x10026fbb
and ebx, 0xffffffef
mov dword [ebp - 0x378], ebx
mov edx, dword [ebp - 0x44]
cmp edx, 0x10
jb 0x10026fa9
mov ecx, dword [ebp - 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10026f9f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10026f9f
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.10049656
add esp, 8
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
mov dword [ebp - 4], 0xc
test bl, 8
je 0x10027018
and ebx, 0xfffffff7
mov dword [ebp - 0x378], ebx
mov edx, dword [ebp - 0x5c]
cmp edx, 0x10
jb 0x10027006
mov ecx, dword [ebp - 0x70]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10026ffc
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10026ffc
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.10049656
add esp, 8
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0xf
mov byte [ebp - 0x70], 0
mov dword [ebp - 4], 0xb
test bl, 4
je 0x1002707b
and ebx, 0xfffffffb
mov dword [ebp - 0x378], ebx
mov edx, dword [ebp - 0x74]
cmp edx, 0x10
jb 0x10027066
mov ecx, dword [ebp - 0x88]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1002705c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1002705c
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.10049656
add esp, 8
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], 0xf
mov byte [ebp - 0x88], 0
mov dword [ebp - 4], 0xa
test bl, 2
je 0x100270d8
and ebx, 0xfffffffd
mov dword [ebp - 0x378], ebx
mov edx, dword [ebp - 0x2c]
cmp edx, 0x10
jb 0x100270c6
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100270bc
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100270bc
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.10049656
add esp, 8
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
mov dword [ebp - 4], 0
test bl, 1
je 0x10027135
and ebx, 0xfffffffe
mov dword [ebp - 0x378], ebx
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x10027123
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10027119
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10027119
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.10049656
add esp, 8
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
cmp byte [ebp - 0x36d], 0
je 0x1002715c
push 0
push 0
push 0
push 0
push str.File_manipulation_detected._nDownload_latest_patch_from_our_website.
mov eax, 0x6ddc30
mov byte [0x10073ea7], 1
call eax
add esp, 0x14
mov esi, dword [ebp - 0x37c]
cmp byte [0x10073ea7], 1
jne 0x100271b8
push edi
call fcn.10049687
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp + 0x20]
cmp edx, 0x10
jb 0x100271b1
mov ecx, dword [ebp + 0xc]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100271a7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100271a7
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.10049656
add esp, 8
xor eax, eax
jmp 0x100273c0
cmp byte [ebp - 0x381], 8
mov ebx, 0x61
movzx eax, byte [ebp - 0x381]
mov ecx, dword [0x10074c94]
cmovne ebx, eax
test ecx, ecx
je 0x100271ed
mov eax, dword [0x10074c64]
lea eax, [eax + ecx*4]
add eax, ecx
lea ecx, [eax*8]
sub ecx, eax
jmp 0x100271ef
xor ecx, ecx
push esi
add cl, bl
lea eax, [ebp + 0xc]
add cl, byte [0x10074c8c]
sub esp, 0x18
mov byte [edi + 2], cl
mov ecx, esp
mov dword [ebp - 0x394], esp
push eax
call fcn.100058c0
mov byte [ebp - 4], 0xf
lea eax, [edi + 3]
mov ecx, dword [ebp - 0x388]
push dword [ebp - 0x36c]
push eax
mov edx, dword [ecx]
mov byte [ebp - 4], 0
call dword [edx + 0xc]
movzx eax, word [edi]
mov ecx, dword [ebp - 0x390]
push eax
push edi
call fcn.10026180
push dword [ebp - 0x374]
mov ecx, dword [0x9dbf24]
mov eax, 0x6708b0
push edi
call eax
push dword [ebp - 0x38c]
mov edi, eax
call fcn.10049687
mov ecx, dword [0x10072ce4]
add esp, 4
mov edx, dword [0xa104c8]
mov dword [ecx], edx
cmp bl, 3
jne 0x10027381
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [ebp - 0x3c]
push str.._AutoLogin.txt
push 0x14
push eax
push 0x1005766d
push str.Username
push str.Login
call esi
push str.._AutoLogin.txt
push 0x14
lea eax, [ebp - 0x24]
push eax
push 0x1005766d
push str.Password
push str.Login
call esi
lea ecx, [ebp - 0x3c]
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100272c0
sub ecx, edx
je 0x1002733a
lea edx, [ebp - 0x24]
lea esi, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x100272d1
sub edx, esi
je 0x1002733a
cmp dword [0x10072ea0], 0x10
mov eax, 0x10072e8c
cmovae eax, dword [0x10072e8c]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x3c]
push eax
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x374], esp
push 3
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
push 0x1005dc74
mov byte [ecx], 0
call fcn.10003980
mov byte [ebp - 4], 0x10
push 7
push dword [ebp - 0x390]
mov byte [ebp - 4], 0
call fcn.100273f0
add esp, 0x2c
jmp 0x10027381
mov esi, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
test ecx, ecx
jne 0x1002735a
push str.._AutoLogin.txt
push 0x1005766d
push str.Username
push str.Login
call esi
lea ecx, [ebp - 0x24]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10027360
sub ecx, edx
jne 0x10027381
push str.._AutoLogin.txt
push 0x1005766d
push str.Password
push str.Login
call esi
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp + 0x20]
cmp edx, 0x10
jb 0x100273be
mov ecx, dword [ebp + 0xc]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100273b4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100273b4
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.10049656
add esp, 8
mov eax, edi
mov byte [ebp + 0xc], 0
mov dword [ebp + 0x20], 0xf
mov dword [ebp + 0x1c], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100490d4
mov esp, ebp
pop ebp
ret 0x20