Function at 0x100029e0
Capabilities:
Create thread
Print debug messages

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x10006608
push eax
mov eax, dword [esp + 0x10]
mov dword fs:[0], esp
sub esp, 0x24
push ebx
push ebp
xor ebp, ebp
push esi
cmp eax, ebp
push edi
jne 0x10002a82
mov eax, dword [0x1000a94c]
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push ebp
lea ecx, [esp + 0x48]
mov eax, dword [eax + 0x60]
push 1
push ecx
mov dword [0x1000a024], eax
mov edx, dword [eax*4 + 0x1000a3e8]
mov byte [esp + 0x50], 0xeb
push edx
call esi
mov edi, dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
push eax
call edi
mov ecx, dword [0x1000a024]
push ebp
lea eax, [esp + 0x48]
push 1
mov edx, dword [ecx*4 + 0x1000a488]
push eax
push edx
call esi
push eax
call edi
mov ecx, dword [0x1000a024]
push ebp
lea eax, [esp + 0x48]
push 1
mov edx, dword [ecx*4 + 0x1000a438]
push eax
push edx
call esi
push eax
call edi
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 0x10002a9f
call fcn.100016b0
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 0x10002abc
call fcn.10001860
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 0x10002ad9
call fcn.10001be0
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 0x10002b24
lea ecx, [esp + 0x44]
call sub.MFC42.DLL_CString::CString_1
mov ecx, dword [0x1000a94c]
lea eax, [esp + 0x44]
push eax
push 0x4eb
mov dword [esp + 0x44], ebp
call sub.MFC42.DLL_CWnd::GetDlgItemTextA
push ebp
lea ecx, [esp + 0x48]
call sub.MFC42.DLL_CString::GetBuffer
push eax
call fcn.10001e70
add esp, 4
mov dword [esp + 0x3c], 0xffffffff
lea ecx, [esp + 0x44]
jmp 0x100035f6
cmp eax, 5
jne 0x10002b9c
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 [0x1000a94c]
push 0x4e6
call sub.MFC42.DLL_CWnd::GetDlgItemTextA
push ebp
push ebp
xor edx, edx
push ebp
push ebp
lea eax, [esp + 0x2c]
mov dword [esp + 0x30], edx
push 0x418
push eax
mov dword [esp + 0x34], ebp
mov dword [esp + 0x3c], edx
call fcn.10001bb0
add esp, 0x18
lea ecx, [esp + 0x44]
push ebp
call sub.MFC42.DLL_CString::GetBuffer
lea ecx, [esp + 0x1c]
push eax
push ecx
call fcn.10001550
add esp, 8
mov dword [esp + 0x3c], 0xffffffff
lea ecx, [esp + 0x44]
jmp 0x100035f6
cmp eax, 0x33
jne 0x10002c14
lea ecx, [esp + 0x44]
call sub.MFC42.DLL_CString::CString_1
mov ecx, dword [0x1000a94c]
lea edx, [esp + 0x44]
push edx
push 0x4ec
mov dword [esp + 0x44], 2
call sub.MFC42.DLL_CWnd::GetDlgItemTextA
push ebp
push ebp
xor eax, eax
push ebp
push ebp
lea ecx, [esp + 0x2c]
mov dword [esp + 0x30], eax
push 0x418
push ecx
mov dword [esp + 0x34], ebp
mov dword [esp + 0x3c], eax
call fcn.10001bb0
add esp, 0x18
lea ecx, [esp + 0x44]
push ebp
call sub.MFC42.DLL_CString::GetBuffer
lea edx, [esp + 0x1c]
push eax
push edx
call fcn.10001550
add esp, 8
mov dword [esp + 0x3c], 0xffffffff
lea ecx, [esp + 0x44]
jmp 0x100035f6
cmp eax, 6
jne 0x10002c36
push 0x1a
call fcn.10001c60
add esp, 4
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 0x10002c53
call fcn.100019c0
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 0x10002c70
call fcn.10001cb0
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
add esp, 0x30
ret
cmp eax, 9
jne 0x10002c8d
call fcn.10001b00
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 0x10002d6d
mov ecx, dword [0x1000a024]
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push ebp
lea eax, [esp + 0x48]
mov edx, dword [ecx*4 + 0x1000a078]
push 4
push eax
push edx
call esi
mov edi, dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
push eax
call edi
mov ecx, dword [esp + 0x44]
push ebp
lea eax, [esp + 0x20]
push 4
add ecx, 0x4f
push eax
push ecx
call esi
push eax
call edi
mov eax, dword [esp + 0x44]
push ebp
lea edx, [esp + 0x24]
push 4
add eax, 0x57
push edx
push eax
call esi
push eax
call edi
fild dword [esp + 0x1c]
fidiv dword [esp + 0x20]
fmul qword [0x100073d0]
fst qword [esp + 0x14]
fcomp qword [0x100073c8]
fnstsw ax
test ah, 0x41
jne 0x100035fb
mov ecx, dword [0x1000a94c]
push 1
push ebp
push 0x4de
call sub.MFC42.DLL_CWnd::GetDlgItemInt
fld qword [esp + 0x14]
mov dword [esp + 0x10], eax
push 1
call sub.MSVCRT.dll__ftol
mov ecx, dword [0x1000a94c]
push eax
push 0x4e7
call sub.MFC42.DLL_CWnd::SetDlgItemInt
fild dword [esp + 0x10]
fcomp qword [esp + 0x14]
fnstsw ax
test ah, 0x41
jne 0x100035fb
push 6
call fcn.100027d0
add esp, 4
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 0x10002e4d
mov edx, dword [0x1000a024]
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push ebp
lea ecx, [esp + 0x48]
mov eax, dword [edx*4 + 0x1000a078]
push 4
push ecx
push eax
call esi
mov edi, dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
push eax
call edi
mov edx, dword [esp + 0x44]
push ebp
lea ecx, [esp + 0x20]
push 4
add edx, 0x4f
push ecx
push edx
call esi
push eax
call edi
mov ecx, dword [esp + 0x44]
push ebp
lea eax, [esp + 0x24]
push 4
add ecx, 0x57
push eax
push ecx
call esi
push eax
call edi
fild dword [esp + 0x1c]
fidiv dword [esp + 0x20]
fmul qword [0x100073d0]
fst qword [esp + 0x14]
fcomp qword [0x100073c8]
fnstsw ax
test ah, 0x41
jne 0x100035fb
mov ecx, dword [0x1000a94c]
push 1
push ebp
push 0x4e0
call sub.MFC42.DLL_CWnd::GetDlgItemInt
fld qword [esp + 0x14]
mov dword [esp + 0x10], eax
push 1
call sub.MSVCRT.dll__ftol
mov ecx, dword [0x1000a94c]
push eax
push 0x4e7
call sub.MFC42.DLL_CWnd::SetDlgItemInt
fild dword [esp + 0x10]
fcomp qword [esp + 0x14]
fnstsw ax
test ah, 0x41
jne 0x100035fb
push 5
call fcn.100027d0
add esp, 4
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 0x10002f2c
mov eax, dword [0x1000a024]
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push ebp
lea edx, [esp + 0x48]
mov ecx, dword [eax*4 + 0x1000a078]
push 4
push edx
push ecx
call esi
mov edi, dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
push eax
call edi
mov eax, dword [esp + 0x44]
push ebp
lea edx, [esp + 0x20]
push 4
add eax, 0x4f
push edx
push eax
call esi
push eax
call edi
mov edx, dword [esp + 0x44]
push ebp
lea ecx, [esp + 0x24]
push 4
add edx, 0x57
push ecx
push edx
call esi
push eax
call edi
fild dword [esp + 0x1c]
fidiv dword [esp + 0x20]
fmul qword [0x100073d0]
fst qword [esp + 0x14]
fcomp qword [0x100073c8]
fnstsw ax
test ah, 0x41
jne 0x100035fb
mov ecx, dword [0x1000a94c]
push 1
push ebp
push 0x4e8
call sub.MFC42.DLL_CWnd::GetDlgItemInt
fld qword [esp + 0x14]
mov dword [esp + 0x10], eax
push 1
call sub.MSVCRT.dll__ftol
mov ecx, dword [0x1000a94c]
push eax
push 0x4e7
call sub.MFC42.DLL_CWnd::SetDlgItemInt
fild dword [esp + 0x10]
fcomp qword [esp + 0x14]
fnstsw ax
test ah, 0x41
jne 0x100035fb
push 4
call fcn.100027d0
add esp, 4
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 0x1000300c
mov ecx, dword [0x1000a024]
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push ebp
lea eax, [esp + 0x48]
mov edx, dword [ecx*4 + 0x1000a078]
push 4
push eax
push edx
call esi
mov edi, dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
push eax
call edi
mov ecx, dword [esp + 0x44]
push ebp
lea eax, [esp + 0x20]
push 4
add ecx, 0x4f
push eax
push ecx
call esi
push eax
call edi
mov eax, dword [esp + 0x44]
push ebp
lea edx, [esp + 0x24]
push 4
add eax, 0x57
push edx
push eax
call esi
push eax
call edi
fild dword [esp + 0x1c]
fidiv dword [esp + 0x20]
fmul qword [0x100073d0]
fst qword [esp + 0x14]
fcomp qword [0x100073c8]
fnstsw ax
test ah, 0x41
jne 0x100035fb
mov ecx, dword [0x1000a94c]
push 1
push ebp
push 0x4ee
call sub.MFC42.DLL_CWnd::GetDlgItemInt
fld qword [esp + 0x14]
mov dword [esp + 0x10], eax
push 1
call sub.MSVCRT.dll__ftol
mov ecx, dword [0x1000a94c]
push eax
push 0x4e7
call sub.MFC42.DLL_CWnd::SetDlgItemInt
fild dword [esp + 0x10]
fcomp qword [esp + 0x14]
fnstsw ax
test ah, 0x41
jne 0x100035fb
push 3
call fcn.100027d0
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
add esp, 0x30
ret
cmp eax, 0x19
jne 0x100030ec
mov edx, dword [0x1000a024]
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push ebp
lea ecx, [esp + 0x48]
mov eax, dword [edx*4 + 0x1000a078]
push 4
push ecx
push eax
call esi
mov edi, dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
push eax
call edi
mov edx, dword [esp + 0x44]
push ebp
lea ecx, [esp + 0x20]
push 4
add edx, 0x4f
push ecx
push edx
call esi
push eax
call edi
mov ecx, dword [esp + 0x44]
push ebp
lea eax, [esp + 0x24]
push 4
add ecx, 0x57
push eax
push ecx
call esi
push eax
call edi
fild dword [esp + 0x1c]
fidiv dword [esp + 0x20]
fmul qword [0x100073d0]
fst qword [esp + 0x14]
fcomp qword [0x100073c8]
fnstsw ax
test ah, 0x41
jne 0x100035fb
mov ecx, dword [0x1000a94c]
push 1
push ebp
push 0x4f2
call sub.MFC42.DLL_CWnd::GetDlgItemInt
fld qword [esp + 0x14]
mov dword [esp + 0x10], eax
push 1
call sub.MSVCRT.dll__ftol
mov ecx, dword [0x1000a94c]
push eax
push 0x4e7
call sub.MFC42.DLL_CWnd::SetDlgItemInt
fild dword [esp + 0x10]
fcomp qword [esp + 0x14]
fnstsw ax
test ah, 0x41
jne 0x100035fb
push 2
call fcn.100027d0
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
add esp, 0x30
ret
cmp eax, 0x1a
jne 0x100031cb
mov eax, dword [0x1000a024]
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push ebp
lea edx, [esp + 0x48]
mov ecx, dword [eax*4 + 0x1000a078]
push 4
push edx
push ecx
call esi
mov edi, dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
push eax
call edi
mov eax, dword [esp + 0x44]
push ebp
lea edx, [esp + 0x20]
push 4
add eax, 0x4f
push edx
push eax
call esi
push eax
call edi
mov edx, dword [esp + 0x44]
push ebp
lea ecx, [esp + 0x24]
push 4
add edx, 0x57
push ecx
push edx
call esi
push eax
call edi
fild dword [esp + 0x1c]
fidiv dword [esp + 0x20]
fmul qword [0x100073d0]
fst qword [esp + 0x14]
fcomp qword [0x100073c8]
fnstsw ax
test ah, 0x41
jne 0x100035fb
mov ecx, dword [0x1000a94c]
push 1
push ebp
push 0x4f5
call sub.MFC42.DLL_CWnd::GetDlgItemInt
fld qword [esp + 0x14]
mov dword [esp + 0x10], eax
push 1
call sub.MSVCRT.dll__ftol
mov ecx, dword [0x1000a94c]
push eax
push 0x4e7
call sub.MFC42.DLL_CWnd::SetDlgItemInt
fild dword [esp + 0x10]
fcomp qword [esp + 0x14]
fnstsw ax
test ah, 0x41
jne 0x100035fb
push 1
call fcn.100027d0
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
add esp, 0x30
ret
cmp eax, 0x1b
jne 0x1000320f
push ebp
push ebp
xor eax, eax
push ebp
push ebp
lea ecx, [esp + 0x2c]
mov dword [esp + 0x30], eax
push 0x51
push ecx
mov dword [esp + 0x34], ebp
mov dword [esp + 0x3c], eax
call fcn.10001bb0
lea edx, [esp + 0x34]
push ebp
push edx
call fcn.10001550
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, 0x28
jne 0x1000335f
lea ecx, [esp + 0x44]
mov dword [0x1000bce4], ebp
call sub.MFC42.DLL_CString::CString_1
mov ecx, dword [0x1000a94c]
lea eax, [esp + 0x44]
push eax
push 0x522
mov dword [esp + 0x44], 3
call sub.MFC42.DLL_CWnd::GetDlgItemTextA
push 0x1000a60c
lea ecx, [esp + 0x48]
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_1
mov ecx, dword [esp + 0x44]
mov byte [esp + 0x3c], 4
cmp dword [ecx - 8], ebp
je 0x1000331b
mov ebx, dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push 0x1000a60c
lea ecx, [esp + 0x48]
call sub.MFC42.DLL_CString::Find
lea edx, [esp + 0x14]
push eax
push edx
lea ecx, [esp + 0x4c]
call sub.MFC42.DLL_CString::Left
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x40], 5
call fcn.10005134
lea ecx, [esp + 0x14]
mov byte [esp + 0x3c], 4
call fcn.100050d4
push 0x1000a60c
lea ecx, [esp + 0x48]
call sub.MFC42.DLL_CString::Find
add eax, 2
lea ecx, [esp + 0x44]
push eax
push ebp
call sub.MFC42.DLL_CString::Delete
mov edi, dword [esp + 0x10]
cmp dword [edi - 8], ebp
je 0x1000330e
mov eax, dword [0x1000bce4]
lea ecx, [eax + eax*4]
inc eax
mov dword [0x1000bce4], eax
xor eax, eax
lea ecx, [ecx + ecx*4]
lea edx, [ecx*2 + 0x1000a95c]
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 + 0x44]
cmp dword [edx - 8], ebp
jne 0x10003273
mov eax, dword [0x1000a94c]
cmp dword [eax + 0x164], ebp
jne 0x10003330
cmp dword [eax + 0x16c], ebp
je 0x10003340
push ebp
push ebp
push ebp
push 0x10002700
push ebp
push ebp
call dword [sym.imp.KERNEL32.dll_CreateThread]
lea ecx, [esp + 0x10]
mov byte [esp + 0x3c], 3
call fcn.100050d4
mov dword [esp + 0x3c], 0xffffffff
lea ecx, [esp + 0x44]
jmp 0x100035f6
cmp eax, 0xc8
jne 0x10003426
mov ecx, dword [0x1000a94c]
push 0x4f1
call sub.MFC42.DLL_CWnd::GetDlgItem
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 0x1000004
mov dword [esp + 0x44], ebx
mov eax, dword [eax + 0x20]
push ebp
push ebp
push 0xf0
push eax
call esi
cmp eax, ebp
je 0x100033a2
mov dword [esp + 0x44], 4
mov edx, dword [0x1000a024]
mov edi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push ebp
lea ecx, [esp + 0x48]
mov eax, dword [edx*4 + 0x1000a258]
push 4
push ecx
push eax
call edi
mov ebp, dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
push eax
call ebp
mov ecx, dword [0x1000a94c]
push 0x520
call sub.MFC42.DLL_CWnd::GetDlgItem
mov dword [esp + 0x44], ebx
mov ecx, dword [eax + 0x20]
push 0
push 0
push 0xf0
push ecx
call esi
test eax, eax
je 0x100033f8
mov dword [esp + 0x44], 4
mov eax, dword [0x1000a024]
push 0
lea edx, [esp + 0x48]
push 4
mov ecx, dword [eax*4 + 0x1000a2a8]
push edx
push ecx
call edi
push eax
call ebp
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
add esp, 0x30
ret
cmp eax, 0xc9
jne 0x10003581
mov edx, dword [0x1000a94c]
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
push ebp
push ebp
mov eax, dword [edx + 0x144]
push 0x400
push eax
call esi
mov edx, dword [0x1000a94c]
mov ecx, 0x47e
sub ecx, eax
push ebp
mov dword [esp + 0x20], ecx
mov eax, dword [edx + 0x104]
push ebp
push 0x400
push eax
call esi
mov edx, dword [0x1000a94c]
mov ecx, 0x2bc
sub ecx, eax
push ebp
mov dword [esp + 0x24], ecx
mov eax, dword [edx + 0xc4]
push ebp
push 0x400
push eax
call esi
mov edx, dword [0x1000a94c]
mov ecx, 0x5d
sub ecx, eax
push ebp
mov dword [esp + 0x28], ecx
mov eax, dword [edx + 0x144]
push ebp
push 0x400
push eax
call esi
mov ecx, dword [0x1000a94c]
push 1
push eax
push 0x513
call sub.MFC42.DLL_CWnd::SetDlgItemInt
mov ecx, dword [0x1000a94c]
push ebp
push ebp
push 0x400
mov edx, dword [ecx + 0x104]
push edx
call esi
mov ecx, dword [0x1000a94c]
push 1
push eax
push 0x515
call sub.MFC42.DLL_CWnd::SetDlgItemInt
mov eax, dword [0x1000a94c]
push ebp
push ebp
push 0x400
mov ecx, dword [eax + 0xc4]
push ecx
call esi
mov ecx, dword [0x1000a94c]
push 1
push eax
push 0x511
call sub.MFC42.DLL_CWnd::SetDlgItemInt
mov eax, dword [0x1000a024]
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push ebp
lea edx, [esp + 0x20]
mov ecx, dword [eax*4 + 0x1000a2f8]
push 4
push edx
push ecx
call esi
mov edi, dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
push eax
call edi
push ebp
push 4
mov eax, dword [0x1000a024]
lea edx, [esp + 0x28]
push edx
mov ecx, dword [eax*4 + 0x1000a348]
push ecx
call esi
push eax
call edi
mov eax, dword [0x1000a024]
push ebp
lea edx, [esp + 0x28]
push 4
mov ecx, dword [eax*4 + 0x1000a398]
push edx
push ecx
call esi
push eax
call edi
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
add esp, 0x30
ret
cmp eax, 0x2710
jne 0x100035fb
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString_1
mov ecx, dword [0x1000a94c]
lea edx, [esp + 0x14]
push edx
push 0x4dc
mov dword [esp + 0x44], 6
call sub.MFC42.DLL_CWnd::GetDlgItemTextA
push ebp
push ebp
xor eax, eax
push ebp
push ebp
lea ecx, [esp + 0x38]
mov dword [esp + 0x3c], eax
push 0xbd6
push ecx
mov dword [esp + 0x40], ebp
mov dword [esp + 0x48], eax
call fcn.10001bb0
add esp, 0x18
lea ecx, [esp + 0x14]
push ebp
call sub.MFC42.DLL_CString::GetBuffer
lea edx, [esp + 0x28]
push eax
push edx
call fcn.10001550
add esp, 8
mov dword [esp + 0x3c], 0xffffffff
lea ecx, [esp + 0x14]
call fcn.100050d4
mov ecx, dword [esp + 0x34]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x30
ret