Function at 0x4035bd
Capabilities:
Hide graphical window

Disassembly:
push 0xffffffffffffffff
push 0x471606
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x364
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi]
call dword [eax]
push str.RICHED32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push 0xc0
mov dword [esi + 0xb4], eax
call fcn.0046335e
add esp, 4
mov dword [esp + 0x18], eax
xor ebx, ebx
cmp eax, ebx
mov dword [esp + 0x37c], ebx
je 0x4035fd
mov ecx, eax
call fcn.00440910
jmp 0x4035ff
xor eax, eax
or edi, 0xffffffff
push 0x13c
mov dword [esp + 0x380], edi
mov dword [esi + 0x60], eax
call fcn.0046335e
add esp, 4
mov dword [esp + 0x18], eax
cmp eax, ebx
mov dword [esp + 0x37c], 1
je 0x403637
push 1
mov ecx, eax
call fcn.004499f0
jmp 0x403639
xor eax, eax
push 0x13c
mov dword [esp + 0x380], edi
mov dword [esi + 0x58], eax
call fcn.0046335e
add esp, 4
mov dword [esp + 0x18], eax
cmp eax, ebx
mov dword [esp + 0x37c], 2
je 0x40366e
push 1
mov ecx, eax
call fcn.004499f0
jmp 0x403670
xor eax, eax
mov ecx, dword [esi + 0x60]
push ebx
push ebx
push ecx
mov ecx, esi
mov dword [esp + 0x388], edi
mov dword [esi + 0x5c], eax
call fcn.0043f100
mov eax, dword [esi + 0x58]
cmp eax, ebx
jne 0x403692
xor eax, eax
jmp 0x40369c
mov edx, dword [eax + 4]
mov ecx, dword [edx + 4]
lea eax, [ecx + eax + 4]
push ebx
push 1
push eax
mov ecx, esi
call fcn.0043f100
mov eax, dword [esi + 0x5c]
cmp eax, ebx
jne 0x4036b2
xor eax, eax
jmp 0x4036bc
mov edx, dword [eax + 4]
mov ecx, dword [edx + 4]
lea eax, [ecx + eax + 4]
push ebx
push 1
push eax
mov ecx, esi
call fcn.0043f100
mov eax, dword [esi + 0x58]
push 0x403d60
mov edx, dword [eax + 4]
mov ecx, dword [edx + 4]
lea ecx, [ecx + eax + 4]
call fcn.00442d50
mov eax, dword [esi + 0x5c]
push 0x40fad0
mov edx, dword [eax + 4]
mov ecx, dword [edx + 4]
lea ecx, [ecx + eax + 4]
call fcn.00442d50
mov eax, dword [esi + 0x58]
push esi
mov edx, dword [eax + 4]
mov ecx, dword [edx + 4]
lea ecx, [ecx + eax + 4]
call fcn.00442d80
mov eax, dword [esi + 0x5c]
push esi
mov edx, dword [eax + 4]
mov ecx, dword [edx + 4]
lea ecx, [ecx + eax + 4]
call fcn.00442d80
mov eax, dword [esi + 0x58]
push 1
mov edx, dword [eax + 4]
mov ecx, dword [edx + 4]
mov edx, dword [ecx + eax + 4]
lea ecx, [ecx + eax + 4]
call dword [edx + 0x68]
mov eax, dword [esi + 0x58]
push 1
mov ecx, dword [eax + 4]
mov edx, dword [ecx + 4]
lea ecx, [edx + eax + 4]
mov eax, dword [edx + eax + 4]
call dword [eax + 0x34]
mov eax, dword [esi + 0x5c]
push 1
mov ecx, dword [eax + 4]
mov edx, dword [ecx + 4]
lea ecx, [edx + eax + 4]
mov eax, dword [edx + eax + 4]
call dword [eax + 0x68]
mov eax, dword [esi + 0x5c]
push 1
mov ecx, dword [eax + 4]
mov edx, dword [ecx + 4]
lea ecx, [edx + eax + 4]
mov eax, dword [edx + eax + 4]
call dword [eax + 0x34]
mov ecx, dword [0x4a2ba8]
add ecx, 0x81
push ecx
lea ecx, [esp + 0x170]
call fcn.004496a0
mov dword [esp + 0x37c], 3
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], 0x476564
mov edx, dword [esp + 0x384]
lea eax, [esp + 0x68]
and edx, 0xffff
mov byte [esp + 0x37c], 4
push edx
push str.texedt_02d
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea ecx, [esp + 0x68]
lea edx, [esp + 0x270]
push ecx
push edx
lea ecx, [esp + 0x174]
call fcn.00403e60
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x380], 5
call fcn.00434100
mov ecx, dword [esp + 0x14]
mov byte [esp + 0x37c], 4
cmp ecx, ebx
je 0x403812
mov eax, dword [ecx]
call dword [eax + 0x24]
mov ecx, dword [esp + 0x14]
jmp 0x403814
xor eax, eax
mov edx, dword [0x4a2ba8]
mov edi, dword [edx + 0x19c]
sub edi, eax
shr edi, 1
cmp ecx, ebx
mov dword [esp + 0x28], edi
je 0x403833
mov eax, dword [ecx]
call dword [eax + 0x28]
jmp 0x403835
xor eax, eax
mov ecx, dword [0x4a2ba8]
mov edx, dword [ecx + 0x1a0]
sub edx, eax
mov eax, dword [esi + 4]
shr edx, 1
mov ecx, dword [eax + 4]
mov eax, dword [ecx + esi + 4]
push edx
push edi
lea ecx, [ecx + esi + 4]
mov dword [esp + 0x28], edx
call dword [eax + 0xc4]
mov ecx, dword [esp + 0x14]
cmp ecx, ebx
je 0x4038a9
mov edx, dword [ecx]
push 0x481174
call dword [edx + 0x1c]
mov edi, eax
cmp edi, ebx
je 0x4038a9
mov ecx, dword [esi + 0x60]
push edi
mov eax, dword [ecx]
call dword [eax + 0x98]
mov ecx, dword [esi + 0x60]
mov edx, dword [edi]
mov ebp, dword [ecx]
mov ecx, edi
call dword [edx + 0x30]
push eax
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x2c]
mov ecx, dword [esi + 0x60]
push eax
call dword [ebp + 0xc4]
mov edx, dword [edi]
push 1
mov ecx, edi
call dword [edx]
mov ecx, dword [esi + 0x60]
push 1
mov eax, dword [ecx]
call dword [eax + 0x34]
mov ecx, dword [esi + 0x58]
push 1
lea eax, [esp + 0x14]
push 0x481170
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esi + 0x5c]
push 1
lea eax, [esp + 0x14]
push str.cansel
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esi + 0x58]
push 1
mov ecx, dword [eax + 4]
mov edx, dword [ecx + 4]
lea ecx, [edx + eax + 4]
mov eax, dword [edx + eax + 4]
call dword [eax + 0x34]
mov eax, dword [esi + 0x5c]
push 1
mov ecx, dword [eax + 4]
mov edx, dword [ecx + 4]
lea ecx, [edx + eax + 4]
mov eax, dword [edx + eax + 4]
call dword [eax + 0x34]
mov eax, dword [esi + 0x58]
push 1
mov ecx, dword [eax + 4]
mov edx, dword [ecx + 4]
lea ecx, [edx + eax + 4]
mov eax, dword [edx + eax + 4]
call dword [eax + 0x68]
mov eax, dword [esi + 0x5c]
push 1
mov ecx, dword [eax + 4]
mov edx, dword [ecx + 4]
lea ecx, [edx + eax + 4]
mov eax, dword [edx + eax + 4]
call dword [eax + 0x68]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
mov eax, 0x48f00b
sub eax, esi
mov dword [esp + 0x1c], 0x48e894
lea edi, [esi + 0x64]
mov dword [esp + 0x24], eax
push ebx
lea ecx, [esp + 0x6c]
push str.text_01d
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
mov ecx, dword [esp + 0x20]
add esp, 0xc
test ecx, ecx
je 0x403ad4
mov edx, dword [ecx]
lea eax, [esp + 0x68]
push eax
call dword [edx + 0x1c]
mov esi, eax
test esi, esi
je 0x403ad0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea ecx, [ebx + 0x3e8]
push eax
push ecx
mov ecx, dword [0x4852f0]
call fcn.00449980
mov edx, dword [esi]
push eax
mov ecx, esi
call dword [edx + 0x20]
push eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x1c]
mov edx, dword [esi]
push eax
mov ecx, esi
call dword [edx + 0x30]
mov edx, dword [esp + 0x38]
mov ecx, esi
add eax, edx
push eax
mov eax, dword [esi]
call dword [eax + 0x2c]
add eax, dword [esp + 0x44]
push eax
push 0x40010000
push 0
push str.RichEdit
push 0x10000
call dword [sym.imp.USER32.dll_CreateWindowExA]
push 0x481140
push 0
push 0
push 0
push 0
push 0x80
push 0
push 0
push 0
push 0x190
mov dword [edi], eax
mov edx, dword [esi]
push 0
push 0
push 0
mov ecx, esi
call dword [edx + 0x20]
sub eax, 2
push eax
call dword [sym.imp.GDI32.dll_CreateFontA]
mov dword [edi + 0x28], eax
mov eax, dword [esp + 0x24]
cmp byte [eax + edi], 0
jne 0x403a4a
mov ecx, dword [edi]
push ecx
call sub.IMM32.dll_ImmGetContext
test eax, eax
mov dword [esp + 0x18], eax
je 0x403a4a
push 1
push eax
call sub.IMM32.dll_ImmSetOpenStatus
mov edx, dword [esp + 0x18]
mov eax, dword [edi]
push edx
push eax
call sub.IMM32.dll_ImmReleaseContext
mov edx, dword [esi]
xor eax, eax
mov ecx, esi
mov dword [esp + 0x2c], 0x3c
mov dword [esp + 0x30], 0x40000000
mov dword [esp + 0x34], eax
mov dword [esp + 0x40], eax
call dword [edx + 0x20]
sub eax, 2
push 1
mov dword [esp + 0x3c], eax
mov eax, dword [edi]
push 0
push 0x445
push eax
call ebp
mov edx, dword [edi]
lea ecx, [esp + 0x2c]
push ecx
push 0
push 0x444
push edx
call ebp
mov eax, dword [edi]
push 0xffffff
push 0
push 0x443
push eax
call ebp
mov ecx, dword [edi + 0x28]
mov edx, dword [edi]
push 0
push ecx
push 0x30
push edx
call ebp
mov eax, dword [esp + 0x1c]
mov ecx, dword [edi]
push eax
push 0
push 0xc
push ecx
call ebp
mov edx, dword [edi]
push 0
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax]
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
inc ebx
add eax, 0xc9
add edi, 4
cmp eax, 0x48f06e
mov dword [esp + 0x1c], eax
jl 0x40394f
mov dword [esp + 0x10], 0x476564
pop edi
pop esi
pop ebp
mov byte [esp + 0x370], 6
test ecx, ecx
pop ebx
je 0x403b0e
mov edx, dword [ecx]
push 1
call dword [edx]
mov ecx, dword [esp + 0x364]
mov dword fs:[0], ecx
add esp, 0x370
ret 4