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

Disassembly:
sub esp, 0x9f8
push ebx
push ebp
mov ebp, ecx
push esi
push edi
mov dword [esp + 0x1c], 0x581aec
lea edi, [ebp + 0x40]
mov dword [esp + 0x20], str.Bid_
push edi
mov dword [esp + 0x28], 0x581adc
mov dword [esp + 0x2c], str.Ask_
mov dword [esp + 0x30], 0x581acc
mov dword [esp + 0x34], 0x581ac4
mov dword [esp + 0x38], 0x581abc
mov dword [esp + 0x3c], 0x581ab4
mov dword [esp + 0x40], 0x581aac
mov dword [esp + 0x44], 0x581aa4
mov dword [esp + 0x48], 0x581a9c
mov dword [esp + 0x4c], 0x581a94
mov dword [esp + 0x50], 0x581a8c
mov dword [esp + 0x1c], edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [ebp + 0x20]
push 0
push 0
push 0x1009
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [ebp + 0x9938]
xor esi, esi
test eax, eax
mov dword [esp + 0x10], esi
jle 0x40e4ae
lea ebx, [ebp + 0x2e8]
lea ecx, [esp + 0x278]
push ecx
mov ecx, dword [0x5a1a04]
push ebx
call fcn.0051b610
test eax, eax
je 0x40e491
mov edx, dword [ebx + 0x234]
mov ecx, dword [ebp + 0x20]
dec edx
lea eax, [esp + 0x50]
neg edx
sbb edx, edx
push eax
push 0
and edx, 6
push 0x1007
push ecx
mov dword [esp + 0x64], esi
mov dword [esp + 0x60], 3
mov dword [esp + 0x68], 0
mov dword [esp + 0x74], ebx
mov dword [esp + 0x7c], edx
call dword [sym.imp.USER32.dll_SendMessageA]
mov edx, dword [ebx + 0x20]
test edx, edx
jl 0x40e39c
cmp edx, 4
jg 0x40e39c
mov edi, dword [esp + edx*4 + 0x1c]
or ecx, 0xffffffff
xor eax, eax
lea esi, [esp + 0x78]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov dword [esp + 0x14], esi
mov eax, ecx
mov esi, edi
mov edi, dword [esp + 0x14]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
cmp edx, 4
rep movsb byte es:[edi], byte [esi]
jge 0x40e343
mov ecx, dword [esp + 0x2e0]
mov edx, dword [ebx + 0x14]
mov eax, dword [ebx + 0x10]
push ecx
push edx
push eax
lea ecx, [esp + 0x184]
push 0x100
push ecx
call fcn.00429bd0
jmp 0x40e363
mov edx, dword [ebx + 0x1c]
mov eax, dword [ebx + 0x18]
push edx
push eax
push str._02d:_02d
lea ecx, [esp + 0x184]
push 0xff
push ecx
call dword [sym.imp.MSVCRT.dll__snprintf]
lea edi, [esp + 0x18c]
or ecx, 0xffffffff
xor eax, eax
add esp, 0x14
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x78]
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0x10]
jmp 0x40e3a1
mov byte [esp + 0x78], 0
lea eax, [esp + 0x78]
mov ecx, ebp
push eax
push 1
push esi
call sub.MFC42.DLL_CListCtrl::SetItemText
mov ecx, dword [ebx + 0x248]
mov edi, dword [sym.imp.MSVCRT.dll__snprintf]
push ecx
push 0x581330
lea edx, [esp + 0x80]
push 0xff
push edx
call edi
add esp, 0x10
lea eax, [esp + 0x78]
mov ecx, ebp
push eax
push 2
push esi
call sub.MFC42.DLL_CListCtrl::SetItemText
mov ecx, dword [ebx + 0x244]
lea edx, [esp + 0x78]
push ecx
push 0x581330
push 0xff
push edx
call edi
add esp, 0x10
lea eax, [esp + 0x78]
mov ecx, ebp
push eax
push 3
push esi
call sub.MFC42.DLL_CListCtrl::SetItemText
mov eax, dword [ebx + 0x24]
test eax, eax
jl 0x40e444
cmp eax, 7
jg 0x40e444
mov edi, dword [esp + eax*4 + 0x30]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x78]
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 esi, dword [esp + 0x10]
jmp 0x40e449
mov byte [esp + 0x78], 0
lea ecx, [esp + 0x78]
push ecx
push 4
push esi
mov ecx, ebp
call sub.MFC42.DLL_CListCtrl::SetItemText
lea eax, [ebx + 0x2c]
push 0xd
push eax
call dword [sym.imp.MSVCRT.dll_strchr]
mov edi, eax
add esp, 8
test edi, edi
je 0x40e483
lea eax, [ebx + 0x2c]
mov ecx, ebp
push eax
push 5
push esi
mov byte [edi], 0
call sub.MFC42.DLL_CListCtrl::SetItemText
mov byte [edi], 0xd
jmp 0x40e491
lea eax, [ebx + 0x2c]
mov ecx, ebp
push eax
push 5
push esi
call sub.MFC42.DLL_CListCtrl::SetItemText
mov eax, dword [ebp + 0x9938]
inc esi
add ebx, 0x250
cmp esi, eax
mov dword [esp + 0x10], esi
jl 0x40e27f
mov edi, dword [esp + 0x18]
mov eax, dword [ebp + 0x98]
test eax, eax
jl 0x40e511
call dword [sym.imp.USER32.dll_GetFocus]
push eax
call sub.MFC42.DLL_CWnd::FromHandle
cmp eax, ebp
jne 0x40e511
mov edx, dword [ebp + 0x98]
push 2
push 2
push edx
mov ecx, ebp
call sub.MFC42.DLL_CListCtrl::SetItemState
test eax, eax
jne 0x40e4f9
mov ebx, dword [ebp + 0x98]
push 2
dec ebx
push 2
mov eax, ebx
mov ecx, ebp
push eax
mov dword [ebp + 0x98], ebx
call sub.MFC42.DLL_CListCtrl::SetItemState
mov eax, dword [ebp + 0x98]
mov ecx, dword [ebp + 0x20]
push 0
push eax
push 0x1013
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x9f8
ret