Function at 0x40bd70
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x41c41d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2a4
push ebx
push ebp
push esi
push edi
push 0x42684c
mov esi, ecx
push 0x403
call sub.MFC42.DLL_CWnd::GetDlgItem
mov ecx, eax
call sub.MFC42.DLL_CWnd::SetWindowTextA
push 0x42684c
push 0x404
mov ecx, esi
call sub.MFC42.DLL_CWnd::GetDlgItem
mov ecx, eax
call sub.MFC42.DLL_CWnd::SetWindowTextA
push 0x42684c
push 0x406
mov ecx, esi
call sub.MFC42.DLL_CWnd::GetDlgItem
mov ecx, eax
call sub.MFC42.DLL_CWnd::SetWindowTextA
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x10]
mov dword [esp + 0x2bc], 0
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x20]
mov byte [esp + 0x2bc], 1
call sub.MFC42.DLL_CString::CString_2
mov bl, 2
lea ecx, [esp + 0x18]
mov byte [esp + 0x2bc], bl
call sub.MFC42.DLL_CString::Empty
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::Empty
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CString::Empty
push 0x3f8
mov ecx, esi
call sub.MFC42.DLL_CWnd::GetDlgItem
mov eax, dword [eax + 0x20]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0
push 0x147
push eax
call ebp
push 0x3f9
mov ecx, esi
mov edi, eax
call sub.MFC42.DLL_CWnd::GetDlgItem
mov ecx, dword [eax + 0x20]
push 0
push 0
push 0x147
push ecx
call ebp
cmp edi, 0xffffffff
mov ebp, eax
jne 0x40be78
cmp ebp, edi
je 0x40c07f
jmp 0x40be91
lea edx, [esp + 0x18]
mov ecx, esi
push edx
push edi
push 0x3f8
call sub.MFC42.DLL_CWnd::GetDlgItem
mov ecx, eax
call sub.MFC42.DLL_CComboBox::GetLBText
push 0x4252f8
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::Find_1
cmp eax, 0xffffffff
je 0x40bee6
add eax, 4
lea ecx, [esp + 0x18]
push eax
lea eax, [esp + 0x20]
push eax
call sub.MFC42.DLL_CString::Mid_1
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x2c0], 3
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0x1c]
mov byte [esp + 0x2bc], bl
call sub.MFC42.DLL_CString::CString
push 0x4250dc
lea ecx, [esp + 0x1c]
call fcn.0041b3f4
push 0x20
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::Remove
cmp ebp, 0xffffffff
je 0x40bf0f
lea ecx, [esp + 0x10]
push ecx
push ebp
push 0x3f9
mov ecx, esi
call sub.MFC42.DLL_CWnd::GetDlgItem
mov ecx, eax
call sub.MFC42.DLL_CComboBox::GetLBText
push 0x4252f8
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::Find_1
cmp eax, 0xffffffff
je 0x40bf64
add eax, 4
lea edx, [esp + 0x1c]
push eax
push edx
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Mid_1
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x2c0], 4
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0x1c]
mov byte [esp + 0x2bc], bl
call sub.MFC42.DLL_CString::CString
push 0x4250dc
lea ecx, [esp + 0x14]
call fcn.0041b3f4
push 0x20
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::Remove
lea eax, [esp + 0x10]
lea ecx, [esp + 0x14]
push eax
push 0x4252f4
push ecx
call sub.MFC42.DLL_operator
lea edx, [esp + 0x18]
mov byte [esp + 0x2bc], 5
push edx
push eax
lea eax, [esp + 0x2c]
push eax
call sub.MFC42.DLL_operator_2
push str._:_skuId__:___._____price__:___._______stock__:_s___.___
lea ecx, [esp + 0x20]
push eax
push ecx
mov byte [esp + 0x2c8], 6
call sub.MFC42.DLL_operator_1
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x2c0], 7
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0x1c]
mov byte [esp + 0x2bc], 6
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x24]
mov byte [esp + 0x2bc], 5
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x2bc], bl
call sub.MFC42.DLL_CString::CString
lea edx, [esp + 0x18]
lea eax, [esp + 0x1c]
push edx
push 0x4252f4
push eax
call sub.MFC42.DLL_operator
lea ecx, [esp + 0x10]
lea edx, [esp + 0x24]
push ecx
push eax
push edx
mov byte [esp + 0x2c8], 8
call sub.MFC42.DLL_operator_2
push str._:_skuId__:___._____price__:___._______stock__:_s___.___
push eax
lea eax, [esp + 0x1c]
mov byte [esp + 0x2c4], 9
push eax
call sub.MFC42.DLL_operator_1
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x2c0], 0xa
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0x14]
mov byte [esp + 0x2bc], 9
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x24]
mov byte [esp + 0x2bc], 8
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1c]
mov byte [esp + 0x2bc], bl
call sub.MFC42.DLL_CString::CString
mov edi, dword [esp + 0x18]
lea ecx, [esp + 0x5c]
call fcn.004021d0
push edi
lea ecx, [esp + 0x2c]
mov byte [esp + 0x2c0], 0xb
call fcn.004021a0
mov eax, dword [eax + 8]
push 0
push eax
push edi
lea ecx, [esp + 0x68]
mov byte [esp + 0x2c8], 0xc
call fcn.00402350
mov ebx, 0x41e484
mov dword [esp + 0x28], ebx
mov ecx, dword [0x426824]
push 0
push 0xffffffffffffffff
lea edx, [esp + 0x3c]
push ecx
push edx
lea ecx, [esp + 0x6c]
mov byte [esp + 0x2cc], 0xd
call fcn.00401ec0
mov ecx, dword [esp + 0x3c]
mov byte [esp + 0x2bc], 0xe
test ecx, ecx
jle 0x40c270
mov edi, dword [esp + 0x38]
cmp dword [edi], 0
je 0x40c270
cmp ecx, 7
jg 0x40c10b
or eax, 0xffffffff
jmp 0x40c10e
mov eax, dword [edi + 0x1c]
cmp ecx, 6
jg 0x40c118
or edx, 0xffffffff
jmp 0x40c11b
mov edx, dword [edi + 0x18]
cmp ecx, 6
jg 0x40c125
or ecx, 0xffffffff
jmp 0x40c128
mov ecx, dword [edi + 0x18]
sub eax, edx
push eax
lea eax, [esp + 0x18]
push ecx
push eax
mov ecx, 0x426824
call sub.MFC42.DLL_CString::Mid
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x2c0], 0xf
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0x14]
mov byte [esp + 0x2bc], 0xe
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x10]
push ecx
push 0x403
mov ecx, esi
call sub.MFC42.DLL_CWnd::GetDlgItem
mov ecx, eax
call sub.MFC42.DLL_CWnd::SetWindowTextA
mov ecx, dword [esp + 0x3c]
mov edi, dword [esp + 0x38]
cmp ecx, 9
jg 0x40c188
or eax, 0xffffffff
jmp 0x40c18b
mov eax, dword [edi + 0x24]
cmp ecx, 8
jg 0x40c195
or edx, 0xffffffff
jmp 0x40c198
mov edx, dword [edi + 0x20]
cmp ecx, 8
jg 0x40c1a2
or ecx, 0xffffffff
jmp 0x40c1a5
mov ecx, dword [edi + 0x20]
sub eax, edx
lea edx, [esp + 0x14]
push eax
push ecx
push edx
mov ecx, 0x426824
call sub.MFC42.DLL_CString::Mid
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x2c0], 0x10
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0x14]
mov byte [esp + 0x2bc], 0xe
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x10]
mov ecx, esi
push eax
push 0x404
call sub.MFC42.DLL_CWnd::GetDlgItem
mov ecx, eax
call sub.MFC42.DLL_CWnd::SetWindowTextA
mov ecx, dword [esp + 0x3c]
mov edi, dword [esp + 0x38]
cmp ecx, 5
jg 0x40c205
or eax, 0xffffffff
jmp 0x40c208
mov eax, dword [edi + 0x14]
cmp ecx, 4
jg 0x40c212
or edx, 0xffffffff
jmp 0x40c215
mov edx, dword [edi + 0x10]
cmp ecx, 4
jg 0x40c21f
or ecx, 0xffffffff
jmp 0x40c222
mov ecx, dword [edi + 0x10]
sub eax, edx
push eax
push ecx
lea ecx, [esp + 0x1c]
push ecx
mov ecx, 0x426824
call sub.MFC42.DLL_CString::Mid
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x2c0], 0x11
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0x14]
mov byte [esp + 0x2bc], 0xe
call sub.MFC42.DLL_CString::CString
mov edx, dword [esp + 0x10]
mov ecx, esi
push edx
push 0x406
call sub.MFC42.DLL_CWnd::GetDlgItem
mov ecx, eax
call sub.MFC42.DLL_CWnd::SetWindowTextA
mov edi, dword [esp + 0x20]
lea ecx, [esp + 0x188]
call fcn.004021d0
xor eax, eax
mov dword [esp + 0x28], ebx
test edi, edi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], eax
je 0x40c2a4
cmp byte [edi], 0
je 0x40c2a4
mov cl, byte [eax + edi + 1]
inc eax
test cl, cl
jne 0x40c297
mov dword [esp + 0x30], eax
push 0
push eax
push edi
lea ecx, [esp + 0x194]
mov byte [esp + 0x2c8], 0x13
call fcn.00402350
mov eax, dword [0x426824]
push 0
push 0xffffffffffffffff
lea ecx, [esp + 0x50]
push eax
push ecx
lea ecx, [esp + 0x198]
mov byte [esp + 0x2cc], 0x14
call fcn.00401ec0
mov ecx, dword [esp + 0x50]
mov bl, 0x15
test ecx, ecx
mov byte [esp + 0x2bc], bl
jle 0x40c46d
mov edi, dword [esp + 0x4c]
cmp dword [edi], 0
je 0x40c46d
cmp ecx, 7
jg 0x40c30b
or eax, 0xffffffff
jmp 0x40c30e
mov eax, dword [edi + 0x1c]
cmp ecx, 6
jg 0x40c318
or edx, 0xffffffff
jmp 0x40c31b
mov edx, dword [edi + 0x18]
cmp ecx, 6
jg 0x40c325
or ecx, 0xffffffff
jmp 0x40c328
mov ecx, dword [edi + 0x18]
sub eax, edx
lea edx, [esp + 0x14]
push eax
push ecx
push edx
mov ecx, 0x426824
call sub.MFC42.DLL_CString::Mid
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x2c0], 0x16
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0x14]
mov byte [esp + 0x2bc], bl
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x10]
mov ecx, esi
push eax
push 0x403
call sub.MFC42.DLL_CWnd::GetDlgItem
mov ecx, eax
call sub.MFC42.DLL_CWnd::SetWindowTextA
mov ecx, dword [esp + 0x50]
mov edi, dword [esp + 0x4c]
cmp ecx, 9
jg 0x40c387
or eax, 0xffffffff
jmp 0x40c38a
mov eax, dword [edi + 0x24]
cmp ecx, 8
jg 0x40c394
or edx, 0xffffffff
jmp 0x40c397
mov edx, dword [edi + 0x20]
cmp ecx, 8
jg 0x40c3a1
or ecx, 0xffffffff
jmp 0x40c3a4
mov ecx, dword [edi + 0x20]
sub eax, edx
push eax
push ecx
lea ecx, [esp + 0x1c]
push ecx
mov ecx, 0x426824
call sub.MFC42.DLL_CString::Mid
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x2c0], 0x17
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0x14]
mov byte [esp + 0x2bc], bl
call sub.MFC42.DLL_CString::CString
mov edx, dword [esp + 0x10]
mov ecx, esi
push edx
push 0x404
call sub.MFC42.DLL_CWnd::GetDlgItem
mov ecx, eax
call sub.MFC42.DLL_CWnd::SetWindowTextA
mov ecx, dword [esp + 0x50]
mov edi, dword [esp + 0x4c]
cmp ecx, 5
jg 0x40c403
or eax, 0xffffffff
jmp 0x40c406
mov eax, dword [edi + 0x14]
cmp ecx, 4
jg 0x40c410
or edx, 0xffffffff
jmp 0x40c413
mov edx, dword [edi + 0x10]
cmp ecx, 4
jg 0x40c41d
or ecx, 0xffffffff
jmp 0x40c420
mov ecx, dword [edi + 0x10]
sub eax, edx
push eax
lea eax, [esp + 0x18]
push ecx
push eax
mov ecx, 0x426824
call sub.MFC42.DLL_CString::Mid
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x2c0], 0x18
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0x14]
mov byte [esp + 0x2bc], bl
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x10]
push ecx
push 0x406
mov ecx, esi
call sub.MFC42.DLL_CWnd::GetDlgItem
mov ecx, eax
call sub.MFC42.DLL_CWnd::SetWindowTextA
mov eax, dword [esp + 0x54]
mov ebp, 0x41e47c
test eax, eax
mov dword [esp + 0x48], ebp
je 0x40c488
push eax
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
mov dword [esp + 0x48], 0x41e478
mov eax, dword [esp + 0x1a4]
xor esi, esi
test eax, eax
mov byte [esp + 0x2bc], 0x1f
jle 0x40c4c6
mov edx, dword [esp + 0x1a8]
mov ecx, dword [edx + esi*4]
test ecx, ecx
je 0x40c4ba
mov eax, dword [ecx]
push 1
call dword [eax + 8]
mov eax, dword [esp + 0x1a4]
inc esi
cmp esi, eax
jl 0x40c4a5
xor esi, esi
mov ecx, 0x11
xor eax, eax
lea edi, [esp + 0x270]
mov dword [esp + 0x1a4], esi
mov dword [esp + 0x188], esi
mov dword [esp + 0x190], esi
mov ebx, 0x41e4ac
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x20c]
mov dword [esp + 0x214], 0x41e484
cmp eax, esi
mov dword [esp + 0x200], ebx
je 0x40c519
push eax
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
lea ecx, [esp + 0x1ec]
mov dword [esp + 0x200], 0x41e4a8
mov byte [esp + 0x2bc], 0x1c
call fcn.00401d20
lea ecx, [esp + 0x1d8]
mov byte [esp + 0x2bc], 0x1b
call fcn.00401cc0
lea ecx, [esp + 0x1c4]
mov byte [esp + 0x2bc], 0x1a
call fcn.00401cf0
lea ecx, [esp + 0x1b0]
mov byte [esp + 0x2bc], 0x19
call fcn.00401c90
lea ecx, [esp + 0x19c]
mov byte [esp + 0x2bc], 0xe
call fcn.00401c90
mov eax, dword [esp + 0x40]
mov dword [esp + 0x34], ebp
cmp eax, esi
je 0x40c59e
push eax
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
mov dword [esp + 0x34], 0x41e478
mov eax, dword [esp + 0x78]
xor ebp, ebp
xor esi, esi
cmp eax, ebp
mov byte [esp + 0x2bc], 0x26
jle 0x40c5d5
mov ecx, dword [esp + 0x7c]
mov ecx, dword [ecx + esi*4]
cmp ecx, ebp
je 0x40c5cc
mov edx, dword [ecx]
push 1
call dword [edx + 8]
mov eax, dword [esp + 0x78]
inc esi
cmp esi, eax
jl 0x40c5ba
mov ecx, 0x11
xor eax, eax
lea edi, [esp + 0x144]
mov dword [esp + 0x78], ebp
mov dword [esp + 0x5c], ebp
mov dword [esp + 0x64], ebp
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0xe0]
mov dword [esp + 0xe8], 0x41e484
cmp eax, ebp
mov dword [esp + 0xd4], ebx
je 0x40c61c
mov ebx, dword [sym.imp.MSVCRT.dll_free]
push eax
call ebx
add esp, 4
jmp 0x40c622
mov ebx, dword [sym.imp.MSVCRT.dll_free]
mov eax, dword [esp + 0xcc]
mov dword [esp + 0xd4], 0x41e4a8
cmp eax, ebp
mov dword [esp + 0xc0], 0x41e4a4
je 0x40c649
push eax
call ebx
add esp, 4
mov eax, dword [esp + 0xb8]
mov dword [esp + 0xc0], 0x41e4a0
cmp eax, ebp
mov dword [esp + 0xac], 0x41e49c
je 0x40c670
push eax
call ebx
add esp, 4
mov eax, dword [esp + 0xa4]
mov dword [esp + 0xac], 0x41e498
cmp eax, ebp
mov dword [esp + 0x98], 0x41e494
je 0x40c697
push eax
call ebx
add esp, 4
mov eax, dword [esp + 0x90]
mov edi, 0x41e48c
cmp eax, ebp
mov dword [esp + 0x98], 0x41e490
mov dword [esp + 0x84], edi
je 0x40c6bf
push eax
call ebx
add esp, 4
mov eax, dword [esp + 0x7c]
mov esi, 0x41e488
cmp eax, ebp
mov dword [esp + 0x84], esi
mov dword [esp + 0x70], edi
je 0x40c6dd
push eax
call ebx
add esp, 4
lea ecx, [esp + 0x20]
mov dword [esp + 0x70], esi
mov byte [esp + 0x2bc], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov byte [esp + 0x2bc], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov dword [esp + 0x2bc], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x2b4]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x2b0
ret