Function at 0x100029a0
Capabilities:
Create thread
Print debug messages

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x10006be0
push eax
mov eax, dword [esp + 0x10]
mov dword fs:[0], esp
sub esp, 0x3c
push ebx
push ebp
xor ebp, ebp
push esi
cmp eax, ebp
push edi
jne 0x10002b02
mov ecx, dword [0x1000a024]
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push ebp
lea eax, [esp + 0x60]
push 4
push eax
push ecx
call esi
mov edi, dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
push eax
call edi
mov eax, dword [esp + 0x5c]
cmp eax, ebp
jne 0x10002a0f
mov ecx, dword [0x1000a31c]
push 1
push 0xffffffffffffffff
push 0x4e7
call sub.MFC42.DLL_CWnd::SetDlgItemInt
push 1
push 0xffffffffffffffff
jmp 0x10002adf
push ebp
lea edx, [esp + 0x24]
push 4
add eax, 0x4f
push edx
push eax
call esi
push eax
call edi
mov ecx, dword [esp + 0x5c]
push ebp
lea eax, [esp + 0x28]
push 4
add ecx, 0x57
push eax
push ecx
call esi
push eax
call edi
mov eax, dword [esp + 0x5c]
push ebp
lea edx, [esp + 0x18]
push 4
add eax, 0x53
push edx
push eax
call esi
push eax
call edi
mov edx, dword [esp + 0x5c]
push ebp
lea ecx, [esp + 0x1c]
push 4
add edx, 0x5b
push ecx
push edx
call esi
push eax
call edi
fild dword [esp + 0x20]
fidiv dword [esp + 0x24]
fmul qword [0x100073b0]
fcom qword [0x100073a8]
fnstsw ax
test ah, 0x41
jne 0x10002a87
fcom qword [0x100073b0]
fnstsw ax
test ah, 0x41
jne 0x10002a8f
fstp st(0)
fld qword [0x100073a0]
push 1
call sub.MSVCRT.dll__ftol
mov ecx, dword [0x1000a31c]
push eax
push 0x4e7
call sub.MFC42.DLL_CWnd::SetDlgItemInt
fild dword [esp + 0x14]
fidiv dword [esp + 0x18]
fmul qword [0x100073b0]
fcom qword [0x100073a8]
fnstsw ax
test ah, 0x41
jne 0x10002acf
fcom qword [0x100073b0]
fnstsw ax
test ah, 0x41
jne 0x10002ad7
fstp st(0)
fld qword [0x100073a0]
push 1
call sub.MSVCRT.dll__ftol
push eax
mov ecx, dword [0x1000a31c]
push 0x4fa
call sub.MFC42.DLL_CWnd::SetDlgItemInt
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
add esp, 0x48
ret
cmp eax, 1
jne 0x10002c60
lea ecx, [esp + 0x5c]
call sub.MFC42.DLL_CString::CString_1
mov ecx, dword [0x1000a31c]
lea eax, [esp + 0x5c]
push eax
push 0x4eb
mov dword [esp + 0x5c], ebp
call sub.MFC42.DLL_CWnd::GetDlgItemTextA
mov ecx, dword [0x1000a02c]
xor edx, edx
mov dword [esp + 0x39], edx
mov edi, dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov dword [esp + 0x3d], edx
lea ebx, [ecx - 0x3de]
mov dword [esp + 0x41], edx
mov dword [esp + 0x20], ebp
mov dword [esp + 0x45], edx
mov dword [esp + 0x14], ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov word [esp + 0x49], dx
mov byte [esp + 0x10], 0
mov byte [esp + 0x38], 0
mov byte [esp + 0x4b], dl
lea esi, [ebx + 0x3f]
xor eax, eax
lea ecx, [esp + 0x10]
mov dword [esp + 0x38], eax
lea edx, [esi - 0x40]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
push eax
push 1
push ecx
push edx
mov dword [esp + 0x58], eax
call ebp
push eax
call edi
mov eax, dword [esp + 0x10]
push 0
and eax, 0xff
lea ecx, [esp + 0x3c]
push eax
push ecx
push ebx
call ebp
push eax
call edi
push 0
lea edx, [esp + 0x24]
push 4
push edx
push esi
call ebp
push eax
call edi
mov al, byte [esp + 0x10]
test al, al
je 0x10002be1
mov ecx, dword [esp + 0x5c]
lea eax, [esp + 0x38]
push eax
push ecx
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
je 0x10002c01
mov eax, dword [esp + 0x14]
add ebx, 0xa5
add esi, 0xa5
inc eax
cmp eax, 0x2e
mov dword [esp + 0x14], eax
jl 0x10002b75
jmp 0x10002c3c
mov eax, dword [esp + 0x20]
xor edx, edx
mov dword [esp + 0x18], edx
lea ecx, [esp + 0x14]
push edx
push edx
push edx
push eax
push 0x3ee
push ecx
mov dword [esp + 0x2c], 0
mov dword [esp + 0x34], edx
call fcn.10001a20
lea edx, [esp + 0x50]
lea eax, [esp + 0x2c]
push edx
push eax
call fcn.10001590
add esp, 0x20
lea ecx, [esp + 0x5c]
mov dword [esp + 0x54], 0xffffffff
call fcn.100056b4
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
add esp, 0x48
ret
cmp eax, 2
jne 0x10002cef
lea ecx, [esp + 0x5c]
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esp + 0x5c]
mov dword [esp + 0x54], 1
push ecx
mov ecx, dword [0x1000a31c]
push 0x4e6
call sub.MFC42.DLL_CWnd::GetDlgItemTextA
push ebp
push ebp
xor edx, edx
push ebp
push ebp
lea eax, [esp + 0x30]
mov dword [esp + 0x34], edx
push 0x418
push eax
mov dword [esp + 0x38], ebp
mov dword [esp + 0x40], edx
call fcn.10001a20
add esp, 0x18
lea ecx, [esp + 0x5c]
push ebp
call sub.MFC42.DLL_CString::GetBuffer
lea ecx, [esp + 0x20]
push eax
push ecx
call fcn.10001590
add esp, 8
lea ecx, [esp + 0x5c]
mov dword [esp + 0x54], 0xffffffff
call fcn.100056b4
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
add esp, 0x48
ret
cmp eax, 3
jne 0x10002d7e
lea ecx, [esp + 0x5c]
call sub.MFC42.DLL_CString::CString_1
mov ecx, dword [0x1000a31c]
lea edx, [esp + 0x5c]
push edx
push 0x4ec
mov dword [esp + 0x5c], 2
call sub.MFC42.DLL_CWnd::GetDlgItemTextA
push ebp
push ebp
xor eax, eax
push ebp
push ebp
lea ecx, [esp + 0x30]
mov dword [esp + 0x34], eax
push 0x418
push ecx
mov dword [esp + 0x38], ebp
mov dword [esp + 0x40], eax
call fcn.10001a20
add esp, 0x18
lea ecx, [esp + 0x5c]
push ebp
call sub.MFC42.DLL_CString::GetBuffer
lea edx, [esp + 0x20]
push eax
push edx
call fcn.10001590
add esp, 8
lea ecx, [esp + 0x5c]
mov dword [esp + 0x54], 0xffffffff
call fcn.100056b4
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
add esp, 0x48
ret
cmp eax, 4
jne 0x10002d9b
call fcn.100016e0
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
add esp, 0x48
ret
cmp eax, 5
jne 0x10002de1
mov eax, dword [0x1000a024]
mov eax, dword [eax]
cmp eax, ebp
je 0x10003659
mov ecx, dword [eax + 0x1fc]
add eax, 0x1fc
cmp ecx, 0xd
jbe 0x10003659
cmp ecx, 0x11
je 0x10003659
pop edi
mov dword [eax], ebp
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
add esp, 0x48
ret
cmp eax, 6
jne 0x10002e1f
mov ecx, dword [0x1000a024]
mov eax, dword [ecx]
cmp eax, ebp
je 0x10003659
mov ecx, dword [eax + 0x1fc]
add eax, 0x1fc
cmp ecx, 0x11
jne 0x10003659
pop edi
mov dword [eax], ebp
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
add esp, 0x48
ret
cmp eax, 7
jne 0x10002e3c
call fcn.10001840
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
add esp, 0x48
ret
cmp eax, 0x15
jne 0x10002e96
mov ecx, dword [0x1000a31c]
push 1
push ebp
push 0x4de
call sub.MFC42.DLL_CWnd::GetDlgItemInt
mov ecx, dword [0x1000a31c]
push 1
push ebp
push 0x4e7
mov esi, eax
call sub.MFC42.DLL_CWnd::GetDlgItemInt
cmp eax, ebp
jle 0x10003659
cmp eax, esi
jge 0x10003659
push 6
call fcn.10002100
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
add esp, 0x48
ret
cmp eax, 0x16
jne 0x10002ef0
mov ecx, dword [0x1000a31c]
push 1
push ebp
push 0x4e0
call sub.MFC42.DLL_CWnd::GetDlgItemInt
mov ecx, dword [0x1000a31c]
push 1
push ebp
push 0x4e7
mov esi, eax
call sub.MFC42.DLL_CWnd::GetDlgItemInt
cmp eax, ebp
jle 0x10003659
cmp eax, esi
jge 0x10003659
push 5
call fcn.10002100
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
add esp, 0x48
ret
cmp eax, 0x17
jne 0x10002f4a
mov ecx, dword [0x1000a31c]
push 1
push ebp
push 0x4e8
call sub.MFC42.DLL_CWnd::GetDlgItemInt
mov ecx, dword [0x1000a31c]
push 1
push ebp
push 0x4e7
mov esi, eax
call sub.MFC42.DLL_CWnd::GetDlgItemInt
cmp eax, ebp
jle 0x10003659
cmp eax, esi
jge 0x10003659
push 4
call fcn.10002100
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
add esp, 0x48
ret
cmp eax, 0x18
jne 0x10002fa4
mov ecx, dword [0x1000a31c]
push 1
push ebp
push 0x4ee
call sub.MFC42.DLL_CWnd::GetDlgItemInt
mov ecx, dword [0x1000a31c]
push 1
push ebp
push 0x4e7
mov esi, eax
call sub.MFC42.DLL_CWnd::GetDlgItemInt
cmp eax, ebp
jle 0x10003659
cmp eax, esi
jge 0x10003659
push 3
call fcn.10002100
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
add esp, 0x48
ret
cmp eax, 0x19
jne 0x10002ffe
mov ecx, dword [0x1000a31c]
push 1
push ebp
push 0x4f2
call sub.MFC42.DLL_CWnd::GetDlgItemInt
mov ecx, dword [0x1000a31c]
push 1
push ebp
push 0x4e7
mov esi, eax
call sub.MFC42.DLL_CWnd::GetDlgItemInt
cmp eax, ebp
jle 0x10003659
cmp eax, esi
jge 0x10003659
push 2
call fcn.10002100
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
add esp, 0x48
ret
cmp eax, 0x1a
jne 0x10003058
mov ecx, dword [0x1000a31c]
push 1
push ebp
push 0x4f5
call sub.MFC42.DLL_CWnd::GetDlgItemInt
mov ecx, dword [0x1000a31c]
push 1
push ebp
push 0x4e7
mov esi, eax
call sub.MFC42.DLL_CWnd::GetDlgItemInt
cmp eax, ebp
jle 0x10003659
cmp eax, esi
jge 0x10003659
push 1
call fcn.10002100
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
add esp, 0x48
ret
cmp eax, 0x1f
jne 0x100030b8
mov ecx, dword [0x1000a31c]
push 1
push ebp
push 0x4df
call sub.MFC42.DLL_CWnd::GetDlgItemInt
mov ecx, dword [0x1000a31c]
push 1
push ebp
push 0x4e7
mov esi, eax
call sub.MFC42.DLL_CWnd::GetDlgItemInt
cmp eax, ebp
jle 0x10003659
cmp eax, esi
jge 0x10003659
push ebp
push ebp
push ebp
push 0x10002300
push ebp
push ebp
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
add esp, 0x48
ret
cmp eax, 0x20
jne 0x10003119
mov ecx, dword [0x1000a31c]
push 1
push ebp
push 0x4e4
call sub.MFC42.DLL_CWnd::GetDlgItemInt
mov ecx, dword [0x1000a31c]
push 1
push ebp
push 0x4e7
mov esi, eax
call sub.MFC42.DLL_CWnd::GetDlgItemInt
cmp eax, ebp
jle 0x10003659
cmp eax, esi
jge 0x10003659
push ebp
push ebp
push 1
push 0x10002300
push ebp
push ebp
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
add esp, 0x48
ret
cmp eax, 0x21
jne 0x1000317a
mov ecx, dword [0x1000a31c]
push 1
push ebp
push 0x4ef
call sub.MFC42.DLL_CWnd::GetDlgItemInt
mov ecx, dword [0x1000a31c]
push 1
push ebp
push 0x4e7
mov esi, eax
call sub.MFC42.DLL_CWnd::GetDlgItemInt
cmp eax, ebp
jle 0x10003659
cmp eax, esi
jge 0x10003659
push ebp
push ebp
push 2
push 0x10002300
push ebp
push ebp
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
add esp, 0x48
ret
cmp eax, 0x22
jne 0x100031db
mov ecx, dword [0x1000a31c]
push 1
push ebp
push 0x4f3
call sub.MFC42.DLL_CWnd::GetDlgItemInt
mov ecx, dword [0x1000a31c]
push 1
push ebp
push 0x4e7
mov esi, eax
call sub.MFC42.DLL_CWnd::GetDlgItemInt
cmp eax, ebp
jle 0x10003659
cmp eax, esi
jge 0x10003659
push ebp
push ebp
push 3
push 0x10002300
push ebp
push ebp
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
add esp, 0x48
ret
cmp eax, 0x23
jne 0x1000323c
mov ecx, dword [0x1000a31c]
push 1
push ebp
push 0x4f8
call sub.MFC42.DLL_CWnd::GetDlgItemInt
mov ecx, dword [0x1000a31c]
push 1
push ebp
push 0x4e7
mov esi, eax
call sub.MFC42.DLL_CWnd::GetDlgItemInt
cmp eax, ebp
jle 0x10003659
cmp eax, esi
jge 0x10003659
push ebp
push ebp
push 4
push 0x10002300
push ebp
push ebp
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
add esp, 0x48
ret
cmp eax, 0x1b
jne 0x10003276
mov edx, dword [0x1000a31c]
cmp dword [edx + 0x124], ebp
je 0x10003659
push ebp
push ebp
push ebp
push 0x10002490
push ebp
push ebp
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
add esp, 0x48
ret
cmp eax, 0x25
jne 0x100032af
mov eax, dword [0x1000a31c]
cmp dword [eax + 0x128], ebp
je 0x10003659
push ebp
push ebp
push ebp
push 0x10002790
push ebp
push ebp
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
add esp, 0x48
ret
cmp eax, 0x27
jne 0x1000330e
mov ecx, dword [0x1000a31c]
push 1
push ebp
push 0x4e7
call sub.MFC42.DLL_CWnd::GetDlgItemInt
test eax, eax
jle 0x10003659
push ebp
push ebp
xor ecx, ecx
push ebp
push ebp
lea edx, [esp + 0x30]
mov dword [esp + 0x34], ecx
push 0x51
push edx
mov dword [esp + 0x38], ebp
mov dword [esp + 0x40], ecx
call fcn.10001a20
lea eax, [esp + 0x38]
push ebp
push eax
call fcn.10001590
add esp, 0x20
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
add esp, 0x48
ret
cmp eax, 0x28
jne 0x10003469
lea ecx, [esp + 0x5c]
mov dword [0x1000b6ac], ebp
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esp + 0x5c]
mov dword [esp + 0x54], 3
push ecx
mov ecx, dword [0x1000a31c]
push 0x522
call sub.MFC42.DLL_CWnd::GetDlgItemTextA
push 0x1000a14c
lea ecx, [esp + 0x60]
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_1
mov edx, dword [esp + 0x5c]
mov byte [esp + 0x54], 4
cmp dword [edx - 8], ebp
je 0x1000341a
mov ebx, dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push 0x1000a14c
lea ecx, [esp + 0x60]
call sub.MFC42.DLL_CString::Find
push eax
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x64]
call sub.MFC42.DLL_CString::Left
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x58], 5
call fcn.10005714
lea ecx, [esp + 0x20]
mov byte [esp + 0x54], 4
call fcn.100056b4
push 0x1000a14c
lea ecx, [esp + 0x60]
call sub.MFC42.DLL_CString::Find
add eax, 2
lea ecx, [esp + 0x5c]
push eax
push ebp
call sub.MFC42.DLL_CString::Delete
mov edi, dword [esp + 0x10]
cmp dword [edi - 8], ebp
je 0x1000340d
mov eax, dword [0x1000b6ac]
lea ecx, [eax + eax*4]
inc eax
mov dword [0x1000b6ac], eax
xor eax, eax
lea ecx, [ecx + ecx*4]
lea edx, [ecx*2 + 0x1000a324]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x10]
push ecx
call ebx
mov edx, dword [esp + 0x5c]
cmp dword [edx - 8], ebp
jne 0x10003372
mov eax, dword [0x1000a31c]
cmp dword [eax + 0x120], ebp
je 0x10003437
push ebp
push ebp
push ebp
push 0x10002030
push ebp
push ebp
call dword [sym.imp.KERNEL32.dll_CreateThread]
lea ecx, [esp + 0x10]
mov byte [esp + 0x54], 3
call fcn.100056b4
lea ecx, [esp + 0x5c]
mov dword [esp + 0x54], 0xffffffff
call fcn.100056b4
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
add esp, 0x48
ret
cmp eax, 0xc8
jne 0x10003524
mov ecx, dword [0x1000a31c]
push 0x53c
call sub.MFC42.DLL_CWnd::GetDlgItem
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebp, 0x1000004
mov dword [esp + 0x5c], ebp
mov ecx, dword [eax + 0x20]
push 0
push 0
push 0xf0
push ecx
call esi
test eax, eax
je 0x100034ae
mov dword [esp + 0x5c], 4
mov eax, dword [0x1000a03c]
mov edi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push 0
lea edx, [esp + 0x60]
push 4
push edx
push eax
call edi
mov ebx, dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
push eax
call ebx
mov ecx, dword [0x1000a31c]
push 0x53d
call sub.MFC42.DLL_CWnd::GetDlgItem
mov dword [esp + 0x5c], ebp
mov ecx, dword [eax + 0x20]
push 0
push 0
push 0xf0
push ecx
call esi
test eax, eax
je 0x100034fd
mov dword [esp + 0x5c], 4
mov eax, dword [0x1000a040]
push 0
lea edx, [esp + 0x60]
push 4
push edx
push eax
call edi
push eax
call ebx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
add esp, 0x48
ret
cmp eax, 0xc9
jne 0x10003659
mov ecx, dword [0x1000a31c]
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
push ebp
push ebp
mov edx, dword [ecx + 0x80]
push 0x400
push edx
call esi
mov edx, dword [0x1000a31c]
mov ecx, 0x47e
sub ecx, eax
push ebp
mov dword [esp + 0x30], ecx
mov eax, dword [edx + 0xc0]
push ebp
push 0x400
push eax
call esi
mov edx, dword [0x1000a31c]
mov ecx, 0x2bc
sub ecx, eax
push ebp
mov dword [esp + 0x34], ecx
mov eax, dword [edx + 0x100]
push ebp
push 0x400
push eax
call esi
mov edx, dword [0x1000a31c]
mov ecx, 0x5d
sub ecx, eax
push ebp
mov dword [esp + 0x38], ecx
mov eax, dword [edx + 0x80]
push ebp
push 0x400
push eax
call esi
mov ecx, dword [0x1000a31c]
push 1
push eax
push 0x513
call sub.MFC42.DLL_CWnd::SetDlgItemInt
mov ecx, dword [0x1000a31c]
push ebp
push ebp
push 0x400
mov edx, dword [ecx + 0xc0]
push edx
call esi
mov ecx, dword [0x1000a31c]
push 1
push eax
push 0x515
call sub.MFC42.DLL_CWnd::SetDlgItemInt
mov eax, dword [0x1000a31c]
push ebp
push ebp
push 0x400
mov ecx, dword [eax + 0x100]
push ecx
call esi
mov ecx, dword [0x1000a31c]
push 1
push eax
push 0x511
call sub.MFC42.DLL_CWnd::SetDlgItemInt
mov eax, dword [0x1000a044]
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push ebp
lea edx, [esp + 0x30]
push 4
push edx
push eax
call esi
mov edi, dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
push eax
call edi
push ebp
push 4
lea ecx, [esp + 0x38]
mov edx, dword [0x1000a048]
push ecx
push edx
call esi
push eax
call edi
mov ecx, dword [0x1000a04c]
push ebp
lea eax, [esp + 0x38]
push 4
push eax
push ecx
call esi
push eax
call edi
mov ecx, dword [esp + 0x4c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x48
ret