Function at 0x410e60
Capabilities:
Hide graphical window

Disassembly:
push ebp
lea ebp, [esp - 0x2148]
mov eax, 0x2148
call fcn.00412900
push 0xfffffffffffffffe
push 0x43aa90
push 0x4126f0
mov eax, dword fs:[0]
push eax
sub esp, 0xa8
mov eax, dword [0x43d68c]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp + 0x2144], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov ebx, dword [ebp + 0x2150]
mov dword [ebp - 0x34], ebx
mov esi, dword [ebp + 0x2158]
mov dword [ebp - 0x28], esi
mov edi, dword [ebp + 0x215c]
mov byte [ebp + 0x2040], 0
push 0x103
push 0
lea eax, [ebp + 0x2041]
push eax
call fcn.00412880
add esp, 0xc
push 0
push 0
push 0x1004
push esi
call dword [sym.imp.USER32.dll_SendMessageA]
test eax, eax
je 0x410f10
push 0x34
push 0x4346e4
push str.Continuing_will_cause_the_current_entries_to_be_deleted._n_nContinue_
push ebx
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp eax, 7
je 0x411370
push 0
push 0
push 0x1009
push esi
call dword [sym.imp.USER32.dll_SendMessageA]
test edi, edi
jne 0x411000
mov eax, dword [0x440c28]
imul eax, eax, 0x160
lea eax, [eax + 0x450028]
lea edx, [ebp + 0x2040]
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x410f41
mov dword [ebp - 0x90], 0x58
mov dword [ebp - 0x8c], ebx
mov ecx, dword [0x44ba00]
mov dword [ebp - 0x88], ecx
mov dword [ebp - 0x84], str.DebugView_Data__.LOG_
xor edi, edi
mov dword [ebp - 0x80], edi
mov dword [ebp - 0x7c], edi
mov dword [ebp - 0x78], 1
lea edx, [ebp + 0x2040]
mov dword [ebp - 0x74], edx
mov dword [ebp - 0x70], 0x100
mov dword [ebp - 0x6c], edi
mov dword [ebp - 0x68], edi
mov dword [ebp - 0x64], edi
mov dword [ebp - 0x60], str.Open_DebugView_Log_File...
xor eax, eax
mov word [ebp - 0x58], ax
xor ecx, ecx
mov word [ebp - 0x56], cx
mov dword [ebp - 0x54], str..log
mov dword [ebp - 0x4c], edi
mov dword [ebp - 0x5c], 0x200000
lea edx, [ebp - 0x90]
push edx
call dword [sym.imp.COMDLG32.dll_GetOpenFileNameA]
test eax, eax
je 0x411370
push 0x43883c
lea eax, [ebp + 0x2040]
push eax
call fcn.00413387
mov dword [ebp - 0x24], eax
lea ecx, [ebp + 0x2040]
push ecx
push str.Error_opening__s.
lea edx, [ebp]
push edx
call fcn.004124f2
add esp, 0x14
jmp 0x411022
push 0x43883c
push edi
call fcn.00413387
mov dword [ebp - 0x24], eax
push edi
push str.Error_opening__s.
lea eax, [ebp]
push eax
call fcn.004124f2
add esp, 0x14
xor edi, edi
cmp dword [ebp - 0x24], edi
jne 0x41103e
push 0x10
push str.Log_File_Open_Error
lea ecx, [ebp]
push ecx
push edi
call dword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x411370
push ebx
call dword [sym.imp.USER32.dll_SetCapture]
mov edx, dword [0x44ba04]
push edx
call dword [sym.imp.USER32.dll_SetCursor]
mov dword [0x450de8], eax
mov dword [ebp - 0x1c], edi
mov eax, dword [ebp + 0x2154]
imul eax, eax, 0x160
mov dword [eax + 0x450150], edi
mov dword [ebp - 0x20], edi
mov dword [ebp - 4], edi
mov ecx, dword [ebp - 0x24]
push ecx
push 0x1020
lea edx, [ebp]
push edx
call fcn.00414a24
add esp, 0xc
test eax, eax
je 0x411234
lea edi, [ebp]
cmp byte [ebp], 0x5b
je 0x411072
xor esi, esi
mov dword [ebp - 0x2c], esi
cmp esi, 3
jge 0x411229
cmp esi, 2
jge 0x4110c8
push 9
push edi
call fcn.004144b0
add esp, 8
mov ebx, eax
mov dword [ebp - 0x30], ebx
test ebx, ebx
je 0x4110e6
mov byte [ebx], 0
inc ebx
mov dword [ebp - 0x30], ebx
jmp 0x4110e6
push 0
push edi
call fcn.004144b0
add esp, 8
mov ebx, eax
mov dword [ebp - 0x30], ebx
mov byte [ebx - 1], 0
cmp byte [ebx - 2], 9
jne 0x4110e6
mov byte [ebx - 2], 0
mov eax, esi
sub eax, 0
je 0x4111de
sub eax, 1
je 0x4111d3
sub eax, 1
jne 0x411221
mov eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
jne 0x41111f
push 0x438a28
push 0x4524c0
call fcn.004124f2
add esp, 8
jmp 0x411132
push eax
push str._08d
push 0x4524c0
call fcn.004124f2
add esp, 0xc
cmp dword [ebp - 0x20], 0
jl 0x411221
push 0x20
call fcn.00412d99
mov esi, eax
xor eax, eax
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], eax
push 0x4524c0
call fcn.00415183
mov dword [esi + 0x14], eax
mov eax, dword [ebp - 0x38]
push eax
call fcn.00415183
mov dword [esi + 0x18], eax
push edi
call fcn.00415183
add esp, 0x10
mov dword [esi + 0x1c], eax
mov dword [ebp - 0xb8], 5
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0xb4], ecx
mov dword [ebp - 0xb0], 0
mov dword [ebp - 0xa4], 0xffffffff
mov dword [ebp - 0x98], esi
lea edx, [ebp - 0xb8]
push edx
push 0
push 0x1007
mov eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov esi, dword [ebp - 0x2c]
mov edi, ebx
inc esi
jmp 0x41109a
mov dword [ebp - 0x38], edi
mov edi, ebx
inc esi
jmp 0x41109a
lea ecx, [ebp - 0x20]
push ecx
push 0x4389b0
push edi
call fcn.00414bd6
add esp, 0xc
cmp dword [ebp - 0x1c], 0
jne 0x41120b
mov edx, dword [ebp + 0x2154]
imul edx, edx, 0x160
mov eax, dword [ebp - 0x20]
mov dword [edx + 0x450150], eax
mov ecx, dword [ebp - 0x20]
push ecx
push str._08d
push 0x4524c0
call fcn.004124f2
add esp, 0xc
mov edi, ebx
inc esi
jmp 0x41109a
inc dword [ebp - 0x1c]
mov esi, dword [ebp - 0x28]
jmp 0x411072
mov dword [ebp - 4], 0xfffffffe
jmp 0x41127d
mov edi, dword [ebp + 0x2154]
imul edi, edi, 0x160
mov eax, dword [ebp - 0x20]
mov dword [edi + 0x450154], eax
mov ecx, dword [ebp - 0x24]
push ecx
call fcn.00412f6d
add esp, 4
mov edx, dword [edi + 0x450154]
sub edx, dword [edi + 0x450150]
mov dword [0x440c24], edx
cmp dword [0x440c20], 0
je 0x41130a
cmp dword [ebp - 0x1c], 0
je 0x41130a
push 0
push 0
push 0xb
push esi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
call edi
mov eax, dword [0x440c24]
cmp eax, dword [0x440c20]
jb 0x4112ff
jmp 0x4112e0
push 0
push 0
push 0x1008
push esi
call edi
mov eax, dword [0x440c24]
dec eax
mov dword [0x440c24], eax
cmp eax, dword [0x440c20]
jae 0x4112e0
push 0
push 1
push 0xb
push esi
call edi
jmp 0x411310
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
cmp byte [0x43d366], 0
je 0x41135d
cmp dword [ebp - 0x1c], 0
je 0x41135d
mov ecx, dword [0x440c28]
imul ecx, ecx, 0x160
cmp dword [ecx + 0x450024], esi
jne 0x411345
mov eax, dword [0x440c00]
test eax, eax
je 0x411345
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push 0
push 0
push 0x1004
push esi
call edi
dec eax
push eax
push 0x1013
push esi
call edi
mov edx, dword [0x450de8]
push edx
call dword [sym.imp.USER32.dll_SetCursor]
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x2144]
xor ecx, ebp
call fcn.004126a4
add ebp, 0x2148
mov esp, ebp
pop ebp
ret