Function at 0x413150
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x449293
mov eax, dword fs:[0]
push eax
sub esp, 0xfc
push ebx
push esi
push edi
mov eax, dword [0x45c070]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [0x45f36c]
add eax, 0xfffffffa
xor ebx, ebx
cmp eax, 3
ja case.default.0x413190
jmp dword [eax*4 + 0x41356c]
lea eax, [ebp - 0x108]
call fcn.00412270
lea edi, [ebp - 0x108]
mov dword [ebp - 4], ebx
call fcn.0041d560
mov edi, eax
cmp edi, 1
jne 0x4131c1
mov dword [0x45f36c], 7
lea eax, [ebp - 0x108]
push eax
mov dword [ebp - 4], 0xffffffff
call fcn.00412570
jmp 0x413342
mov dword [ebp - 0x94], ebx
mov dword [ebp - 0x84], ebx
mov dword [ebp - 0x80], ebx
mov dword [ebp - 0x7c], ebx
mov dword [ebp - 0x98], vtable.COptionsDlg.0
mov dword [ebp - 0x78], ebx
mov dword [ebp - 0x74], ebx
mov dword [ebp - 0x70], ebx
mov dword [ebp - 0x6c], ebx
mov dword [ebp - 0x68], ebx
mov dword [ebp - 0x64], ebx
mov dword [ebp - 0x60], ebx
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x50], ebx
lea edi, [ebp - 0x98]
mov dword [ebp - 4], 1
call fcn.0041d4d0
mov edi, eax
cmp edi, 1
jne 0x41325c
push ebx
push ebx
push esi
push 0x41aab0
push 4
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x84]
mov dword [0x45f36c], 8
jmp 0x413338
cmp edi, 2
jne 0x41326b
mov dword [0x45f36c], 6
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x84]
jmp 0x413338
push ebx
lea ecx, [ebp - 0xc0]
push ecx
call fcn.0040ee90
lea edi, [ebp - 0xc0]
mov dword [ebp - 4], 2
call fcn.0041d1e0
mov edi, eax
cmp edi, 1
jne 0x4132af
mov dword [0x45f36c], 9
jmp 0x4132db
cmp edi, 2
jne 0x4132c0
mov dword [0x45f36c], 7
jmp 0x4132db
cmp edi, 3
jne 0x4132db
mov edx, dword [esi + 0x78]
push edx
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov eax, dword [esi + 0x74]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
lea esi, [ebp - 0xc0]
mov dword [ebp - 4], 0xffffffff
call fcn.0040fc10
jmp 0x413342
lea esi, [ebp - 0x78]
call fcn.004126d0
mov edi, esi
mov dword [ebp - 4], 3
call fcn.0041d670
mov edi, eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x4c]
mov dword [0x45f36c], 0xa
cmp eax, ebx
je 0x413335
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
cmp eax, ebx
je 0x413335
mov dword [ebp - 0x4c], ebx
mov eax, dword [ebp - 0x64]
cmp eax, ebx
je 0x413342
push eax
call fcn.004450bb
cmp edi, 3
jne 0x413559
push str.Verdana
push ebx
push 2
push ebx
push 4
push ebx
push ebx
push ebx
push ebx
push 0x2bc
push ebx
push ebx
push ebx
push 0x1a
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x48], vtable.CEndDlg.0
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
call dword [sym.imp.GDI32.dll_CreateFontW]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], 4
mov edx, dword [0x45d48c]
mov eax, dword [edx + 0xc]
mov ecx, 0x45d48c
call eax
add eax, 0x10
mov dword [ebp - 0x10], eax
mov edi, 0xb6
mov byte [ebp - 4], 5
call fcn.004032e0
cmp eax, ebx
je 0x4133c6
push eax
mov eax, edi
lea edi, [ebp - 0x10]
call fcn.00403490
lea eax, [ebp - 0x10]
mov edi, 0x45f3a4
mov byte [ebp - 4], 6
call fcn.00403840
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4133fa
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, dword [0x45d48c]
mov eax, dword [edx + 0xc]
mov ecx, 0x45d48c
call eax
add eax, 0x10
mov dword [ebp - 0x14], eax
mov edi, 0x69
mov byte [ebp - 4], 7
call fcn.004032e0
cmp eax, ebx
je 0x41342d
push eax
mov eax, edi
lea edi, [ebp - 0x14]
call fcn.00403490
mov byte [ebp - 4], 8
mov edx, dword [0x45d48c]
mov eax, dword [edx + 0xc]
mov ecx, 0x45d48c
call eax
add eax, 0x10
mov dword [ebp - 0x10], eax
mov edi, 0x68
mov byte [ebp - 4], 9
call fcn.004032e0
cmp eax, ebx
je 0x413464
push eax
mov eax, edi
lea edi, [ebp - 0x10]
call fcn.00403490
mov byte [ebp - 4], 0xa
mov edx, dword [0x45d48c]
mov eax, dword [edx + 0xc]
mov ecx, 0x45d48c
call eax
lea esi, [eax + 0x10]
mov dword [ebp - 0x18], esi
mov edi, 0xb7
mov byte [ebp - 4], 0xb
call fcn.004032e0
cmp eax, ebx
je 0x41349e
push eax
mov eax, edi
lea edi, [ebp - 0x18]
call fcn.00403490
mov esi, dword [ebp - 0x18]
mov byte [ebp - 4], 0xc
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x10]
push ecx
push edx
push esi
mov edi, 0x45f3a8
call fcn.00403fa0
add esi, 0xfffffff0
add esp, 0xc
mov byte [ebp - 4], 0xa
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4134d8
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4134fb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41351e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea edi, [ebp - 0x48]
call fcn.0041d670
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x1c]
mov dword [0x45f36c], 0xa
cmp eax, ebx
je 0x41354c
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
test eax, eax
je 0x41354c
mov dword [ebp - 0x1c], ebx
mov eax, dword [ebp - 0x34]
cmp eax, ebx
je 0x413559
push eax
call fcn.004450bb
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret