Function at 0x41aeaf
Capabilities:
Read .ini file
Write clipboard data

Disassembly:
mov eax, 0x43e91e
call fcn.0041e498
sub esp, 0x72c
push ebx
push esi
push edi
push 0xd
mov ebx, ecx
pop eax
mov ecx, eax
mov esi, 0x450ef8
lea edi, [ebp - 0x158]
push 5
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
mov ecx, eax
mov esi, str.a_b_c_d_e_f_g_h_i_j_k_l_m_n_o_p_q_r_s_t_u_v_w_x_y_z
lea edi, [ebp - 0xe8]
and dword [ebp - 0x34], 0
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
mov ecx, eax
mov esi, 0x450f68
lea edi, [ebp - 0x120]
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
mov ecx, eax
mov esi, str.A_B_C_D_E_F_G_H_I_J_K_L_M_N_O_P_Q_R_S_T_U_V_W_X_Y_Z
lea edi, [ebp - 0xb0]
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
pop ecx
mov esi, 0x450fd8
lea edi, [ebp - 0x78]
push 5
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
pop ecx
mov esi, str.0_1_2_3_4_5_6_7_8_9
lea edi, [ebp - 0x60]
push 1
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
pop eax
lea esi, [ebx + 0x46d]
mov cl, byte [ebx + 0x46e]
mov dword [ebp - 0x3c], eax
mov dword [0x456960], eax
mov dword [ebp - 0x38], eax
mov al, byte [esi]
push esi
movzx eax, al
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], esi
movzx eax, cl
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x1c], eax
call fcn.00435fe3
and dword [ebp - 4], 0
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
push eax
mov dword [ebp - 0x40], eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [ebp - 0x24], eax
call fcn.004016a6
mov ecx, eax
call fcn.00401702
mov ecx, 0xfa
lea edi, [ebp - 0x738]
rep movsd dword es:[edi], dword [esi]
push dword [ebp - 0x18]
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x20], eax
movsb byte es:[edi], byte [esi]
call fcn.00435fe3
cmp dword [ebp - 0x14], 0xa3
jne 0x41b0dc
mov eax, dword [ebp - 0x1c]
cmp eax, 0xb0
jl 0x41b002
cmp eax, 0xbd
je 0x41b002
cmp eax, 0xbe
je 0x41b002
cmp eax, 0xdb
je 0x41b002
cmp eax, 0xdc
je 0x41b002
cmp eax, 0xde
je 0x41b002
cmp eax, 0xdf
je 0x41b002
cmp eax, 0xfb
je 0x41b002
cmp eax, 0xfc
je 0x41b002
cmp eax, 0xfd
jne 0x41b0dc
mov eax, dword [ebp - 0x20]
cmp dword [eax + 0x3dc], 0
jne 0x41b0dc
mov eax, dword [ebp - 0x18]
mov cl, byte [ebx + 0x46e]
mov edi, dword [sym.imp.USER32.dll_FindWindowA]
push 0
mov al, byte [eax]
mov byte [ebp - 0x1b], cl
movsx eax, al
push eax
push 0x7ec
push 0x451008
push 0
call edi
mov esi, dword [sym.imp.USER32.dll_PostMessageA]
push eax
call esi
movsx eax, byte [ebp - 0x1b]
push 0
push eax
push 0x7ec
push 0x451018
push 0
call edi
push eax
call esi
xor edi, edi
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x34], 1
call fcn.0040397c
push ecx
lea eax, [ebp - 0x44]
mov ecx, esp
mov dword [ebp - 0x1c], esp
push eax
mov byte [ebp - 4], 2
call fcn.00435cea
lea eax, [ebp - 0x1c]
push eax
call fcn.0041adc7
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 3
call fcn.00436062
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 2
call fcn.00435f75
lea ecx, [ebp - 0x14]
call fcn.00401742
test eax, eax
jle 0x41b0ce
push edi
lea ecx, [ebp - 0x14]
call fcn.0041857d
mov ecx, dword [ebp - 0x18]
mov byte [ecx + edi], al
lea ecx, [ebp - 0x14]
inc edi
call fcn.00401742
cmp edi, eax
jl 0x41b0b2
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.00435f75
jmp 0x41b157
lea ecx, [ebp - 0x14]
call fcn.0040397c
push ecx
lea eax, [ebp - 0x44]
mov ecx, esp
mov dword [ebp - 0x1c], esp
push eax
mov byte [ebp - 4], 4
call fcn.00435cea
lea eax, [ebp - 0x1c]
push eax
call fcn.0041acf1
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 5
call fcn.00436062
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 4
call fcn.00435f75
lea ecx, [ebp - 0x14]
xor esi, esi
call fcn.00401742
test eax, eax
jle 0x41b145
push esi
lea ecx, [ebp - 0x14]
call fcn.0041857d
mov ecx, dword [ebp - 0x18]
mov byte [ecx + esi], al
lea ecx, [ebp - 0x14]
inc esi
call fcn.00401742
cmp esi, eax
jl 0x41b129
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.00435f75
mov esi, dword [sym.imp.USER32.dll_PostMessageA]
mov ecx, dword [ebp - 0x20]
xor eax, eax
mov edi, dword [ebp - 0x18]
mov dl, byte [edi]
cmp dl, byte [ebp + eax - 0x78]
jne 0x41b1a2
mov dl, byte [ebx + 0x46e]
cmp dl, byte [ebp + eax - 0x77]
jne 0x41b1a2
and dword [ebp - 0x3c], 0
cmp dword [ecx + 0x3d8], 0
mov dl, byte [ebp + eax - 0x60]
je 0x41b196
mov byte [ebx + 0x856], dl
mov dl, byte [ebp + eax - 0x5f]
mov byte [ebx + 0x857], dl
jmp 0x41b1a2
mov byte [edi], dl
mov dl, byte [ebp + eax - 0x5f]
mov byte [ebx + 0x46e], dl
inc eax
inc eax
cmp eax, 0x14
jl 0x41b15c
xor eax, eax
mov dl, byte [edi]
cmp dl, byte [ebp + eax - 0x120]
jne 0x41b1fd
mov dl, byte [ebx + 0x46e]
cmp dl, byte [ebp + eax - 0x11f]
jne 0x41b1fd
and dword [ebp - 0x3c], 0
cmp dword [ecx + 0x3d4], 0
mov dl, byte [ebp + eax - 0xb0]
je 0x41b1ee
mov byte [ebx + 0x856], dl
mov dl, byte [ebp + eax - 0xaf]
mov byte [ebx + 0x857], dl
jmp 0x41b1fd
mov byte [edi], dl
mov dl, byte [ebp + eax - 0xaf]
mov byte [ebx + 0x46e], dl
inc eax
inc eax
cmp eax, 0x34
jl 0x41b1ab
xor eax, eax
mov dl, byte [edi]
cmp dl, byte [ebp + eax - 0x158]
jne 0x41b258
mov dl, byte [ebx + 0x46e]
cmp dl, byte [ebp + eax - 0x157]
jne 0x41b258
and dword [ebp - 0x3c], 0
cmp dword [ecx + 0x3d4], 0
mov dl, byte [ebp + eax - 0xe8]
je 0x41b249
mov byte [ebx + 0x856], dl
mov dl, byte [ebp + eax - 0xe7]
mov byte [ebx + 0x857], dl
jmp 0x41b258
mov byte [edi], dl
mov dl, byte [ebp + eax - 0xe7]
mov byte [ebx + 0x46e], dl
inc eax
inc eax
cmp eax, 0x34
jl 0x41b206
cmp dword [ebp - 0x3c], 0
je 0x41b27f
mov edi, dword [ebp - 0x18]
mov ecx, 0xfa
lea esi, [ebp - 0x738]
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
mov esi, dword [sym.imp.USER32.dll_PostMessageA]
mov edi, dword [ebp - 0x18]
cmp byte [edi], 0x80
mov edi, dword [ebp - 0x18]
jae 0x41b2b8
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
dec ecx
push ecx
push dword [ebp - 0x18]
push dword [ebp - 0x24]
call fcn.0041f360
mov edi, dword [ebp - 0x18]
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
mov eax, dword [ebp - 0x24]
not ecx
dec ecx
and byte [ecx + eax - 1], 0
jmp 0x41b2dc
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, dword [ebp - 0x24]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [sym.imp.USER32.dll_PostMessageA]
push dword [ebp - 0x40]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov eax, dword [ebp - 0x18]
mov al, byte [eax]
cmp al, 0x80
mov byte [ebp - 0x11], al
jae 0x41b3fe
and byte [ebp - 0x11], 0
xor ecx, ecx
cmp dword [ebp - 0x34], ecx
mov byte [ebp - 0x12], al
jne 0x41b31c
movsx eax, al
push ecx
push eax
push 0x7ec
push 0x451028
push ecx
call dword [sym.imp.USER32.dll_FindWindowA]
push eax
call esi
mov edi, dword [ebp - 0x18]
mov ecx, 0xfa
xor eax, eax
push 2
rep stosd dword es:[edi], eax
push 0x42
stosb byte es:[edi], al
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
lea ecx, [ebp - 0x12]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov ecx, ebx
call fcn.0041854b
call dword [sym.imp.USER32.dll_EmptyClipboard]
push esi
push 1
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push 0x7d
xor eax, eax
pop ecx
lea edi, [ebp - 0x34c]
rep stosd dword es:[edi], eax
push 0x4551a4
lea eax, [ebp - 0x34c]
push 0x1f4
push eax
push 0x456974
push 0x451038
push 0x451040
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
xor eax, eax
push eax
push 0x80
push 3
push eax
push 3
push eax
lea eax, [ebp - 0x34c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x41b761
xor eax, eax
lea edi, [ebp - 0x30]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosb byte es:[edi], al
and byte [ebp - 0x2e], 0
and byte [ebp - 0x2c], 0
and byte [ebp - 0x2b], 0
and byte [ebp - 0x2a], 0
and byte [ebp - 0x29], 0
mov byte [ebp - 0x30], 2
mov byte [ebp - 0x2f], 1
mov byte [ebp - 0x2d], 0x19
mov byte [ebp - 0x28], 1
lea eax, [ebp - 0x30]
jmp 0x41b758
mov edi, dword [ebp - 0x24]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
movzx eax, cl
cmp eax, 2
mov dword [ebp - 0x20], eax
jle 0x41b421
xor eax, eax
cmp dword [ebx + 0x5c], eax
sete al
mov dword [ebx + 0x5c], eax
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp eax, 0x80000000
jae 0x41b59b
and byte [ebp - 0xd], 0
cmp dword [ebp - 0x20], 0
jle 0x41b5ed
mov edi, dword [sym.imp.USER32.dll_FindWindowA]
cmp dword [ebp - 0x20], 2
jle 0x41b47b
cmp dword [ebx + 0x5c], 0
jne 0x41b477
cmp dword [ebp - 0x34], 0
jne 0x41b477
movzx eax, byte [ebp - 0xd]
mov ecx, dword [ebp - 0x24]
push 0
movsx eax, byte [eax + ecx]
push eax
push 0x7ec
push 0x451048
push 0
call edi
push eax
call esi
cmp dword [ebp - 0x20], 2
jne 0x41b54e
mov eax, dword [ebx + 0x60]
xor ecx, ecx
cmp eax, ecx
jne 0x41b496
mov dword [ebx + 0x60], 1
jmp 0x41b589
cmp eax, 1
jne 0x41b536
cmp dword [ebp - 0x3c], ecx
je 0x41b4e6
cmp dword [ebp - 0x34], ecx
jne 0x41b52d
movzx eax, byte [ebp - 0xd]
mov ecx, dword [ebp - 0x24]
push 0
add eax, ecx
mov dword [ebp - 0x1c], eax
movsx eax, byte [eax - 1]
push eax
push 0x7ec
push 0x451058
push 0
call edi
push eax
call esi
mov eax, dword [ebp - 0x1c]
push 0
movsx eax, byte [eax]
push eax
push 0x7ec
push 0x451068
jmp 0x41b526
cmp dword [ebp - 0x34], ecx
jne 0x41b52d
movzx eax, byte [ebp - 0xd]
add eax, ebx
push 0
mov dword [ebp - 0x1c], eax
movsx eax, byte [eax + 0x855]
push eax
push 0x7ec
push 0x451078
push 0
call edi
push eax
call esi
mov eax, dword [ebp - 0x1c]
push 0
movsx eax, byte [eax + 0x856]
push eax
push 0x7ec
push 0x451088
push 0
call edi
push eax
call esi
mov dword [ebx + 0x60], 2
jmp 0x41b589
cmp eax, 2
jne 0x41b544
mov dword [ebx + 0x60], 3
jmp 0x41b589
cmp eax, 3
jne 0x41b589
mov dword [ebx + 0x60], ecx
jmp 0x41b589
cmp dword [ebp - 0x20], 1
jne 0x41b589
mov eax, dword [ebx + 0x60]
test eax, eax
jne 0x41b580
cmp dword [ebp - 0x34], eax
jne 0x41b48a
push eax
movsx eax, byte [ebp - 0x11]
push eax
push 0x7ec
push 0x451098
push 0
call edi
push eax
call esi
jmp 0x41b48a
cmp eax, 1
jne 0x41b589
and dword [ebx + 0x60], 0
inc byte [ebp - 0xd]
movzx eax, byte [ebp - 0xd]
cmp eax, dword [ebp - 0x20]
jl 0x41b446
jmp 0x41b5ed
mov edi, dword [ebp - 0x24]
and dword [ebp - 0x20], 0
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
test ecx, ecx
jle 0x41b5ed
cmp dword [ebp - 0x34], 0
jne 0x41b5d8
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x24]
push 0
movsx eax, byte [eax + ecx]
push eax
push 0x7ec
push str.InsTalk_KingSon
push 0
call dword [sym.imp.USER32.dll_FindWindowA]
push eax
call esi
mov edi, dword [ebp - 0x24]
inc dword [ebp - 0x20]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp dword [ebp - 0x20], ecx
jl 0x41b5b0
mov ecx, ebx
xor esi, esi
call fcn.0041854b
test eax, eax
je 0x41b615
call dword [sym.imp.USER32.dll_EmptyClipboard]
push dword [ebp - 0x40]
test eax, eax
je 0x41b618
mov ebx, dword [sym.imp.USER32.dll_SetClipboardData]
push 1
call ebx
test eax, eax
jne 0x41b626
push dword [ebp - 0x40]
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov dword [ebp - 0x38], esi
jmp 0x41b768
cmp dword [0x4552a8], esi
je 0x41b6be
call fcn.004016a6
mov ecx, eax
call fcn.00401702
cmp dword [eax + 0x3b0], esi
je 0x41b64f
push dword [ebp - 0x24]
call fcn.0041abef
pop ecx
mov edi, dword [ebp - 0x24]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov esi, ecx
lea eax, [esi + esi + 2]
push eax
call fcn.00435cb6
pop ecx
lea esi, [esi + esi + 1]
mov edi, eax
push esi
push edi
push 0xffffffffffffffff
push dword [ebp - 0x24]
push 0
push 1
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push esi
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push edi
push eax
call fcn.0041f778
pop ecx
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push esi
push 0xd
call ebx
test eax, eax
jne 0x41b6ae
and dword [ebp - 0x38], eax
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push edi
call fcn.00435cdf
pop ecx
xor esi, esi
call dword [sym.imp.USER32.dll_CloseClipboard]
test eax, eax
jne 0x41b6cb
mov dword [ebp - 0x38], esi
cmp dword [ebp - 0x38], esi
je 0x41b768
push 0x7d
xor eax, eax
pop ecx
lea edi, [ebp - 0x34c]
rep stosd dword es:[edi], eax
push 0x4551a4
lea eax, [ebp - 0x34c]
push 0x1f4
push eax
push 0x456978
push str.Port
push str.UsbPort
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
xor eax, eax
push eax
push 0x80
push 3
push eax
push 3
push eax
lea eax, [ebp - 0x34c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x41b761
xor eax, eax
lea edi, [ebp - 0x30]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosb byte es:[edi], al
and byte [ebp - 0x2e], 0
and byte [ebp - 0x2c], 0
and byte [ebp - 0x2b], 0
and byte [ebp - 0x2a], 0
and byte [ebp - 0x29], 0
mov byte [ebp - 0x30], 2
mov byte [ebp - 0x2f], 1
mov byte [ebp - 0x2d], 0x19
mov byte [ebp - 0x28], 1
lea eax, [ebp - 0x30]
push eax
push esi
call fcn.0041ae9d
pop ecx
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, dword [ebp - 0x18]
mov ecx, 0xfa
xor eax, eax
and dword [0x456960], 0
and byte [ebp - 4], 0
rep stosd dword es:[edi], eax
lea ecx, [ebp - 0x44]
stosb byte es:[edi], al
call fcn.00435f75
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x48]
call fcn.00435f75
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x38]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret