Function at 0x413100
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4487f3
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.0x413140
jmp dword [eax*4 + 0x41351c]
lea eax, [ebp - 0x108]
call fcn.00412220
lea edi, [ebp - 0x108]
mov dword [ebp - 4], ebx
call fcn.0041cbd0
mov edi, eax
cmp edi, 1
jne 0x413171
mov dword [0x45f36c], 7
lea eax, [ebp - 0x108]
push eax
mov dword [ebp - 4], 0xffffffff
call fcn.00412520
jmp 0x4132f2
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.0041cb40
mov edi, eax
cmp edi, 1
jne 0x41320c
push ebx
push ebx
push esi
push 0x41a180
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 0x4132e8
cmp edi, 2
jne 0x41321b
mov dword [0x45f36c], 6
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x84]
jmp 0x4132e8
push ebx
lea ecx, [ebp - 0xc0]
push ecx
call fcn.0040ee30
lea edi, [ebp - 0xc0]
mov dword [ebp - 4], 2
call fcn.0041c850
mov edi, eax
cmp edi, 1
jne 0x41325f
mov dword [0x45f36c], 9
jmp 0x41328b
cmp edi, 2
jne 0x413270
mov dword [0x45f36c], 7
jmp 0x41328b
cmp edi, 3
jne 0x41328b
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.0040fbb0
jmp 0x4132f2
lea esi, [ebp - 0x78]
call fcn.004126b0
mov edi, esi
mov dword [ebp - 4], 3
call fcn.0041cce0
mov edi, eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x4c]
mov dword [0x45f36c], 0xa
cmp eax, ebx
je 0x4132e5
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
cmp eax, ebx
je 0x4132e5
mov dword [ebp - 0x4c], ebx
mov eax, dword [ebp - 0x64]
cmp eax, ebx
je 0x4132f2
push eax
call fcn.0044468c
cmp edi, 3
jne 0x413509
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 0x413376
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.00403850
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 0x4133aa
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 0x4133dd
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 0x413414
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 0x41344e
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.00403fb0
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 0x413488
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 0x4134ab
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 0x4134ce
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea edi, [ebp - 0x48]
call fcn.0041cce0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x1c]
mov dword [0x45f36c], 0xa
cmp eax, ebx
je 0x4134fc
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
test eax, eax
je 0x4134fc
mov dword [ebp - 0x1c], ebx
mov eax, dword [ebp - 0x34]
cmp eax, ebx
je 0x413509
push eax
call fcn.0044468c
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret