Function at 0x40140b
Capabilities:
Create thread

Disassembly:
jmp 0x42d0e0
push 0xffffffffffffffff
push 0x49fa4b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xa8
xor eax, eax
push ebp
mov dword [esp + 9], eax
push esi
mov dword [esp + 0x11], eax
mov esi, ecx
mov dword [esp + 0x15], eax
push edi
mov ecx, dword [esi + 0x39c]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov dword [esp + 0x1d], eax
mov dword [esp + 0xc], 0
mov word [esp + 0x21], ax
mov byte [esp + 0x10], 0
push eax
push eax
push 0x147
push ecx
mov byte [esp + 0x33], al
call edi
lea edx, [esp + 0x10]
push edx
push eax
mov eax, dword [esi + 0x39c]
push 0x148
push eax
call edi
push 0xd4
call fcn.00475bfb
add esp, 4
mov dword [esp + 0xc], eax
test eax, eax
mov dword [esp + 0xbc], 0
je 0x42d17f
push 0
mov ecx, eax
call fcn.00401555
mov edi, eax
jmp 0x42d181
xor edi, edi
mov ebp, dword [esp + 0xc4]
push ecx
lea edx, [esp + 0x14]
mov ecx, esp
mov dword [esp + 0x10], esp
push edx
mov dword [esp + 0xc4], 0xffffffff
mov dword [edi + 0x60], 1
mov dword [edi + 0x64], ebp
mov dword [edi + 0x7c], ebp
call fcn.0047ab2a
mov ecx, esi
call fcn.00401618
cmp eax, dword [esi + 0xf4]
jge 0x42d1db
test eax, eax
jl 0x42d1db
mov esi, dword [esi + 0xec]
mov ecx, eax
dec eax
test ecx, ecx
je 0x42d1d7
inc eax
mov esi, dword [esi]
dec eax
jne 0x42d1d2
mov eax, esi
jmp 0x42d1dd
xor eax, eax
mov eax, dword [eax + 8]
lea edx, [edi + 0x68]
push eax
push edx
call dword [sym.imp.USER32.dll_CopyRect]
mov dword [edi + 0x5c], 2
lea ecx, [esp + 0x80]
mov dword [esp + 0x28], 0x4a6a04
call fcn.004014bf
mov esi, 1
mov dword [esp + 0x80], vtable.std::basic_ios_char__struct_std::char_traits_char__.0
mov dword [esp + 0xc], esi
push 0
push esi
lea eax, [esp + 0x34]
push 0
push eax
lea ecx, [esp + 0x38]
mov dword [esp + 0xcc], esi
call fcn.00401b7c
push 0
lea ecx, [esp + 0x30]
mov dword [esp + 0xc0], 2
call fcn.00401b8b
mov ecx, dword [esp + 0x28]
mov edx, dword [ecx + 4]
mov dword [esp + edx + 0x28], 0x4a6a00
mov eax, dword [esp + 0x7c]
mov dword [esp + 0xbc], 3
test eax, eax
jne 0x42d29b
push 0x12
push str.tmp2.txt
call fcn.00452465
add esp, 8
test eax, eax
je 0x42d29b
push esi
push eax
lea ecx, [esp + 0x34]
call fcn.004014b0
lea ecx, [esp + 0x2c]
call fcn.00401c71
lea eax, [esp + 0x2c]
test eax, eax
jne 0x42d2b4
mov ecx, dword [esp + 0x28]
push 0
mov edx, dword [ecx + 4]
mov eax, dword [esp + edx + 0x30]
lea ecx, [esp + edx + 0x2c]
or al, 2
push eax
call fcn.00401e92
mov eax, dword [esp + 0xc8]
lea ecx, [esp + 0x28]
push eax
push 0x4c1f90
push ebp
call fcn.00401249
push eax
call fcn.004022e8
add esp, 8
push eax
call fcn.004022e8
add esp, 8
mov esi, eax
mov ecx, esi
push 0xa
call fcn.00401672
mov ecx, dword [esi]
xor ebp, ebp
mov edx, dword [ecx + 4]
mov ecx, dword [edx + esi + 4]
test cl, 6
lea eax, [edx + esi]
jne 0x42d30f
mov eax, dword [eax + 0x28]
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x2c]
cmp eax, 0xffffffff
jne 0x42d30f
mov ebp, 4
mov eax, dword [esi]
push 0
push ebp
mov ecx, dword [eax + 4]
add ecx, esi
call fcn.00402536
mov eax, dword [esp + 0x7c]
test eax, eax
je 0x42d347
push eax
call fcn.0043dd56
add esp, 4
test eax, eax
jne 0x42d347
push 2
push eax
lea ecx, [esp + 0x34]
call fcn.004014b0
lea ecx, [esp + 0x2c]
test ecx, ecx
jne 0x42d360
mov edx, dword [esp + 0x28]
push 0
mov eax, dword [edx + 4]
lea ecx, [esp + eax + 0x2c]
mov eax, dword [esp + eax + 0x30]
or al, 2
push eax
call fcn.00401e92
lea ecx, [esp + 0x24]
push ecx
push 0
push edi
push 0x4018a7
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 0xb8]
test edi, edi
je 0x42d38e
mov eax, dword [edi]
push 1
mov ecx, edi
call dword [eax + 4]
mov edx, dword [esp + 0x28]
lea ecx, [esp + 0x80]
mov dword [esp + 0xc], ecx
mov eax, dword [edx + 4]
mov dword [esp + eax + 0x28], 0x4a6a00
lea ecx, [esp + 0x2c]
mov dword [esp + 0xbc], 4
call fcn.00402446
mov ecx, dword [esp + 0x28]
mov dword [esp + 0xbc], 0xffffffff
mov edx, dword [ecx + 4]
lea ecx, [esp + 0x80]
mov dword [esp + edx + 0x28], vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov dword [esp + 0x80], vtable.std::basic_ios_char__struct_std::char_traits_char__.0
call fcn.0045225a
mov ecx, dword [esp + 0xb4]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebp
add esp, 0xb4
ret 8