Function at 0x10003440
Capabilities:
Create thread

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x10007348
push eax
mov eax, dword [esp + 0x10]
mov dword fs:[0], esp
sub esp, 0x24
push ebx
push ebp
push esi
xor esi, esi
cmp eax, esi
push edi
jne 0x100035b3
mov edx, dword [0x1000c35c]
mov ecx, 0x4e2
mov edi, 0x1000c360
push esi
mov eax, dword [edx + 0x60]
push esi
mov dword [0x1000b024], eax
xor eax, eax
rep stosd dword es:[edi], eax
mov ecx, dword [edx + 0x144]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push 0x18b
push ecx
call edi
mov edx, dword [0x1000c35c]
mov dword [0x1000d6e8], eax
push esi
push esi
mov eax, dword [edx + 0x144]
push 0x18b
push eax
xor ebx, ebx
call edi
cmp eax, esi
jle 0x1000354c
mov ebp, 0x1000c360
jmp 0x100034ca
xor esi, esi
lea ecx, [esp + 0x44]
call sub.MFC42.DLL_CString::CString_1
mov edx, dword [0x1000c35c]
lea ecx, [esp + 0x44]
push ecx
push ebx
lea ecx, [edx + 0x124]
mov dword [esp + 0x44], esi
call sub.MFC42.DLL_CListBox::GetText
mov edi, dword [esp + 0x44]
or ecx, 0xffffffff
xor eax, eax
mov dword [esp + 0x3c], 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, ebp
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 + 0x44]
call fcn.10005d94
mov ecx, dword [0x1000c35c]
push 0
push 0
push 0x18b
mov edx, dword [ecx + 0x144]
inc ebx
push edx
add ebp, 0x32
call dword [sym.imp.USER32.dll_SendMessageA]
cmp ebx, eax
jl 0x100034c8
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
xor esi, esi
mov ecx, dword [0x1000c35c]
push 0x4f0
call sub.MFC42.DLL_CWnd::GetDlgItem
mov dword [esp + 0x10], 0x1000004
mov eax, dword [eax + 0x20]
push esi
push esi
push 0xf0
push eax
call edi
test eax, eax
je 0x1000357d
mov dword [esp + 0x10], 4
mov edx, dword [0x1000b024]
push esi
lea ecx, [esp + 0x14]
push 4
mov eax, dword [edx*4 + 0x1000bbe0]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
add esp, 0x30
ret
cmp eax, 1
jne 0x100035d0
call fcn.10001640
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
add esp, 0x30
ret
cmp eax, 2
jne 0x100035ed
call fcn.100016c0
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
add esp, 0x30
ret
cmp eax, 3
jne 0x1000360a
call fcn.10001960
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
add esp, 0x30
ret
cmp eax, 4
jne 0x10003627
call fcn.10002e90
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
add esp, 0x30
ret
cmp eax, 5
jne 0x100036b6
lea ecx, [esp + 0x44]
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esp + 0x44]
mov dword [esp + 0x3c], 1
push ecx
mov ecx, dword [0x1000c35c]
push 0x4e6
call sub.MFC42.DLL_CWnd::GetDlgItemTextA
push esi
push esi
xor edx, edx
push esi
push esi
lea eax, [esp + 0x2c]
mov dword [esp + 0x30], edx
push 0x418
push eax
mov dword [esp + 0x34], esi
mov dword [esp + 0x3c], edx
call fcn.10001c30
add esp, 0x18
lea ecx, [esp + 0x44]
push esi
call sub.MFC42.DLL_CString::GetBuffer
lea ecx, [esp + 0x1c]
push eax
push ecx
call fcn.10001510
add esp, 8
lea ecx, [esp + 0x44]
mov dword [esp + 0x3c], 0xffffffff
call fcn.10005d94
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
add esp, 0x30
ret
cmp eax, 6
jne 0x100036d3
call fcn.10001820
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
add esp, 0x30
ret
cmp eax, 7
jne 0x100036f0
call fcn.100019e0
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
add esp, 0x30
ret
cmp eax, 8
jne 0x1000370d
call fcn.10001a30
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
add esp, 0x30
ret
cmp eax, 0x15
jne 0x100037f5
mov eax, dword [0x1000b024]
mov edi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push esi
lea edx, [esp + 0x48]
mov ecx, dword [eax*4 + 0x1000b668]
push 4
push edx
push ecx
call edi
mov ebx, dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
push eax
call ebx
mov eax, dword [0x1000b024]
push esi
lea edx, [esp + 0x18]
push 4
mov ecx, dword [eax*4 + 0x1000b730]
push edx
add ecx, dword [esp + 0x50]
push ecx
call edi
push eax
call ebx
mov eax, dword [0x1000b024]
mov ebp, dword [esp + 0x44]
push esi
lea edx, [esp + 0x1c]
mov ecx, dword [eax*4 + 0x1000b7f8]
push 4
add ecx, ebp
push edx
push ecx
call edi
push eax
call ebx
fild dword [esp + 0x14]
mov ecx, dword [0x1000c35c]
push 1
push esi
push 0x4de
fidiv dword [esp + 0x24]
fmul qword [0x100083e8]
fstp qword [esp + 0x28]
call sub.MFC42.DLL_CWnd::GetDlgItemInt
fld qword [esp + 0x1c]
mov dword [esp + 0x10], eax
push 1
call sub.MSVCRT.dll__ftol
mov ecx, dword [0x1000c35c]
push eax
push 0x4e7
call sub.MFC42.DLL_CWnd::SetDlgItemInt
fild dword [esp + 0x10]
fcomp qword [esp + 0x1c]
fnstsw ax
test ah, 0x41
jne 0x10003c83
push esi
push esi
push esi
push 0x10003250
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
add esp, 0x30
ret
cmp eax, 0x16
jne 0x100038de
mov eax, dword [0x1000b024]
mov edi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push esi
lea edx, [esp + 0x48]
mov ecx, dword [eax*4 + 0x1000b668]
push 4
push edx
push ecx
call edi
mov ebx, dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
push eax
call ebx
mov eax, dword [0x1000b024]
push esi
lea edx, [esp + 0x18]
push 4
mov ecx, dword [eax*4 + 0x1000b730]
push edx
add ecx, dword [esp + 0x50]
push ecx
call edi
push eax
call ebx
mov eax, dword [0x1000b024]
mov ebp, dword [esp + 0x44]
push esi
lea edx, [esp + 0x1c]
mov ecx, dword [eax*4 + 0x1000b7f8]
push 4
add ecx, ebp
push edx
push ecx
call edi
push eax
call ebx
fild dword [esp + 0x14]
mov ecx, dword [0x1000c35c]
push 1
push esi
push 0x4e0
fidiv dword [esp + 0x24]
fmul qword [0x100083e8]
fstp qword [esp + 0x28]
call sub.MFC42.DLL_CWnd::GetDlgItemInt
fld qword [esp + 0x1c]
mov dword [esp + 0x10], eax
push 1
call sub.MSVCRT.dll__ftol
mov ecx, dword [0x1000c35c]
push eax
push 0x4e7
call sub.MFC42.DLL_CWnd::SetDlgItemInt
fild dword [esp + 0x10]
fcomp qword [esp + 0x1c]
fnstsw ax
test ah, 0x41
jne 0x10003c83
push esi
push esi
push 1
push 0x10003250
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
add esp, 0x30
ret
cmp eax, 0x17
jne 0x100039c7
mov eax, dword [0x1000b024]
mov edi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push esi
lea edx, [esp + 0x48]
mov ecx, dword [eax*4 + 0x1000b668]
push 4
push edx
push ecx
call edi
mov ebx, dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
push eax
call ebx
mov eax, dword [0x1000b024]
push esi
lea edx, [esp + 0x18]
push 4
mov ecx, dword [eax*4 + 0x1000b730]
push edx
add ecx, dword [esp + 0x50]
push ecx
call edi
push eax
call ebx
mov eax, dword [0x1000b024]
mov ebp, dword [esp + 0x44]
push esi
lea edx, [esp + 0x1c]
mov ecx, dword [eax*4 + 0x1000b7f8]
push 4
add ecx, ebp
push edx
push ecx
call edi
push eax
call ebx
fild dword [esp + 0x14]
mov ecx, dword [0x1000c35c]
push 1
push esi
push 0x4e8
fidiv dword [esp + 0x24]
fmul qword [0x100083e8]
fstp qword [esp + 0x28]
call sub.MFC42.DLL_CWnd::GetDlgItemInt
fld qword [esp + 0x1c]
mov dword [esp + 0x10], eax
push 1
call sub.MSVCRT.dll__ftol
mov ecx, dword [0x1000c35c]
push eax
push 0x4e7
call sub.MFC42.DLL_CWnd::SetDlgItemInt
fild dword [esp + 0x10]
fcomp qword [esp + 0x1c]
fnstsw ax
test ah, 0x41
jne 0x10003c83
push esi
push esi
push 2
push 0x10003250
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
add esp, 0x30
ret
cmp eax, 0x18
jne 0x10003ab0
mov eax, dword [0x1000b024]
mov edi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push esi
lea edx, [esp + 0x48]
mov ecx, dword [eax*4 + 0x1000b668]
push 4
push edx
push ecx
call edi
mov ebx, dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
push eax
call ebx
mov eax, dword [0x1000b024]
push esi
lea edx, [esp + 0x18]
push 4
mov ecx, dword [eax*4 + 0x1000b730]
push edx
add ecx, dword [esp + 0x50]
push ecx
call edi
push eax
call ebx
mov eax, dword [0x1000b024]
mov ebp, dword [esp + 0x44]
push esi
lea edx, [esp + 0x1c]
mov ecx, dword [eax*4 + 0x1000b7f8]
push 4
add ecx, ebp
push edx
push ecx
call edi
push eax
call ebx
fild dword [esp + 0x14]
mov ecx, dword [0x1000c35c]
push 1
push esi
push 0x4ed
fidiv dword [esp + 0x24]
fmul qword [0x100083e8]
fstp qword [esp + 0x28]
call sub.MFC42.DLL_CWnd::GetDlgItemInt
fld qword [esp + 0x1c]
mov dword [esp + 0x10], eax
push 1
call sub.MSVCRT.dll__ftol
mov ecx, dword [0x1000c35c]
push eax
push 0x4e7
call sub.MFC42.DLL_CWnd::SetDlgItemInt
fild dword [esp + 0x10]
fcomp qword [esp + 0x1c]
fnstsw ax
test ah, 0x41
jne 0x10003c83
push esi
push esi
push 3
push 0x10003250
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
add esp, 0x30
ret
cmp eax, 0xa
jne 0x10003b3f
lea ecx, [esp + 0x44]
call sub.MFC42.DLL_CString::CString_1
mov ecx, dword [0x1000c35c]
lea edx, [esp + 0x44]
push edx
push 0x4dc
mov dword [esp + 0x44], 2
call sub.MFC42.DLL_CWnd::GetDlgItemTextA
push esi
push esi
xor eax, eax
push esi
push esi
lea ecx, [esp + 0x2c]
mov dword [esp + 0x30], eax
push 0xbd6
push ecx
mov dword [esp + 0x34], esi
mov dword [esp + 0x3c], eax
call fcn.10001c30
add esp, 0x18
lea ecx, [esp + 0x44]
push esi
call sub.MFC42.DLL_CString::GetBuffer
lea edx, [esp + 0x1c]
push eax
push edx
call fcn.10001510
add esp, 8
lea ecx, [esp + 0x44]
mov dword [esp + 0x3c], 0xffffffff
call fcn.10005d94
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
add esp, 0x30
ret
cmp eax, 0xc
jne 0x10003b83
push esi
push esi
xor eax, eax
push esi
push esi
lea ecx, [esp + 0x2c]
mov dword [esp + 0x30], eax
push 0x51
push ecx
mov dword [esp + 0x34], esi
mov dword [esp + 0x3c], eax
call fcn.10001c30
lea edx, [esp + 0x34]
push esi
push edx
call fcn.10001510
add esp, 0x20
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
add esp, 0x30
ret
cmp eax, 0xc8
jne 0x10003c83
mov eax, dword [0x1000c35c]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push esi
push esi
mov ecx, dword [eax + 0x104]
push 0x400
push ecx
call edi
mov edx, dword [0x1000c35c]
mov dword [esp + 0x28], eax
push esi
push esi
mov eax, dword [edx + 0xc4]
push 0x400
push eax
call edi
mov ecx, dword [0x1000c35c]
mov dword [esp + 0x2c], eax
push esi
push esi
mov edx, dword [ecx + 0x84]
push 0x400
push edx
call edi
mov ecx, dword [0x1000c35c]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x28]
push 1
push eax
push 0x501
call sub.MFC42.DLL_CWnd::SetDlgItemInt
mov ecx, dword [esp + 0x2c]
push 1
push ecx
mov ecx, dword [0x1000c35c]
push 0x502
call sub.MFC42.DLL_CWnd::SetDlgItemInt
mov edx, dword [esp + 0x30]
mov ecx, dword [0x1000c35c]
push 1
push edx
push 0x500
call sub.MFC42.DLL_CWnd::SetDlgItemInt
mov ecx, dword [0x1000b024]
mov edi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push esi
lea eax, [esp + 0x2c]
mov edx, dword [ecx*4 + 0x1000bca8]
push 4
push eax
push edx
call edi
mov ebx, dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
push eax
call ebx
mov ecx, dword [0x1000b024]
push esi
lea eax, [esp + 0x30]
push 4
mov edx, dword [ecx*4 + 0x1000bd70]
push eax
push edx
call edi
push eax
call ebx
mov ecx, dword [0x1000b024]
push esi
lea eax, [esp + 0x34]
push 4
mov edx, dword [ecx*4 + 0x1000be38]
push eax
push edx
call edi
push eax
call ebx
mov ecx, dword [esp + 0x34]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x30
ret