Function at 0x412a70
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x449364
mov eax, dword fs:[0]
push eax
sub esp, 0xb8
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 eax, dword [0x45f36c]
xor ebx, ebx
cmp eax, 9
ja case.0x412aab.6
jmp dword [eax*4 + 0x4130b0]
lea esi, [ebp - 0x4c]
call fcn.00411da0
mov edi, esi
mov dword [ebp - 4], ebx
call fcn.0041d320
mov edi, eax
cmp edi, 1
jne 0x412ad0
mov dword [0x45f36c], eax
lea eax, [ebp - 0x4c]
mov dword [ebp - 4], 0xffffffff
call fcn.00411f00
jmp 0x412dc2
mov eax, dword [0x45d52c]
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x5c], 0x45498c
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], ebx
lea edi, [ebp - 0x5c]
mov dword [ebp - 4], 1
call fcn.0041d3b0
mov edi, eax
cmp edi, 2
jne 0x412b2f
mov dword [0x45f36c], ebx
jmp 0x412b4f
cmp edi, 4
jne 0x412b40
mov dword [0x45f36c], 2
jmp 0x412b4f
cmp edi, 5
jne 0x412b4f
mov dword [0x45f36c], 3
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x48]
cmp eax, ebx
je 0x412dc2
push eax
call fcn.004450bb
jmp 0x412dc2
lea eax, [ebp - 0x6c]
call fcn.004130e0
lea edi, [ebp - 0x6c]
mov dword [ebp - 4], 2
call fcn.0041d4d0
mov edi, eax
cmp edi, 1
jne 0x412bad
mov esi, dword [ebp + 8]
push ebx
push ebx
push esi
push 0x4160d0
push 4
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0x74], eax
mov dword [0x45f36c], 8
jmp 0x412bcd
cmp edi, 2
jne 0x412bbe
mov dword [0x45f36c], 1
jmp 0x412bcd
cmp edi, 3
jne 0x412bcd
mov dword [0x45f36c], 9
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x58]
cmp eax, ebx
je 0x412dc2
push eax
call fcn.004450bb
jmp 0x412dc2
mov dword [ebp - 0x60], ebx
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x64], 0x4546dc
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], ebx
lea edi, [ebp - 0x64]
mov dword [ebp - 4], 3
call fcn.0041d440
mov edi, eax
cmp edi, 2
jne 0x412c3a
mov dword [0x45f36c], 1
jmp 0x412c5a
cmp edi, 6
jne 0x412c4b
mov dword [0x45f36c], 4
jmp 0x412c5a
cmp edi, 7
jne 0x412c5a
mov dword [0x45f36c], 5
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x50]
cmp eax, ebx
je 0x412dc2
push eax
call fcn.004450bb
jmp 0x412dc2
lea eax, [ebp - 0x6c]
call fcn.004130e0
lea edi, [ebp - 0x6c]
mov dword [ebp - 4], 4
call fcn.0041d4d0
mov edi, eax
cmp edi, 2
jne 0x412ca4
mov dword [0x45f36c], 3
jmp 0x412bcd
cmp edi, 1
jne 0x412bcd
mov esi, dword [ebp + 8]
push ebx
push ebx
push esi
push 0x41a660
jmp 0x412b95
lea eax, [ebp - 0x6c]
call fcn.004130e0
lea edi, [ebp - 0x6c]
mov dword [ebp - 4], 5
call fcn.0041d4d0
mov edi, eax
cmp edi, 2
jne 0x412cea
mov dword [0x45f36c], 3
jmp 0x412bcd
cmp edi, 1
jne 0x412bcd
mov esi, dword [ebp + 8]
push ebx
push ebx
push esi
push 0x416490
jmp 0x412b95
push ebx
lea ecx, [ebp - 0x94]
push ecx
call fcn.0040ee90
lea edi, [ebp - 0x94]
mov dword [ebp - 4], 6
call fcn.0041d1e0
mov edi, eax
cmp edi, 1
jne 0x412d51
mov eax, dword [ebp + 8]
xor edx, edx
cmp byte [eax + 0x7c], bl
lea esi, [ebp - 0x94]
sete dl
mov dword [ebp - 4], 0xffffffff
add edx, 8
mov dword [0x45f36c], edx
call fcn.0040fc10
jmp 0x412dc2
cmp edi, 3
jne 0x412d6f
mov esi, dword [ebp + 8]
mov ecx, dword [esi + 0x78]
push ecx
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov edx, dword [esi + 0x74]
push 0xffffffffffffffff
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea esi, [ebp - 0x94]
mov dword [ebp - 4], 0xffffffff
call fcn.0040fc10
jmp 0x412dc2
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x74]
push 0xffffffffffffffff
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea esi, [ebp - 0x50]
call fcn.004126d0
mov edi, esi
mov dword [ebp - 4], 7
call fcn.0041d670
mov edi, eax
mov eax, esi
mov dword [0x45f36c], 0xa
mov dword [ebp - 4], 0xffffffff
call fcn.00412880
cmp edi, 3
jne 0x413090
mov eax, dword [0x45f36c]
cmp eax, 0xb
je 0x4130a4
cmp eax, 0xc
jne 0x412e58
mov eax, 0x4160d0
mov esi, dword [ebp + 8]
push ebx
push ebx
push esi
push eax
push 4
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 1
lea edx, [ebp - 0x94]
push edx
mov dword [esi + 0x74], eax
call fcn.0040ee90
lea edi, [ebp - 0x94]
mov dword [ebp - 4], 8
call fcn.0041d1e0
lea eax, [ebp - 0x50]
mov dword [ebp - 4], 9
call fcn.0041f260
mov eax, dword [ebp - 0x58]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x412e44
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x80]
cmp eax, ebx
je 0x412e58
push eax
call fcn.004450bb
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 - 0xc0], ebx
mov dword [ebp - 0xb0], ebx
mov dword [ebp - 0xac], ebx
mov dword [ebp - 0xa8], ebx
mov dword [ebp - 0xc4], vtable.CEndDlg.0
mov dword [ebp - 0xa4], ebx
mov dword [ebp - 0xa0], ebx
mov dword [ebp - 0x9c], ebx
mov dword [ebp - 0x98], ebx
call dword [sym.imp.GDI32.dll_CreateFontW]
mov dword [ebp - 0x98], eax
mov dword [ebp - 4], 0xa
mov edx, dword [0x45d48c]
mov eax, dword [edx + 0xc]
mov ecx, 0x45d48c
call eax
add eax, 0x10
mov dword [ebp + 8], eax
mov edi, 0xb6
mov byte [ebp - 4], 0xb
call fcn.004032e0
cmp eax, ebx
je 0x412ef1
push eax
mov eax, edi
lea edi, [ebp + 8]
call fcn.00403490
lea eax, [ebp + 8]
mov edi, 0x45f3a4
mov byte [ebp - 4], 0xc
call fcn.00403840
mov byte [ebp - 4], 0xa
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x412f25
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], 0xd
call fcn.004032e0
cmp eax, ebx
je 0x412f58
push eax
mov eax, edi
lea edi, [ebp - 0x14]
call fcn.00403490
mov byte [ebp - 4], 0xe
mov edx, dword [0x45d48c]
mov eax, dword [edx + 0xc]
mov ecx, 0x45d48c
call eax
add eax, 0x10
mov dword [ebp + 8], eax
mov edi, 0x68
mov byte [ebp - 4], 0xf
call fcn.004032e0
cmp eax, ebx
je 0x412f8f
push eax
mov eax, edi
lea edi, [ebp + 8]
call fcn.00403490
mov byte [ebp - 4], 0x10
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], 0x11
call fcn.004032e0
cmp eax, ebx
je 0x412fc9
push eax
mov eax, edi
lea edi, [ebp - 0x18]
call fcn.00403490
mov esi, dword [ebp - 0x18]
mov byte [ebp - 4], 0x12
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp + 8]
push ecx
push edx
push esi
mov edi, 0x45f3a8
call fcn.00403fa0
add esi, 0xfffffff0
add esp, 0xc
mov byte [ebp - 4], 0x10
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x413003
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
mov byte [ebp - 4], 0xe
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x413026
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0xa
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 0x413049
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea edi, [ebp - 0xc4]
call fcn.0041d670
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x98]
mov dword [0x45f36c], 0xa
cmp eax, ebx
je 0x413080
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
test eax, eax
je 0x413080
mov dword [ebp - 0x98], ebx
mov eax, dword [ebp - 0xb0]
cmp eax, ebx
je 0x413090
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 4
mov eax, 0x41a660
jmp 0x412de3