Function at 0x42ab30
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x52249e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x130
mov eax, dword [0x565e78]
push ebx
push ebp
mov ebp, dword [esp + 0x148]
push esi
push edi
xor edi, edi
mov dword [esp + 0x14], edi
mov esi, dword [ebp + 0x1acc]
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
mov dword [esp + 0x13c], eax
mov dword [esp + 0x14], esi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], edi
mov ecx, dword [ebp + 0x1c0]
cmp ecx, edi
je 0x42acc4
mov eax, dword [ebp + 0x1c4]
sub eax, ecx
mov ecx, dword [esp + 0x1c]
sar eax, 4
cmp ecx, eax
jae 0x42acc4
mov eax, dword [ebp + 0x1c0]
mov ecx, dword [esp + 0x20]
mov edi, dword [ecx + eax]
push edi
mov ecx, esi
call fcn.004f4a5f
mov edx, dword [esi + 0x1c]
push edi
push 3
push 0x110a
push edx
mov dword [esp + 0x28], eax
call ebx
push eax
mov ecx, esi
call fcn.004f4a5f
mov edi, eax
mov eax, dword [ebp + 0x3120]
push eax
mov ecx, esi
call fcn.004f4a5f
mov ecx, dword [esp + 0x18]
mov edx, dword [ecx]
mov ecx, dword [esp + 0x154]
cmp edx, dword [ecx]
jne 0x42abfb
mov edx, dword [edi]
cmp edx, dword [eax]
je 0x42ac16
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
inc ecx
add eax, 0x10
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], eax
xor edi, edi
jmp 0x42ab80
mov eax, dword [esp + 0x154]
mov ecx, dword [eax + 4]
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov dword [edx + 0x24], ecx
mov ecx, dword [ebp + 0x1c0]
shl eax, 4
add eax, ecx
mov eax, dword [eax]
mov ecx, dword [ebp + 0x3124]
push eax
push 3
mov dword [ebp + 0x312c], ecx
mov dword [ebp + 0x3124], eax
mov byte [ebp + 0x3138], 0
mov edx, dword [esi + 0x1c]
push 0x110a
push edx
mov dword [esp + 0x5c], eax
call ebx
push eax
mov ecx, esi
call fcn.004f4a5f
lea edi, [ebp + 0x66dc]
mov edx, eax
call fcn.00452820
lea ecx, [esp + 0xd8]
push ecx
mov ecx, eax
call fcn.00451c50
mov dword [esp + 0x148], 5
mov edi, dword [esp + 0xdc]
mov eax, dword [esp + 0xe0]
cmp edi, eax
je 0x42aed9
mov edx, dword [esp + 0x18]
mov ecx, dword [edx]
mov edi, edi
cmp dword [edi], ecx
je 0x42ade1
add edi, 0x44
cmp edi, eax
jne 0x42acb0
jmp 0x42aed9
mov ebx, 0x53cee8
mov dword [esp + 0x50], 0x540718
mov dword [esp + 0x58], 0x53cfb8
mov dword [esp + 0xa4], ebx
push edi
lea edx, [esp + 0x60]
push edx
lea eax, [esp + 0x58]
mov dword [esp + 0x150], edi
mov esi, 1
push eax
mov dword [esp + 0x20], esi
call fcn.0046d440
mov dword [esp + 0x148], esi
mov ecx, dword [esp + 0x50]
mov edx, dword [ecx + 4]
lea eax, [esp + 0x5c]
push eax
mov dword [esp + edx + 0x54], 0x540720
call fcn.0040b210
mov dword [esp + 0x5c], 0x53ce7c
mov dword [esp + 0x98], edi
mov dword [esp + 0x9c], edi
mov ecx, dword [esp + 0x154]
mov dword [esp + 0x148], 3
mov edx, dword [ecx]
push 0x54295c
push edx
lea eax, [esp + 0x60]
push 0x542938
push eax
call fcn.00408880
add esp, 8
push eax
call fcn.00450530
push eax
call fcn.00408880
add esp, 8
lea ecx, [esp + 0x100]
lea eax, [esp + 0x50]
call fcn.0046d240
push esi
push 2
push eax
mov ecx, 0x56b814
mov byte [esp + 0x154], 4
call dword [sym.imp.log.dll_public:_void___thiscall_my_log::write_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___enum_log_type__bool_]
cmp dword [esp + 0x118], 0x10
jb 0x42adb2
mov ecx, dword [esp + 0x104]
push ecx
call fcn.004fa776
add esp, 4
lea ecx, [esp + 0xa4]
mov dword [esp + 0x148], 0xffffffff
call fcn.0046d280
lea ecx, [esp + 0xa4]
mov dword [esp + 0xa4], ebx
call fcn.004c6d90
jmp 0x42b6ff
mov eax, dword [edi]
mov dword [ebp + 0x66e8], eax
mov ecx, dword [edi + 4]
mov dword [ebp + 0x66ec], ecx
mov edx, dword [edi + 8]
mov dword [ebp + 0x66f0], edx
mov eax, dword [edi + 0xc]
mov dword [ebp + 0x66f4], eax
mov ecx, dword [edi + 0x10]
mov dword [ebp + 0x66f8], ecx
mov edx, dword [edi + 0x14]
mov dword [ebp + 0x66fc], edx
mov eax, dword [edi + 0x18]
mov dword [ebp + 0x6700], eax
mov ecx, dword [edi + 0x1c]
mov dword [ebp + 0x6704], ecx
lea eax, [edi + 0x20]
lea ecx, [ebp + 0x6708]
call fcn.004508f0
lea eax, [edi + 0x30]
lea ecx, [ebp + 0x6718]
call fcn.00450ae0
mov edx, dword [edi + 0x40]
mov dword [ebp + 0x6728], edx
mov eax, dword [ebp + 0x66ec]
cmp eax, 2
je 0x42ae5d
cmp eax, 3
jne 0x42ae70
push 8
push 0x54292c
mov ecx, 0x56ba7c
call fcn.00401f00
jmp 0x42ae8e
push 0x99
call fcn.004fa7c6
test eax, eax
je 0x42ae8e
push 0x99
push eax
mov ecx, 0x56ba7c
call fcn.00402150
mov eax, dword [0x56ba7c]
mov edi, dword [ebp + 0x1afc]
mov dword [esp + 0x100], 4
cmp dword [eax - 4], 1
jle 0x42aebd
mov eax, dword [eax - 0xc]
push eax
mov ecx, 0x56ba7c
call fcn.00401d60
mov eax, dword [0x56ba7c]
lea ecx, [esp + 0x100]
push ecx
push 7
mov dword [esp + 0x114], eax
mov edx, dword [edi + 0x1c]
push 0x101a
push edx
call ebx
mov dword [esp + 0x148], 0xffffffff
mov edi, dword [esp + 0xdc]
xor edx, edx
cmp edi, edx
je 0x42af57
cmp edi, dword [esp + 0xe0]
je 0x42af45
add edi, 0x34
lea ecx, [ecx]
mov eax, dword [edi]
cmp eax, edx
je 0x42af11
push eax
call fcn.004fa776
add esp, 4
xor edx, edx
mov dword [edi], edx
mov dword [edi + 4], edx
mov dword [edi + 8], edx
mov eax, dword [edi - 0x10]
cmp eax, edx
je 0x42af2b
push eax
call fcn.004fa776
add esp, 4
xor edx, edx
mov ecx, dword [esp + 0xe0]
mov dword [edi - 0x10], edx
mov dword [edi - 0xc], edx
mov dword [edi - 8], edx
add edi, 0x44
lea eax, [edi - 0x34]
cmp eax, ecx
jne 0x42af00
mov ecx, dword [esp + 0xdc]
push ecx
call fcn.004fa776
add esp, 4
xor edx, edx
mov eax, dword [esp + 0x154]
mov ecx, dword [eax + 4]
mov eax, 1
cmp ecx, eax
mov dword [ebp + 0x66d8], ecx
mov dword [ebp + 0x66d4], eax
jbe 0x42b05c
push 0x542918
lea ecx, [esp + 0x20]
call fcn.00402030
mov dword [esp + 0x148], 6
mov ecx, dword [eax]
mov edi, dword [ebp + 0x633c]
lea eax, [ecx - 0x10]
sub edi, 0x10
cmp eax, edi
je 0x42aff5
mov edx, dword [edi + 0xc]
test edx, edx
jl 0x42afe5
mov edx, dword [eax]
cmp edx, dword [edi]
jne 0x42afe5
push eax
call fcn.00401c20
mov dword [esp + 0x24], eax
add esp, 4
or ecx, 0xffffffff
lea eax, [edi + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x42afd6
mov ecx, dword [edi]
mov edx, dword [ecx]
push edi
call dword [edx + 4]
mov eax, dword [esp + 0x20]
add eax, 0x10
mov dword [ebp + 0x633c], eax
jmp 0x42aff5
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [ebp + 0x633c]
call fcn.00401f00
lea edi, [ebp + 0x62cc]
test edi, edi
jne 0x42b003
xor eax, eax
jmp 0x42b006
mov eax, dword [edi + 0x1c]
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x42b021
mov edx, dword [edi]
push ebp
push 0xca
mov ecx, edi
call dword [edx + 0x130]
push 5
mov ecx, edi
call fcn.004fb130
mov dword [esp + 0x148], 0xffffffff
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov byte [ebp + 0xdc], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42b079
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
jmp 0x42b079
lea ecx, [ebp + 0x62cc]
cmp ecx, edx
je 0x42b072
cmp dword [ecx + 0x1c], edx
je 0x42b072
push 0
call fcn.004fb130
mov byte [ebp + 0xdc], 0
mov ecx, dword [ebp + 0x3124]
xor eax, eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
lea edx, [esp + 0x24]
push edx
mov dword [esp + 0x4c], eax
mov eax, 7
push 0
mov edi, 0x22
mov dword [esp + 0x30], ecx
mov dword [esp + 0x2c], edi
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov eax, dword [esi + 0x1c]
push 0x110d
push eax
call ebx
mov eax, dword [ebp + 0x312c]
test eax, eax
je 0x42b200
mov esi, dword [esp + 0x14]
xor ecx, ecx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], ecx
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], ecx
lea edx, [esp + 0x24]
push edx
mov dword [esp + 0x2c], eax
mov eax, 6
push ecx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x2c], edi
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov eax, dword [esi + 0x1c]
push 0x110d
push eax
call ebx
mov eax, dword [ebp + 0x312c]
push eax
mov ecx, esi
call fcn.004f4a5f
push 0xffffffffffffffff
mov esi, eax
push 0
lea ecx, [esi + 4]
push ecx
lea ecx, [esp + 0xe4]
mov dword [esp + 0xfc], 0xf
mov dword [esp + 0xf8], 0
mov byte [esp + 0xe8], 0
call fcn.004018b0
mov dword [esp + 0x148], 7
mov eax, dword [esi + 0x24]
cmp eax, 1
jb 0x42b190
dec eax
mov dword [esi + 0x24], eax
mov edx, dword [esi + 0x24]
push edx
push ebp
lea esi, [esp + 0xe0]
call fcn.0042b780
mov eax, dword [esp + 0xf0]
mov ecx, dword [esp + 0xdc]
mov esi, 0x10
cmp eax, esi
jae 0x42b1bf
lea ecx, [esp + 0xdc]
mov eax, dword [ebp + 0x312c]
push 0
push 0
push 0
push 0
push 0
push ecx
mov ecx, dword [esp + 0x2c]
push 1
push eax
call fcn.004f4abb
mov dword [esp + 0x148], 0xffffffff
cmp dword [esp + 0xf0], esi
jb 0x42b200
mov eax, dword [esp + 0xdc]
push eax
call fcn.004fa776
add esp, 4
mov ecx, dword [esp + 0x18]
push 0xffffffffffffffff
add ecx, 4
push 0
push ecx
lea ecx, [esp + 0x12c]
mov dword [esp + 0x144], 0xf
mov dword [esp + 0x140], 0
mov byte [esp + 0x130], 0
call fcn.004018b0
mov edx, dword [esp + 0x154]
mov dword [esp + 0x148], 8
mov eax, dword [edx + 4]
push eax
push ebp
lea esi, [esp + 0x128]
call fcn.0042b780
cmp dword [esp + 0x138], 0x10
mov ecx, dword [esp + 0x124]
jae 0x42b271
lea ecx, [esp + 0x124]
mov eax, dword [ebp + 0x3124]
mov esi, dword [esp + 0x14]
push 0
push 0
push 0
push 0
push 0
push ecx
push 1
push eax
mov ecx, esi
call fcn.004f4abb
mov ecx, dword [esp + 0x4c]
mov edx, dword [esi + 0x1c]
push ecx
push 3
push 0x110a
push edx
call ebx
mov edi, eax
push edi
mov ecx, esi
call fcn.004f4a5f
push edi
push 3
mov dword [esp + 0x1c], eax
mov eax, dword [esi + 0x1c]
push 0x110a
push eax
call ebx
push eax
mov ecx, esi
call fcn.004f4a5f
mov esi, eax
mov al, byte [ebp + 0x354]
test al, al
mov dword [ebp + 0x662c], esi
jne 0x42b33d
mov eax, dword [ebp + 0x1b08]
test eax, eax
je 0x42b305
mov ecx, dword [eax + 0x1c]
test ecx, ecx
je 0x42b305
mov ecx, dword [ebp + 0x1548]
mov eax, 1
cmp ecx, eax
je 0x42b305
mov dword [ebp + 0x1548], eax
mov eax, ebp
call fcn.00445ff0
mov eax, dword [ebp + 0x1b20]
mov ecx, dword [eax + 0x1c]
push 0x105
push 0
push 0
push ecx
call dword [sym.imp.USER32.dll_RedrawWindow]
mov edx, dword [esp + 0x154]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
add edx, 8
push edx
mov edx, dword [ebp + 0x1b08]
push eax
push ecx
push esi
push edx
jmp 0x42b35a
mov eax, dword [esp + 0x154]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
add eax, 8
push eax
mov eax, dword [ebp + 0x1b08]
push ecx
push edx
push esi
push eax
call fcn.00480620
mov eax, dword [ebp + 0x1b08]
lea ecx, [ebp + 0x66e8]
mov dword [eax + 0x10c], ecx
mov eax, dword [0x56bb0c]
test eax, eax
je 0x42b39a
mov edi, ebp
call fcn.004285d0
push ebp
mov ecx, 0x56bb08
call fcn.0043fd40
mov edx, dword [esp + 0x154]
mov eax, dword [edx]
mov dword [0x56bb5c], eax
mov esi, dword [ebp + 0x1afc]
mov ecx, dword [esi + 0x1c]
push 0
push 3
push 0x101e
push ecx
call ebx
mov edx, dword [esp + 0x18]
mov eax, dword [edx + 0x34]
cmp eax, 1
je 0x42b461
test eax, eax
jne 0x42b411
mov edx, dword [esi + 0x1c]
push 0x3c
push 7
push 0x101e
push edx
call ebx
mov eax, dword [esi + 0x1c]
push 0
push 6
push 0x101e
push eax
call ebx
mov ecx, dword [esi + 0x1c]
push 0x3c
push 9
push 0x101e
push ecx
call ebx
mov edx, dword [esi + 0x1c]
push 0
push 8
push 0x101e
push edx
call ebx
mov eax, dword [esi + 0x1c]
push 0
push 2
push 0x101e
push eax
jmp 0x42b4aa
cmp eax, 2
jne 0x42b461
mov ecx, dword [esi + 0x1c]
push 0x3c
push 7
push 0x101e
push ecx
call ebx
mov edx, dword [esi + 0x1c]
push 0
push 6
push 0x101e
push edx
call ebx
mov eax, dword [esi + 0x1c]
push 0
push 9
push 0x101e
push eax
call ebx
mov ecx, dword [esi + 0x1c]
push 0x3c
push 8
push 0x101e
push ecx
call ebx
mov edx, dword [esi + 0x1c]
push 0x3c
push 2
push 0x101e
push edx
jmp 0x42b4aa
mov eax, dword [esi + 0x1c]
push 0x3c
push 7
push 0x101e
push eax
call ebx
mov ecx, dword [esi + 0x1c]
push 0x3c
push 6
push 0x101e
push ecx
call ebx
mov edx, dword [esi + 0x1c]
push 0
push 9
push 0x101e
push edx
call ebx
mov eax, dword [esi + 0x1c]
push 0
push 8
push 0x101e
push eax
call ebx
mov ecx, dword [esi + 0x1c]
push 0
push 2
push 0x101e
push ecx
call ebx
mov eax, dword [0x56bb0c]
test eax, eax
je 0x42b52f
mov edx, dword [esp + 0x154]
mov eax, dword [edx]
mov dword [0x56bb5c], eax
mov eax, dword [ebp + 0x1b08]
test eax, eax
je 0x42b52f
mov eax, dword [eax + 0x1c]
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x42b52f
mov ebx, dword [0x56bb98]
cmp ebx, 1
je 0x42b51f
jle 0x42b52f
cmp ebx, 3
jg 0x42b52f
mov ecx, dword [ebp + 0x1b08]
mov eax, 0x56bb08
call fcn.00481030
mov dword [0x56bb98], 1
mov eax, dword [ebp + 0x1b08]
mov edi, 0x56bb08
call fcn.00481240
mov dword [0x56bb98], ebx
jmp 0x42b52f
mov ecx, dword [ebp + 0x1b08]
mov eax, 0x56bb08
call fcn.00481030
mov al, byte [ebp + 0x68e5]
test al, al
je 0x42b6da
mov eax, dword [0x56bb0c]
test eax, eax
je 0x42b6da
mov esi, ebp
call fcn.0044c6a0
test al, al
je 0x42b6da
xor ebx, ebx
mov dword [esp + 0xfc], 0xf
mov dword [esp + 0xf8], ebx
mov byte [esp + 0xe8], bl
mov byte [esp + 0x148], 9
mov eax, dword [ebp + 0x691c]
mov ecx, dword [0x56bb0c]
mov edi, 0x10
cmp eax, edi
mov dword [esp + 0xd8], ecx
jb 0x42b5a0
mov ecx, dword [ebp + 0x6908]
jmp 0x42b5a6
lea ecx, [ebp + 0x6908]
cmp dword [ebp + 0x6900], edi
jb 0x42b5b6
mov eax, dword [ebp + 0x68ec]
jmp 0x42b5bc
lea eax, [ebp + 0x68ec]
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
push ecx
push ebx
push str.table_id
push eax
call esi
mov dword [esp + 0xdc], eax
cmp dword [ebp + 0x691c], edi
jb 0x42b5e3
mov ecx, dword [ebp + 0x6908]
jmp 0x42b5e9
lea ecx, [ebp + 0x6908]
cmp dword [ebp + 0x6900], edi
jb 0x42b5f9
mov eax, dword [ebp + 0x68ec]
jmp 0x42b5ff
lea eax, [ebp + 0x68ec]
push ecx
push ebx
push str.seat_id
push eax
call esi
mov ecx, 0x56b818
mov dword [esp + 0xe0], eax
call dword [sym.imp.bsclt.dll_public:_bool___thiscall_bsclt_socket::is_connected_void_const]
test al, al
jne 0x42b63f
mov eax, dword [0x56b5d8]
cmp eax, ebx
je 0x42b63f
mov eax, dword [eax + 0x1c]
cmp eax, ebx
je 0x42b63f
push ebx
push ebx
push 0x413
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
jmp 0x42b652
push ebx
lea edx, [esp + 0xdc]
push edx
push 0x56b818
call fcn.00462080
push 0xc
push 0x5428f4
lea ecx, [esp + 0x108]
mov dword [esp + 0x120], 0xf
mov dword [esp + 0x11c], ebx
mov byte [esp + 0x10c], 0
call fcn.00401b10
push 1
push 2
lea eax, [esp + 0x108]
push eax
mov ecx, 0x56b814
mov byte [esp + 0x154], 0xa
call dword [sym.imp.log.dll_public:_void___thiscall_my_log::write_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___enum_log_type__bool_]
cmp dword [esp + 0x118], edi
jb 0x42b6b7
mov ecx, dword [esp + 0x104]
push ecx
call fcn.004fa776
add esp, 4
mov byte [esp + 0x148], 8
cmp dword [esp + 0xfc], edi
jb 0x42b6df
mov edx, dword [esp + 0xe8]
push edx
call fcn.004fa776
add esp, 4
jmp 0x42b6df
mov edi, 0x10
mov ecx, ebp
call fcn.0042a320
cmp dword [esp + 0x138], edi
jb 0x42b6ff
mov eax, dword [esp + 0x124]
push eax
call fcn.004fa776
add esp, 4
mov ecx, dword [esp + 0x140]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x130]
pop ebx
call fcn.004b6cac
add esp, 0x13c
ret 8