Function at 0x100038f0
Capabilities:
Create thread
Print debug messages

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x1000a160
push eax
mov eax, dword [esp + 0x10]
mov dword fs:[0], esp
sub esp, 0x2c
push ebx
push ebp
push esi
xor esi, esi
cmp eax, esi
push edi
jne 0x10003a31
mov edx, dword [0x100107b4]
mov ecx, 0x4e2
mov edi, 0x100107bc
push esi
mov eax, dword [edx + 0x48c]
push esi
mov dword [0x1000f024], eax
xor eax, eax
rep stosd dword es:[edi], eax
mov ecx, dword [edx + 0x3c8]
push 0x18b
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
xor ebx, ebx
cmp eax, esi
mov dword [0x10011b44], eax
jle 0x100039c5
mov ebp, 0x100107bc
jmp 0x10003961
xor esi, esi
lea ecx, [esp + 0x4c]
call sub.MFC42.DLL_CString::CString_1
mov eax, dword [0x100107b4]
lea edx, [esp + 0x4c]
push edx
push ebx
lea ecx, [eax + 0x3a8]
mov dword [esp + 0x4c], esi
call sub.MFC42.DLL_CListBox::GetText
mov edi, dword [esp + 0x4c]
or ecx, 0xffffffff
xor eax, eax
mov dword [esp + 0x44], 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
mov edi, ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x4c]
call fcn.10008ae4
mov eax, dword [0x10011b44]
inc ebx
add ebp, 0x32
cmp ebx, eax
jl 0x1000395f
xor esi, esi
mov eax, dword [0x100107b4]
push 0x4f0
lea ecx, [eax + 0x60]
call sub.MFC42.DLL_CWnd::GetDlgItem
mov dword [esp + 0x18], 0x1000004
mov ecx, dword [eax + 0x20]
push esi
push esi
push 0xf0
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
test eax, eax
je 0x100039fc
mov dword [esp + 0x18], 4
mov eax, dword [0x1000f024]
push esi
lea edx, [esp + 0x1c]
push 4
mov ecx, dword [eax*4 + 0x1000ff00]
push edx
push ecx
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 + 0x2c]
mov dword fs:[0], ecx
add esp, 0x38
ret
cmp eax, 1
jne 0x10003a4e
call fcn.10001770
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
add esp, 0x38
ret
cmp eax, 2
jne 0x10003a6b
call fcn.10001920
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
add esp, 0x38
ret
cmp eax, 3
jne 0x10003a88
call fcn.10001ca0
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
add esp, 0x38
ret
cmp eax, 4
jne 0x10003aa5
call fcn.10001b60
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
add esp, 0x38
ret
cmp eax, 5
jne 0x10003af9
lea ecx, [esp + 0x4c]
call sub.MFC42.DLL_CString::CString_1
mov eax, dword [0x100107b4]
lea edx, [esp + 0x4c]
push edx
push 0x509
lea ecx, [eax + 0x3fc]
mov dword [esp + 0x4c], 1
call sub.MFC42.DLL_CWnd::GetDlgItemTextA
push esi
lea ecx, [esp + 0x50]
call sub.MFC42.DLL_CString::GetBuffer
push eax
call fcn.10003220
add esp, 4
mov dword [esp + 0x44], 0xffffffff
lea ecx, [esp + 0x4c]
jmp 0x1000475a
cmp eax, 6
jne 0x10003b4e
lea ecx, [esp + 0x4c]
call sub.MFC42.DLL_CString::CString_1
mov edx, dword [0x100107b4]
lea ecx, [esp + 0x4c]
push ecx
push 0x50e
lea ecx, [edx + 0x3fc]
mov dword [esp + 0x4c], 2
call sub.MFC42.DLL_CWnd::GetDlgItemTextA
push esi
lea ecx, [esp + 0x50]
call sub.MFC42.DLL_CString::GetBuffer
push eax
call fcn.10003220
add esp, 4
mov dword [esp + 0x44], 0xffffffff
lea ecx, [esp + 0x4c]
jmp 0x1000475a
cmp eax, 7
jne 0x10003bcc
lea ecx, [esp + 0x4c]
call sub.MFC42.DLL_CString::CString_1
mov ecx, dword [0x100107b4]
lea eax, [esp + 0x4c]
push eax
push 0x4e6
add ecx, 0x3fc
mov dword [esp + 0x4c], 3
call sub.MFC42.DLL_CWnd::GetDlgItemTextA
push esi
push esi
xor edx, edx
push esi
push esi
lea eax, [esp + 0x34]
mov dword [esp + 0x38], edx
push 0x418
push eax
mov dword [esp + 0x3c], esi
mov dword [esp + 0x44], edx
call fcn.10001b30
add esp, 0x18
lea ecx, [esp + 0x4c]
push esi
call sub.MFC42.DLL_CString::GetBuffer
lea ecx, [esp + 0x24]
push eax
push ecx
call fcn.100015d0
add esp, 8
mov dword [esp + 0x44], 0xffffffff
lea ecx, [esp + 0x4c]
jmp 0x1000475a
cmp eax, 8
jne 0x10003c49
lea ecx, [esp + 0x4c]
call sub.MFC42.DLL_CString::CString_1
mov eax, dword [0x100107b4]
lea edx, [esp + 0x4c]
push edx
push 0x4e8
lea ecx, [eax + 0x3fc]
mov dword [esp + 0x4c], 4
call sub.MFC42.DLL_CWnd::GetDlgItemTextA
push esi
push esi
xor ecx, ecx
push esi
push esi
lea edx, [esp + 0x34]
mov dword [esp + 0x38], ecx
push 0x418
push edx
mov dword [esp + 0x3c], esi
mov dword [esp + 0x44], ecx
call fcn.10001b30
add esp, 0x18
lea ecx, [esp + 0x4c]
push esi
call sub.MFC42.DLL_CString::GetBuffer
push eax
lea eax, [esp + 0x28]
push eax
call fcn.100015d0
add esp, 8
mov dword [esp + 0x44], 0xffffffff
lea ecx, [esp + 0x4c]
jmp 0x1000475a
cmp eax, 9
jne 0x10003c66
call fcn.10001a80
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
add esp, 0x38
ret
cmp eax, 0xa
jne 0x10003c83
call fcn.10001d70
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
add esp, 0x38
ret
cmp eax, 0xb
jne 0x10003ca5
push 0x1a
call fcn.10001d20
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
add esp, 0x38
ret
cmp eax, 0xc
jne 0x10003cc7
push 0x38
call fcn.10001d20
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
add esp, 0x38
ret
cmp eax, 0xd
jne 0x10003ce9
push 0x42
call fcn.10001d20
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
add esp, 0x38
ret
cmp eax, 0x15
jne 0x10003de2
mov edx, dword [0x1000f024]
mov edi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push esi
lea ecx, [esp + 0x50]
mov eax, dword [edx*4 + 0x1000f668]
push 4
push ecx
push eax
call edi
mov ebx, dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
push eax
call ebx
mov edx, dword [0x1000f024]
push esi
lea ecx, [esp + 0x20]
push 4
mov eax, dword [edx*4 + 0x1000f730]
mov edx, dword [esp + 0x54]
add eax, edx
push ecx
push eax
call edi
push eax
call ebx
mov edx, dword [0x1000f024]
mov ebp, dword [esp + 0x4c]
push esi
lea ecx, [esp + 0x24]
mov eax, dword [edx*4 + 0x1000f7f8]
push 4
add eax, ebp
push ecx
push eax
call edi
push eax
call ebx
fild dword [esp + 0x1c]
mov ecx, dword [0x100107b4]
push 1
push esi
push 0x4de
fidiv dword [esp + 0x2c]
add ecx, 0x1f8
fmul qword [0x1000b468]
fstp qword [esp + 0x30]
call sub.MFC42.DLL_CWnd::GetDlgItemInt
fld qword [esp + 0x24]
mov dword [esp + 0x18], eax
push 1
call sub.MSVCRT.dll__ftol
mov edx, dword [0x100107b4]
push eax
push 0x4e7
lea ecx, [edx + 0x1f8]
call sub.MFC42.DLL_CWnd::SetDlgItemInt
fild dword [esp + 0x18]
fcomp qword [esp + 0x24]
fnstsw ax
test ah, 0x41
jne 0x1000475f
push esi
push esi
push esi
push 0x10003660
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
add esp, 0x38
ret
cmp eax, 0x16
jne 0x10003ed7
mov ecx, dword [0x1000f024]
mov edi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push esi
lea eax, [esp + 0x50]
mov edx, dword [ecx*4 + 0x1000f668]
push 4
push eax
push edx
call edi
mov ebx, dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
push eax
call ebx
mov ecx, dword [0x1000f024]
push esi
lea eax, [esp + 0x20]
push 4
mov edx, dword [ecx*4 + 0x1000f730]
push eax
add edx, dword [esp + 0x58]
push edx
call edi
push eax
call ebx
mov ecx, dword [0x1000f024]
push esi
lea eax, [esp + 0x24]
push 4
mov edx, dword [ecx*4 + 0x1000f7f8]
push eax
add edx, dword [esp + 0x58]
push edx
call edi
push eax
call ebx
fild dword [esp + 0x1c]
mov eax, dword [0x100107b4]
push 1
push esi
push 0x4e0
fidiv dword [esp + 0x2c]
lea ecx, [eax + 0x1f8]
fmul qword [0x1000b468]
fstp qword [esp + 0x30]
call sub.MFC42.DLL_CWnd::GetDlgItemInt
fld qword [esp + 0x24]
mov dword [esp + 0x18], eax
push 1
call sub.MSVCRT.dll__ftol
mov ecx, dword [0x100107b4]
push eax
push 0x4e7
add ecx, 0x1f8
call sub.MFC42.DLL_CWnd::SetDlgItemInt
fild dword [esp + 0x18]
fcomp qword [esp + 0x24]
fnstsw ax
test ah, 0x41
jne 0x1000475f
push esi
push esi
push 1
push 0x10003660
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
add esp, 0x38
ret
cmp eax, 0x17
jne 0x10003fdc
mov eax, dword [0x1000f024]
mov edi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push esi
lea edx, [esp + 0x50]
mov ecx, dword [eax*4 + 0x1000f668]
push 4
push edx
push ecx
call edi
mov ebx, dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
push eax
call ebx
mov eax, dword [0x1000f024]
push esi
lea edx, [esp + 0x20]
push 4
mov ecx, dword [eax*4 + 0x1000f730]
push edx
add ecx, dword [esp + 0x58]
push ecx
call edi
push eax
call ebx
mov eax, dword [0x1000f024]
mov ebp, dword [esp + 0x4c]
push esi
lea edx, [esp + 0x24]
mov ecx, dword [eax*4 + 0x1000f7f8]
push 4
add ecx, ebp
push edx
push ecx
call edi
push eax
call ebx
fild dword [esp + 0x1c]
fidiv dword [esp + 0x20]
fmul qword [0x1000b468]
fst qword [esp + 0x24]
fcomp qword [0x1000b460]
fnstsw ax
test ah, 0x41
jne 0x1000475f
mov edx, dword [0x100107b4]
push 1
push esi
push 0x4e8
lea ecx, [edx + 0x1f8]
call sub.MFC42.DLL_CWnd::GetDlgItemInt
fld qword [esp + 0x24]
mov dword [esp + 0x18], eax
push 1
call sub.MSVCRT.dll__ftol
push eax
mov eax, dword [0x100107b4]
push 0x4e7
lea ecx, [eax + 0x1f8]
call sub.MFC42.DLL_CWnd::SetDlgItemInt
fild dword [esp + 0x18]
fcomp qword [esp + 0x24]
fnstsw ax
test ah, 0x41
jne 0x1000475f
push esi
push esi
push 2
push 0x10003660
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
add esp, 0x38
ret
cmp eax, 0x18
jne 0x100040e7
mov edx, dword [0x1000f024]
mov edi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push esi
lea ecx, [esp + 0x50]
mov eax, dword [edx*4 + 0x1000f668]
push 4
push ecx
push eax
call edi
mov ebx, dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
push eax
call ebx
mov edx, dword [0x1000f024]
push esi
lea ecx, [esp + 0x20]
push 4
mov eax, dword [edx*4 + 0x1000f8c0]
mov edx, dword [esp + 0x54]
add eax, edx
push ecx
push eax
call edi
push eax
call ebx
mov edx, dword [0x1000f024]
mov ebp, dword [esp + 0x4c]
push esi
lea ecx, [esp + 0x24]
mov eax, dword [edx*4 + 0x1000f988]
push 4
add eax, ebp
push ecx
push eax
call edi
push eax
call ebx
fild dword [esp + 0x1c]
fidiv dword [esp + 0x20]
fmul qword [0x1000b468]
fst qword [esp + 0x24]
fcomp qword [0x1000b460]
fnstsw ax
test ah, 0x41
jne 0x1000475f
mov ecx, dword [0x100107b4]
push 1
push esi
push 0x4ed
add ecx, 0x1f8
call sub.MFC42.DLL_CWnd::GetDlgItemInt
fld qword [esp + 0x24]
mov dword [esp + 0x18], eax
push 1
call sub.MSVCRT.dll__ftol
mov edx, dword [0x100107b4]
push eax
push 0x4ec
lea ecx, [edx + 0x1f8]
call sub.MFC42.DLL_CWnd::SetDlgItemInt
fild dword [esp + 0x18]
fcomp qword [esp + 0x24]
fnstsw ax
test ah, 0x41
jne 0x1000475f
push esi
push esi
push 3
push 0x10003660
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
add esp, 0x38
ret
cmp eax, 0x19
jne 0x100041ed
mov ecx, dword [0x1000f024]
mov edi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push esi
lea eax, [esp + 0x50]
mov edx, dword [ecx*4 + 0x1000f668]
push 4
push eax
push edx
call edi
mov ebx, dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
push eax
call ebx
mov ecx, dword [0x1000f024]
push esi
lea eax, [esp + 0x20]
push 4
mov edx, dword [ecx*4 + 0x1000f8c0]
push eax
add edx, dword [esp + 0x58]
push edx
call edi
push eax
call ebx
mov ecx, dword [0x1000f024]
push esi
lea eax, [esp + 0x24]
push 4
mov edx, dword [ecx*4 + 0x1000f988]
push eax
add edx, dword [esp + 0x58]
push edx
call edi
push eax
call ebx
fild dword [esp + 0x1c]
fidiv dword [esp + 0x20]
fmul qword [0x1000b468]
fst qword [esp + 0x24]
fcomp qword [0x1000b460]
fnstsw ax
test ah, 0x41
jne 0x1000475f
mov eax, dword [0x100107b4]
push 1
push esi
push 0x50f
lea ecx, [eax + 0x1f8]
call sub.MFC42.DLL_CWnd::GetDlgItemInt
fld qword [esp + 0x24]
mov dword [esp + 0x18], eax
push 1
call sub.MSVCRT.dll__ftol
mov ecx, dword [0x100107b4]
push eax
push 0x4ec
add ecx, 0x1f8
call sub.MFC42.DLL_CWnd::SetDlgItemInt
fild dword [esp + 0x18]
fcomp qword [esp + 0x24]
fnstsw ax
test ah, 0x41
jne 0x1000475f
push esi
push esi
push 4
push 0x10003660
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
add esp, 0x38
ret
cmp eax, 0x1a
jne 0x1000431b
mov eax, dword [0x1000f024]
mov edi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push esi
lea edx, [esp + 0x1c]
mov ecx, dword [eax*4 + 0x1000f668]
push 4
push edx
push ecx
call edi
mov ebx, dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
push eax
call ebx
mov eax, dword [0x1000f024]
push esi
lea edx, [esp + 0x50]
push 4
mov ecx, dword [eax*4 + 0x1000fa50]
mov eax, dword [esp + 0x20]
add ecx, eax
push edx
push ecx
call edi
push eax
call ebx
mov eax, dword [esp + 0x4c]
cmp eax, esi
je 0x1000475f
mov ecx, dword [0x1000f024]
push esi
lea edx, [esp + 0x28]
push 4
push edx
mov edx, dword [ecx*4 + 0x1000f730]
add edx, eax
push edx
call edi
push eax
call ebx
mov ecx, dword [0x1000f024]
push esi
lea eax, [esp + 0x2c]
push 4
mov edx, dword [ecx*4 + 0x1000f7f8]
push eax
add edx, dword [esp + 0x58]
push edx
call edi
push eax
call ebx
fild dword [esp + 0x24]
fidiv dword [esp + 0x28]
fmul qword [0x1000b468]
fst qword [esp + 0x10]
fcomp qword [0x1000b460]
fnstsw ax
test ah, 0x41
jne 0x1000475f
mov eax, dword [0x100107b4]
push 1
push esi
push 0x515
lea ecx, [eax + 0x288]
call sub.MFC42.DLL_CWnd::GetDlgItemInt
fld qword [esp + 0x10]
mov dword [esp + 0x1c], eax
push 1
call sub.MSVCRT.dll__ftol
mov ecx, dword [0x100107b4]
push eax
push 0x513
add ecx, 0x288
call sub.MFC42.DLL_CWnd::SetDlgItemInt
fild dword [esp + 0x1c]
fcomp qword [esp + 0x10]
fnstsw ax
test ah, 0x41
jne 0x1000475f
push esi
push esi
push esi
push 0x100037e0
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
add esp, 0x38
ret
cmp eax, 0x1b
jne 0x10004449
mov eax, dword [0x1000f024]
mov edi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push esi
lea edx, [esp + 0x20]
mov ecx, dword [eax*4 + 0x1000f668]
push 4
push edx
push ecx
call edi
mov ebx, dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
push eax
call ebx
mov eax, dword [0x1000f024]
push esi
lea edx, [esp + 0x50]
push 4
mov ecx, dword [eax*4 + 0x1000fa50]
mov eax, dword [esp + 0x24]
add ecx, eax
push edx
push ecx
call edi
push eax
call ebx
mov eax, dword [esp + 0x4c]
cmp eax, esi
je 0x1000475f
mov ecx, dword [0x1000f024]
push esi
lea edx, [esp + 0x28]
push 4
push edx
mov edx, dword [ecx*4 + 0x1000f730]
add edx, eax
push edx
call edi
push eax
call ebx
mov ecx, dword [0x1000f024]
push esi
lea eax, [esp + 0x2c]
push 4
mov edx, dword [ecx*4 + 0x1000f7f8]
push eax
add edx, dword [esp + 0x58]
push edx
call edi
push eax
call ebx
fild dword [esp + 0x24]
fidiv dword [esp + 0x28]
fmul qword [0x1000b468]
fst qword [esp + 0x10]
fcomp qword [0x1000b460]
fnstsw ax
test ah, 0x41
jne 0x1000475f
mov eax, dword [0x100107b4]
push 1
push esi
push 0x516
lea ecx, [eax + 0x288]
call sub.MFC42.DLL_CWnd::GetDlgItemInt
fld qword [esp + 0x10]
mov dword [esp + 0x18], eax
push 1
call sub.MSVCRT.dll__ftol
mov ecx, dword [0x100107b4]
push eax
push 0x513
add ecx, 0x288
call sub.MFC42.DLL_CWnd::SetDlgItemInt
fild dword [esp + 0x18]
fcomp qword [esp + 0x10]
fnstsw ax
test ah, 0x41
jne 0x1000475f
push esi
push esi
push esi
push 0x100037e0
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
add esp, 0x38
ret
cmp eax, 0x1c
jne 0x10004577
mov eax, dword [0x1000f024]
mov edi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push esi
lea edx, [esp + 0x20]
mov ecx, dword [eax*4 + 0x1000f668]
push 4
push edx
push ecx
call edi
mov ebx, dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
push eax
call ebx
mov eax, dword [0x1000f024]
push esi
lea edx, [esp + 0x50]
push 4
mov ecx, dword [eax*4 + 0x1000fa50]
mov eax, dword [esp + 0x24]
add ecx, eax
push edx
push ecx
call edi
push eax
call ebx
mov eax, dword [esp + 0x4c]
cmp eax, esi
je 0x1000475f
mov ecx, dword [0x1000f024]
push esi
lea edx, [esp + 0x28]
push 4
push edx
mov edx, dword [ecx*4 + 0x1000f730]
add edx, eax
push edx
call edi
push eax
call ebx
mov ecx, dword [0x1000f024]
push esi
lea eax, [esp + 0x2c]
push 4
mov edx, dword [ecx*4 + 0x1000f7f8]
push eax
add edx, dword [esp + 0x58]
push edx
call edi
push eax
call ebx
fild dword [esp + 0x24]
fidiv dword [esp + 0x28]
fmul qword [0x1000b468]
fst qword [esp + 0x10]
fcomp qword [0x1000b460]
fnstsw ax
test ah, 0x41
jne 0x1000475f
mov eax, dword [0x100107b4]
push 1
push esi
push 0x517
lea ecx, [eax + 0x288]
call sub.MFC42.DLL_CWnd::GetDlgItemInt
fld qword [esp + 0x10]
mov dword [esp + 0x18], eax
push 1
call sub.MSVCRT.dll__ftol
mov ecx, dword [0x100107b4]
push eax
push 0x513
add ecx, 0x288
call sub.MFC42.DLL_CWnd::SetDlgItemInt
fild dword [esp + 0x18]
fcomp qword [esp + 0x10]
fnstsw ax
test ah, 0x41
jne 0x1000475f
push esi
push esi
push esi
push 0x100037e0
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
add esp, 0x38
ret
cmp eax, 0x1d
jne 0x100045bb
push esi
push esi
xor edx, edx
push esi
push esi
lea eax, [esp + 0x34]
mov dword [esp + 0x38], edx
push 0x51
push eax
mov dword [esp + 0x3c], esi
mov dword [esp + 0x44], edx
call fcn.10001b30
lea ecx, [esp + 0x3c]
push esi
push ecx
call fcn.100015d0
add esp, 0x20
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
add esp, 0x38
ret
cmp eax, 0xc8
jne 0x100046e5
push str.nSet200
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov edx, dword [0x100107b4]
push esi
push esi
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [edx + 0x190]
push 0x400
push eax
call esi
mov ecx, dword [0x100107b4]
mov dword [esp + 0x24], eax
push 0
push 0
mov edx, dword [ecx + 0x150]
push 0x400
push edx
call esi
mov dword [esp + 0x28], eax
mov eax, dword [0x100107b4]
push 0
push 0
mov ecx, dword [eax + 0x110]
push 0x400
push ecx
call esi
mov edx, dword [esp + 0x24]
mov dword [esp + 0x2c], eax
mov eax, dword [0x100107b4]
push 1
push edx
push 0x501
lea ecx, [eax + 0x60]
call sub.MFC42.DLL_CWnd::SetDlgItemInt
mov ecx, dword [esp + 0x28]
mov edx, dword [0x100107b4]
push 1
push ecx
push 0x502
lea ecx, [edx + 0x60]
call sub.MFC42.DLL_CWnd::SetDlgItemInt
mov eax, dword [esp + 0x2c]
mov ecx, dword [0x100107b4]
push 1
push eax
push 0x500
add ecx, 0x60
call sub.MFC42.DLL_CWnd::SetDlgItemInt
mov eax, dword [0x1000f024]
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push 0
lea edx, [esp + 0x28]
mov ecx, dword [eax*4 + 0x1000ffc8]
push 4
push edx
push ecx
call esi
mov edi, dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
push eax
call edi
mov eax, dword [0x1000f024]
push 0
lea edx, [esp + 0x2c]
push 4
mov ecx, dword [eax*4 + 0x10010090]
push edx
push ecx
call esi
push eax
call edi
mov eax, dword [0x1000f024]
push 0
lea edx, [esp + 0x30]
push 4
mov ecx, dword [eax*4 + 0x10010158]
push edx
push ecx
call esi
push eax
call edi
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
add esp, 0x38
ret
cmp eax, 0x2710
jne 0x1000475f
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_1
mov ecx, dword [0x100107b4]
lea edx, [esp + 0x10]
push edx
push 0x4dc
mov dword [esp + 0x4c], 5
call sub.MFC42.DLL_CWnd::GetDlgItemTextA
push esi
push esi
xor eax, eax
push esi
push esi
lea ecx, [esp + 0x40]
mov dword [esp + 0x44], eax
push 0xbd6
push ecx
mov dword [esp + 0x48], esi
mov dword [esp + 0x50], eax
call fcn.10001b30
add esp, 0x18
lea ecx, [esp + 0x10]
push esi
call sub.MFC42.DLL_CString::GetBuffer
lea edx, [esp + 0x30]
push eax
push edx
call fcn.100015d0
add esp, 8
mov dword [esp + 0x44], 0xffffffff
lea ecx, [esp + 0x10]
call fcn.10008ae4
mov ecx, dword [esp + 0x3c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x38
ret