Function at 0x10002910
Capabilities:
Create thread

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x10006e00
push eax
mov eax, dword [esp + 0x10]
mov dword fs:[0], esp
sub esp, 0x34
push ebx
push ebp
push esi
xor esi, esi
cmp eax, esi
push edi
jne 0x10002b59
mov ecx, 0x4e2
xor eax, eax
mov edi, 0x1000a3bc
mov dword [0x1000b744], esi
rep stosd dword es:[edi], eax
mov eax, dword [0x1000a3b4]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push esi
push esi
mov ecx, dword [eax + 0x84]
push 0x18b
push ecx
call edi
mov edx, dword [0x1000a3b4]
mov dword [0x1000b744], eax
push esi
push esi
mov eax, dword [edx + 0x84]
push 0x18b
push eax
xor ebp, ebp
call edi
cmp eax, esi
jle 0x10002a16
mov ebx, 0x1000a3bc
jmp 0x10002997
xor esi, esi
lea ecx, [esp + 0x54]
call fcn.1000589a
mov edx, dword [0x1000a3b4]
lea ecx, [esp + 0x54]
push ecx
push ebp
lea ecx, [edx + 0x64]
mov dword [esp + 0x54], esi
call sub.MFC42.DLL_CListBox::GetText
mov edi, dword [esp + 0x54]
or ecx, 0xffffffff
xor eax, eax
mov dword [esp + 0x4c], 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x54]
call fcn.10005864
mov ecx, dword [0x1000a3b4]
push 0
push 0
push 0x18b
mov edx, dword [ecx + 0x84]
inc ebp
push edx
add ebx, 0x32
call dword [sym.imp.USER32.dll_SendMessageA]
cmp ebp, eax
jl 0x10002995
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
xor esi, esi
mov ecx, dword [0x1000a3b4]
push 0x1000a2e8
push 0x500
call sub.MFC42.DLL_CWnd::GetDlgItemTextA
mov ecx, dword [0x1000a3b4]
push 0x4cb
call sub.MFC42.DLL_CWnd::GetDlgItem
mov eax, dword [eax + 0x20]
push esi
push esi
push 0xf0
push eax
call edi
cmp eax, esi
je 0x10003106
lea ecx, [esp + 0x10]
call fcn.1000589a
lea ecx, [esp + 0x10]
mov dword [esp + 0x4c], 1
push ecx
mov ecx, dword [0x1000a3b4]
push 0x502
call sub.MFC42.DLL_CWnd::GetDlgItemTextA
xor edx, edx
mov edi, dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov dword [esp + 0x1d], edx
mov ebx, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [esp + 0x21], edx
mov dword [esp + 0x14], esi
mov dword [esp + 0x25], edx
mov byte [esp + 0x54], 0
mov dword [esp + 0x29], edx
mov byte [esp + 0x1c], 0
mov word [esp + 0x2d], dx
xor ebp, ebp
mov byte [esp + 0x2f], dl
mov esi, 0x76c0b0
xor eax, eax
lea ecx, [esp + 0x54]
mov dword [esp + 0x1c], eax
lea edx, [esi - 0x74]
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
push eax
push 1
push ecx
push edx
mov dword [esp + 0x3c], eax
call ebx
push eax
call edi
mov eax, dword [esp + 0x54]
push 0
and eax, 0xff
lea ecx, [esp + 0x20]
push eax
lea edx, [esi - 0x73]
push ecx
push edx
call ebx
push eax
call edi
push 0
lea eax, [esp + 0x18]
push 4
push eax
push esi
call ebx
push eax
call edi
mov al, byte [esp + 0x54]
test al, al
je 0x10002b21
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x1c]
push ecx
push edx
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
je 0x10002b2c
add esi, 0x7c
inc ebp
cmp ebp, 0x28
jl 0x10002ab2
jmp 0x10002b35
mov eax, dword [esp + 0x14]
mov dword [0x1000b748], eax
lea ecx, [esp + 0x10]
mov dword [esp + 0x4c], 0xffffffff
call fcn.10005864
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
add esp, 0x40
ret
cmp eax, 1
jne 0x10002bbb
lea ecx, [esp + 0x54]
call fcn.1000589a
lea ecx, [esp + 0x54]
mov dword [esp + 0x4c], 2
push ecx
mov ecx, dword [0x1000a3b4]
push 0x507
call sub.MFC42.DLL_CWnd::GetDlgItemTextA
push esi
lea ecx, [esp + 0x58]
call sub.MFC42.DLL_CString::GetBuffer
push eax
call fcn.10001e80
add esp, 4
lea ecx, [esp + 0x54]
mov dword [esp + 0x4c], 0xffffffff
call fcn.10005864
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
add esp, 0x40
ret
cmp eax, 2
jne 0x10002c1d
lea ecx, [esp + 0x54]
call fcn.1000589a
mov ecx, dword [0x1000a3b4]
lea edx, [esp + 0x54]
push edx
push 0x4e6
mov dword [esp + 0x54], 3
call sub.MFC42.DLL_CWnd::GetDlgItemTextA
push esi
lea ecx, [esp + 0x58]
call sub.MFC42.DLL_CString::GetBuffer
push eax
call fcn.10001570
add esp, 4
lea ecx, [esp + 0x54]
mov dword [esp + 0x4c], 0xffffffff
call fcn.10005864
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
add esp, 0x40
ret
cmp eax, 3
jne 0x10002c3a
call fcn.10001920
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
add esp, 0x40
ret
cmp eax, 4
jne 0x10002c57
call fcn.10001a80
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
add esp, 0x40
ret
cmp eax, 5
jne 0x10002c74
call fcn.10001860
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
add esp, 0x40
ret
cmp eax, 6
jne 0x10002c91
call fcn.10001bc0
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
add esp, 0x40
ret
cmp eax, 7
jne 0x10002cb9
push esi
push esi
push esi
push 0x10001d20
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
add esp, 0x40
ret
cmp eax, 8
jne 0x10002cf7
mov ecx, dword [0x1000a3b4]
push 0x521
call sub.MFC42.DLL_CWnd::GetDlgItem
mov eax, dword [eax + 0x20]
push esi
push esi
push 0xf0
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
pop edi
pop esi
pop ebp
mov dword [0x1000b754], eax
pop ebx
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
add esp, 0x40
ret
cmp eax, 0x15
jne 0x10002d9a
xor ecx, ecx
lea edx, [esp + 0x1c]
mov dword [esp + 0x20], ecx
push edx
mov dword [esp + 0x28], ecx
mov dword [esp + 0x20], esi
mov dword [esp + 0x2c], ecx
call fcn.100017e0
fild dword [esp + 0x20]
mov ecx, dword [0x1000a3b4]
add esp, 4
fidiv dword [esp + 0x20]
push 1
push esi
push 0x4de
fmul qword [0x100073f0]
fstp qword [esp + 0x20]
call sub.MFC42.DLL_CWnd::GetDlgItemInt
fld qword [esp + 0x14]
mov dword [esp + 0x54], eax
push 1
call sub.MSVCRT.dll__ftol
mov ecx, dword [0x1000a3b4]
push eax
push 0x4e7
call sub.MFC42.DLL_CWnd::SetDlgItemInt
fild dword [esp + 0x54]
fcomp qword [esp + 0x14]
fnstsw ax
test ah, 0x41
jne 0x10003106
push esi
push esi
push esi
push 0x100027c0
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
add esp, 0x40
ret
cmp eax, 0x16
jne 0x10002e3e
xor eax, eax
lea ecx, [esp + 0x1c]
mov dword [esp + 0x20], eax
push ecx
mov dword [esp + 0x28], eax
mov dword [esp + 0x20], esi
mov dword [esp + 0x2c], eax
call fcn.100017e0
fild dword [esp + 0x20]
mov ecx, dword [0x1000a3b4]
add esp, 4
fidiv dword [esp + 0x20]
push 1
push esi
push 0x4e0
fmul qword [0x100073f0]
fstp qword [esp + 0x20]
call sub.MFC42.DLL_CWnd::GetDlgItemInt
fld qword [esp + 0x14]
mov dword [esp + 0x54], eax
push 1
call sub.MSVCRT.dll__ftol
mov ecx, dword [0x1000a3b4]
push eax
push 0x4e7
call sub.MFC42.DLL_CWnd::SetDlgItemInt
fild dword [esp + 0x54]
fcomp qword [esp + 0x14]
fnstsw ax
test ah, 0x41
jne 0x10003106
push esi
push esi
push 1
push 0x100027c0
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
add esp, 0x40
ret
cmp eax, 0x17
jne 0x10002ee2
xor edx, edx
lea eax, [esp + 0x1c]
mov dword [esp + 0x20], edx
push eax
mov dword [esp + 0x28], edx
mov dword [esp + 0x20], esi
mov dword [esp + 0x2c], edx
call fcn.100017e0
fild dword [esp + 0x20]
mov ecx, dword [0x1000a3b4]
add esp, 4
fidiv dword [esp + 0x20]
push 1
push esi
push 0x4e8
fmul qword [0x100073f0]
fstp qword [esp + 0x20]
call sub.MFC42.DLL_CWnd::GetDlgItemInt
fld qword [esp + 0x14]
mov dword [esp + 0x54], eax
push 1
call sub.MSVCRT.dll__ftol
mov ecx, dword [0x1000a3b4]
push eax
push 0x4e7
call sub.MFC42.DLL_CWnd::SetDlgItemInt
fild dword [esp + 0x54]
fcomp qword [esp + 0x14]
fnstsw ax
test ah, 0x41
jne 0x10003106
push esi
push esi
push 2
push 0x100027c0
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
add esp, 0x40
ret
cmp eax, 0x18
jne 0x10002f86
xor ecx, ecx
lea edx, [esp + 0x1c]
mov dword [esp + 0x20], ecx
push edx
mov dword [esp + 0x28], ecx
mov dword [esp + 0x20], esi
mov dword [esp + 0x2c], ecx
call fcn.100017e0
fild dword [esp + 0x20]
mov ecx, dword [0x1000a3b4]
add esp, 4
fidiv dword [esp + 0x20]
push 1
push esi
push 0x4ee
fmul qword [0x100073f0]
fstp qword [esp + 0x20]
call sub.MFC42.DLL_CWnd::GetDlgItemInt
fld qword [esp + 0x14]
mov dword [esp + 0x54], eax
push 1
call sub.MSVCRT.dll__ftol
mov ecx, dword [0x1000a3b4]
push eax
push 0x4e7
call sub.MFC42.DLL_CWnd::SetDlgItemInt
fild dword [esp + 0x54]
fcomp qword [esp + 0x14]
fnstsw ax
test ah, 0x41
jne 0x10003106
push esi
push esi
push 3
push 0x100027c0
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
add esp, 0x40
ret
cmp eax, 0x19
jne 0x1000302a
xor eax, eax
lea ecx, [esp + 0x1c]
mov dword [esp + 0x20], eax
push ecx
mov dword [esp + 0x28], eax
mov dword [esp + 0x20], esi
mov dword [esp + 0x2c], eax
call fcn.100017e0
fild dword [esp + 0x28]
mov ecx, dword [0x1000a3b4]
add esp, 4
fidiv dword [esp + 0x28]
push 1
push esi
push 0x4f2
fmul qword [0x100073f0]
fstp qword [esp + 0x20]
call sub.MFC42.DLL_CWnd::GetDlgItemInt
fld qword [esp + 0x14]
mov dword [esp + 0x54], eax
push 1
call sub.MSVCRT.dll__ftol
mov ecx, dword [0x1000a3b4]
push eax
push 0x51e
call sub.MFC42.DLL_CWnd::SetDlgItemInt
fild dword [esp + 0x54]
fcomp qword [esp + 0x14]
fnstsw ax
test ah, 0x41
jne 0x10003106
push esi
push esi
push 4
push 0x100027c0
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
add esp, 0x40
ret
cmp eax, 0x1a
jne 0x100030ca
xor edx, edx
lea eax, [esp + 0x1c]
mov dword [esp + 0x20], edx
push eax
mov dword [esp + 0x28], edx
mov dword [esp + 0x20], esi
mov dword [esp + 0x2c], edx
call fcn.100017e0
fild dword [esp + 0x28]
mov ecx, dword [0x1000a3b4]
add esp, 4
fidiv dword [esp + 0x28]
push 1
push esi
push 0x4f6
fmul qword [0x100073f0]
fstp qword [esp + 0x20]
call sub.MFC42.DLL_CWnd::GetDlgItemInt
fld qword [esp + 0x14]
mov dword [esp + 0x54], eax
push 1
call sub.MSVCRT.dll__ftol
mov ecx, dword [0x1000a3b4]
push eax
push 0x51e
call sub.MFC42.DLL_CWnd::SetDlgItemInt
fild dword [esp + 0x54]
fcomp qword [esp + 0x14]
fnstsw ax
test ah, 0x41
jne 0x10003106
push esi
push esi
push 5
push 0x100027c0
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
add esp, 0x40
ret
cmp eax, 0x1d
jne 0x10003106
xor ecx, ecx
push esi
mov dword [esp + 0x38], ecx
push esi
mov dword [esp + 0x40], ecx
push esi
push esi
lea edx, [esp + 0x40]
mov dword [esp + 0x4c], ecx
push 0x1d52
push edx
mov dword [esp + 0x48], esi
mov dword [esp + 0x58], ecx
call fcn.10003a10
lea eax, [esp + 0x48]
push esi
push eax
call fcn.10001450
add esp, 0x20
mov ecx, dword [esp + 0x44]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x40
ret