Function at 0x402060
Capabilities:
Print debug messages
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x130c
call fcn.0042cd90
mov eax, dword [0x44a044]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor eax, eax
push 0x206
push eax
lea ecx, [ebp - 0xa1e]
push ecx
mov word [ebp - 0xa20], ax
call fcn.00427f40
xor edx, edx
push 0x7fe
push edx
lea eax, [ebp - 0x121e]
push eax
mov word [ebp - 0x1220], dx
call fcn.00427f40
mov ecx, dword [str.KfhliQbpiGjbp]
mov edx, dword [0x43add4]
xor eax, eax
mov dword [ebp - 0x17], eax
mov dword [ebp - 0x13], eax
mov dword [ebp - 0xf], eax
mov dword [ebp - 0xb], eax
mov eax, dword [0x43add8]
mov dword [ebp - 0x18], ecx
mov ecx, dword [0x43addc]
add esp, 0x18
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], edx
mov dword [ebp - 0xc], ecx
xor eax, eax
add byte [ebp + eax - 0x18], 6
inc eax
cmp eax, 0x10
jb 0x4020e6
push 0x104
lea edx, [ebp - 0xa20]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0xa20]
push 0x43b120
push eax
call fcn.0042178a
mov edi, eax
add esp, 8
mov dword [ebp - 0x1224], edi
test edi, edi
jne 0x402195
mov esi, dword [sym.imp.USER32.dll_wsprintfW]
lea ecx, [ebp - 0xa20]
push ecx
lea edx, [ebp - 0x1220]
push 0x43b09c
push edx
call esi
xor eax, eax
push 0x7fe
push eax
lea ecx, [ebp - 0x816]
push ecx
mov word [ebp - 0x818], ax
call fcn.00427f40
lea edx, [ebp - 0x1220]
push edx
lea eax, [ebp - 0x818]
push str._EmbedModule___s
push eax
call esi
add esp, 0x24
lea ecx, [ebp - 0x818]
push ecx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
xor eax, eax
xor edx, edx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00421294
mov esp, ebp
pop ebp
ret
push 2
push 0
push edi
call fcn.0042251b
push edi
call fcn.0042242c
push edi
mov esi, eax
call fcn.00421371
mov ebx, dword [sym.imp.USER32.dll_wsprintfW]
push esi
lea edx, [ebp - 0x1220]
push 0x43b360
push edx
call ebx
xor eax, eax
push 0x7fe
push eax
lea ecx, [ebp - 0x816]
push ecx
mov word [ebp - 0x818], ax
call fcn.00427f40
lea edx, [ebp - 0x1220]
push edx
lea eax, [ebp - 0x818]
push str._EmbedModule___s
push eax
call ebx
add esp, 0x38
lea ecx, [ebp - 0x818]
push ecx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push esi
call fcn.004212dd
mov edi, eax
add esp, 4
test edi, edi
jne 0x402281
mov edx, dword [ebp - 0x1224]
push edx
call fcn.00422655
push esi
lea eax, [ebp - 0x1220]
push 0x43b380
push eax
call ebx
xor ecx, ecx
push 0x7fe
push ecx
lea edx, [ebp - 0x816]
push edx
mov word [ebp - 0x818], cx
call fcn.00427f40
lea eax, [ebp - 0x1220]
push eax
lea ecx, [ebp - 0x818]
push str._EmbedModule___s
push ecx
call ebx
add esp, 0x28
lea edx, [ebp - 0x818]
push edx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
xor eax, eax
xor edx, edx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00421294
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x1224]
push eax
push esi
push 1
push edi
call fcn.00421f74
add esp, 0x10
mov dword [ebp - 0x122c], eax
cmp eax, esi
je 0x40231b
mov ecx, dword [ebp - 0x1224]
push ecx
call fcn.00422655
push edi
call fcn.004212a3
mov edx, dword [ebp - 0x122c]
push esi
push edx
lea eax, [ebp - 0x1220]
push 0x43b3ac
push eax
call ebx
xor ecx, ecx
push 0x7fe
push ecx
lea edx, [ebp - 0x816]
push edx
mov word [ebp - 0x818], cx
call fcn.00427f40
lea eax, [ebp - 0x1220]
push eax
lea ecx, [ebp - 0x818]
push str._EmbedModule___s
push ecx
call ebx
add esp, 0x30
lea edx, [ebp - 0x818]
push edx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
xor eax, eax
xor edx, edx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00421294
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x1224]
push eax
call fcn.00422655
mov ecx, dword [ebp - 0x122c]
push ecx
lea edx, [ebp - 0x1220]
push 0x43b3e8
push edx
call ebx
xor eax, eax
push 0x7fe
push eax
lea ecx, [ebp - 0x816]
push ecx
mov word [ebp - 0x818], ax
call fcn.00427f40
lea edx, [ebp - 0x1220]
push edx
lea eax, [ebp - 0x818]
push str._EmbedModule___s
push eax
call ebx
add esp, 0x28
lea ecx, [ebp - 0x818]
push ecx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push esi
push edi
lea esi, [ebp - 0x18]
call section..text
cdq
mov esi, eax
add esp, 8
and eax, edx
mov dword [ebp - 0x1230], esi
mov dword [ebp - 0x122c], edx
push edi
cmp eax, 0xffffffff
jne 0x4023f8
call fcn.004212a3
xor ecx, ecx
push 0x7fe
push ecx
lea edx, [ebp - 0x816]
push edx
mov word [ebp - 0x818], cx
call fcn.00427f40
push str.b_rN0RP
lea eax, [ebp - 0x818]
push str._EmbedModule___s
push eax
call ebx
add esp, 0x1c
lea ecx, [ebp - 0x818]
push ecx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
xor eax, eax
xor edx, edx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00421294
mov esp, ebp
pop ebp
ret
push edx
push esi
lea edx, [ebp - 0x1220]
push str.Get_PatternIndex
push edx
mov dword [0x48e700], edi
call ebx
xor eax, eax
push 0x7fe
push eax
lea ecx, [ebp - 0x816]
push ecx
mov word [ebp - 0x818], ax
call fcn.00427f40
lea edx, [ebp - 0x1220]
push edx
lea eax, [ebp - 0x818]
push str._EmbedModule___s
push eax
call ebx
add esp, 0x2c
lea ecx, [ebp - 0x818]
push ecx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea esi, [esi + edi + 0x10]
mov ecx, 0x36
lea edi, [ebp - 0x1308]
rep movsd dword es:[edi], dword [esi]
mov edx, dword [ebp - 0x12f4]
mov eax, dword [ebp - 0x12f8]
mov ecx, dword [ebp - 0x12fc]
push edx
mov edx, dword [ebp - 0x1300]
push eax
mov eax, dword [ebp - 0x1308]
push ecx
push edx
push eax
lea ecx, [ebp - 0x1220]
push str.Client.cab___lu____I64d____lu____lu_
push ecx
call ebx
xor edx, edx
push 0x7fe
push edx
lea eax, [ebp - 0x816]
push eax
mov word [ebp - 0x818], dx
call fcn.00427f40
lea ecx, [ebp - 0x1220]
push ecx
lea edx, [ebp - 0x818]
push str._EmbedModule___s
push edx
call ebx
add esp, 0x34
lea eax, [ebp - 0x818]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x1230]
mov edx, dword [ebp - 0x122c]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00421294
mov esp, ebp
pop ebp
ret