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

Disassembly:
push 0xffffffffffffffff
push 0x5aca5a
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x528
push ebx
push ebp
push esi
push edi
mov esi, ecx
mov eax, dword [esi + 0x100c]
xor edi, edi
push edi
push edi
push 0x1009
push eax
mov dword [esp + 0x550], edi
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [esp + 0x548]
push 0x645010
push ecx
call fcn.00568a52
add esp, 8
test eax, eax
je 0x41e488
mov eax, dword [0x63b4a0]
mov dword [esp + 0x14], eax
mov dword [esp + 0x24], eax
mov ecx, dword [0x651cc0]
mov dword [esp + 0x20], edi
cmp ecx, edi
jne 0x41d20e
mov cl, byte [esi + 0xa5]
test cl, cl
jne 0x41e466
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x10], eax
lea ecx, [esp + 0xd8]
mov byte [esp + 0x540], 7
call fcn.0055b385
lea ecx, [esp + 0xc8]
mov byte [esp + 0x540], 8
call fcn.0055b385
mov edx, dword [0x64a740]
lea ecx, [esp + 0x318]
push edx
mov byte [esp + 0x544], 9
call fcn.00557aba
mov eax, dword [esp + 0x548]
lea ecx, [esp + 0x14]
push eax
push str.select__from_YEWU_where_ContactName_s
push ecx
mov byte [esp + 0x54c], 0xa
call fcn.00588507
mov edx, dword [esp + 0x20]
add esp, 0xc
lea ecx, [esp + 0x318]
push edi
push edx
push edi
call fcn.00557dcf
cmp dword [esp + 0x3e0], edi
jne 0x41d165
lea ebx, [esi + 0xff0]
lea eax, [esp + 0xd8]
push 0
push eax
push 0x61a918
lea ecx, [esp + 0x324]
call fcn.005587de
mov ecx, dword [esp + 0xe0]
lea edx, [esp + 0x2c]
push ecx
push 0x61842c
push edx
call fcn.00588507
mov eax, dword [esp + 0x38]
add esp, 0xc
mov ecx, ebx
push 0
push 0
push 0
push 0
push eax
push 0
push 1
call fcn.00589d9e
mov edi, 1
mov ebp, eax
mov dword [esp + 0x18], edi
mov eax, edi
mov cl, byte [eax + 0x64fca0]
test cl, cl
je 0x41cfb7
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x30]
push ecx
push str.Info_d
push edx
call fcn.00588507
mov ecx, dword [esp + 0x3c]
add esp, 0xc
lea eax, [esp + 0x34]
push eax
push ecx
lea ecx, [esp + 0x320]
call fcn.0055891c
mov edx, dword [esp + 0x34]
push 0
push 0
push 0
push 0
mov eax, edi
push edx
push 1
push eax
push ebp
mov ecx, ebx
inc edi
call fcn.00589e20
mov eax, dword [esp + 0x18]
inc eax
cmp eax, 0x10
mov dword [esp + 0x18], eax
jl 0x41cf61
lea eax, [esp + 0xc8]
push 0
push eax
push 0x61a90c
lea ecx, [esp + 0x324]
call fcn.005587de
lea ecx, [esp + 0x10]
push ecx
push str.USERID
lea ecx, [esp + 0x320]
call fcn.0055891c
mov dword [esp + 0x18], 0x10
mov eax, dword [esp + 0x18]
mov cl, byte [eax + 0x64fca0]
test cl, cl
je 0x41d054
mov edx, dword [esp + 0x18]
lea eax, [esp + 0x30]
push edx
push str.Info_d
push eax
call fcn.00588507
mov edx, dword [esp + 0x3c]
add esp, 0xc
lea ecx, [esp + 0x34]
push ecx
push edx
lea ecx, [esp + 0x320]
call fcn.0055891c
mov ecx, dword [esp + 0x34]
push 0
push 0
push 0
push 0
mov eax, edi
push ecx
push 1
push eax
push ebp
mov ecx, ebx
inc edi
call fcn.00589e20
mov eax, dword [esp + 0x18]
inc eax
cmp eax, 0x1f
mov dword [esp + 0x18], eax
jl 0x41cffe
mov eax, dword [esp + 0xd0]
xor edx, edx
xor ecx, ecx
mov dx, word [eax + 0xa]
mov cx, word [eax + 8]
push edx
xor edx, edx
mov dx, word [eax + 6]
push ecx
push edx
xor ecx, ecx
mov cx, word [eax + 4]
xor edx, edx
mov dx, word [eax + 2]
push ecx
movsx eax, word [eax]
push edx
push eax
lea ecx, [esp + 0x5c]
push str._d__02d__02d__02d:_02d:_02d
push ecx
call fcn.00588507
mov edx, dword [esp + 0x64]
add esp, 0x20
mov eax, edi
mov ecx, ebx
push 0
push 0
push 0
push 0
push edx
push 1
push eax
push ebp
inc edi
call fcn.00589e20
push ecx
lea eax, [esp + 0x14]
mov ecx, esp
mov dword [esp + 0x60], esp
push eax
call fcn.0058dcb4
call fcn.0041cd10
add esp, 4
test al, al
je 0x41d113
mov ecx, dword [esp + 0x10]
push ecx
call fcn.00568b8c
add esp, 4
dec eax
js 0x41d113
mov edx, dword [esp + 0x10]
push edx
call fcn.00568b8c
add esp, 4
dec eax
cmp eax, 1
jge 0x41d113
mov eax, dword [esp + 0x10]
push eax
call fcn.00568b8c
lea ecx, [eax + eax*4]
add esp, 4
lea edx, [ecx*4 + 0x64fc44]
push edx
jmp 0x41d118
mov eax, dword [esp + 0x10]
push eax
push edi
push ebp
mov ecx, ebx
call fcn.00589e99
mov ecx, dword [esp + 0x20]
mov eax, ecx
inc ecx
push eax
push 0
push 0
push 0
push 0
push 4
mov dword [esp + 0x38], ecx
push 0
push ebp
mov ecx, ebx
call fcn.00589e20
mov edx, dword [esp + 0x318]
push 1
push 1
lea ecx, [esp + 0x320]
call dword [edx + 0x14]
mov eax, dword [esp + 0x3e0]
test eax, eax
je 0x41cf07
lea ecx, [esp + 0x318]
call fcn.00557ea3
lea ecx, [esp + 0x318]
mov byte [esp + 0x540], 9
call fcn.00557cc6
lea ecx, [esp + 0xc8]
mov byte [esp + 0x540], 8
call fcn.0055b3f5
lea ecx, [esp + 0xd8]
mov byte [esp + 0x540], 7
call fcn.0055b3f5
lea ecx, [esp + 0x10]
mov byte [esp + 0x540], 6
call fcn.0058df3f
lea ecx, [esp + 0x44]
mov byte [esp + 0x540], 5
call fcn.0058df3f
lea ecx, [esp + 0x34]
mov byte [esp + 0x540], 4
call fcn.0058df3f
lea ecx, [esp + 0x30]
mov byte [esp + 0x540], 3
call fcn.0058df3f
lea ecx, [esp + 0x2c]
mov byte [esp + 0x540], 2
call fcn.0058df3f
mov byte [esi + 0xa5], 1
jmp 0x41e466
mov dword [esp + 0x50], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x48], eax
lea ecx, [esp + 0xb8]
mov byte [esp + 0x540], 0x11
call fcn.0055b385
lea ecx, [esp + 0xa8]
mov byte [esp + 0x540], 0x12
call fcn.0055b385
lea ecx, [esp + 0x70]
mov byte [esp + 0x540], 0x13
call fcn.0055b385
lea ecx, [esp + 0x60]
mov byte [esp + 0x540], 0x14
call fcn.0055b385
lea ecx, [esp + 0x98]
mov byte [esp + 0x540], 0x15
call fcn.0055b385
mov eax, dword [0x651cc0]
lea ecx, [esp + 0x208]
push eax
mov byte [esp + 0x544], 0x16
call fcn.00557aba
mov al, byte [esi + 0xa5]
mov byte [esp + 0x540], 0x17
test al, al
jne 0x41d831
mov ecx, dword [esp + 0x548]
lea edx, [esp + 0x14]
push ecx
push str.select_count___as_val_count_from_DLYNDX_DLY_where_DLYNDX.COMMENT_like____s___and_DLYNDX.VCHCODEDLY.VCHCODE_and_DLY.QTY__0.0
push edx
call fcn.00588507
mov eax, dword [esp + 0x20]
add esp, 0xc
lea ecx, [esp + 0x208]
push edi
push eax
push edi
call fcn.00557dcf
lea ecx, [esp + 0x98]
push edi
push ecx
push str.val_count
lea ecx, [esp + 0x214]
call fcn.005587de
mov edx, dword [esp + 0xa0]
lea eax, [esp + 0x24]
push edx
push 0x61a878
push eax
call fcn.00588507
mov ecx, dword [esp + 0x30]
add esp, 0xc
push ecx
lea ecx, [esi + 0x6a4]
call fcn.00592059
mov ecx, dword [esp + 0xa0]
mov edi, dword [0x645014]
mov eax, ecx
cdq
idiv edi
mov eax, ecx
test edx, edx
cdq
jne 0x41d346
idiv edi
jmp 0x41d349
idiv edi
inc eax
mov edx, eax
mov dword [esi + 0xec], eax
push edx
lea eax, [esp + 0x28]
push 0x618424
push eax
call fcn.00588507
mov ecx, dword [esp + 0x30]
add esp, 0xc
push ecx
lea ecx, [esi + 0x668]
call fcn.00592059
lea ecx, [esp + 0x208]
call fcn.00557ea3
lea ecx, [esi + 0x6e0]
push 0x619fac
mov dword [esp + 0x30], 1
call fcn.00592059
mov edx, dword [0x63b4a0]
mov dword [esp + 0x10], edx
mov ecx, dword [esi + 0xec]
mov eax, 0x66666667
imul ecx
sar edx, 2
mov eax, edx
mov byte [esp + 0x540], 0x18
shr eax, 0x1f
add edx, eax
mov ebx, edx
lea edx, [ebx + ebx*4]
shl edx, 1
cmp edx, ecx
je 0x41d3cd
inc ebx
mov eax, dword [esi + 0x120]
mov edi, dword [sym.imp.USER32.dll_ModifyMenuA]
push 0x618324
push 0x805b
push 0
push 0x805b
push eax
call edi
mov ecx, dword [esi + 0x120]
push 0x618324
push 0x805c
push 0
push 0x805c
push ecx
call edi
mov edx, dword [esi + 0x120]
push 0x618324
push 0x805d
push 0
push 0x805d
push edx
call edi
mov eax, dword [esi + 0x120]
push 0x618324
push 0x805e
push 0
push 0x805e
push eax
call edi
mov ecx, dword [esi + 0x120]
push 0x618324
push 0x805f
push 0
push 0x805f
push ecx
call edi
mov edx, dword [esi + 0x120]
push 0x618324
push 0x8060
push 0
push 0x8060
push edx
call edi
mov eax, dword [esi + 0x120]
push 0x618324
push 0x8061
push 0
push 0x8061
push eax
call edi
mov ecx, dword [esi + 0x120]
push 0x618324
push 0x8062
push 0
push 0x8062
push ecx
call edi
mov edx, dword [esi + 0x120]
push 0x618324
push 0x8063
push 0
push 0x8063
push edx
call edi
mov eax, dword [esi + 0x120]
mov ebp, dword [sym.imp.USER32.dll_EnableMenuItem]
push 3
push 0x805b
push eax
call ebp
mov ecx, dword [esi + 0x120]
push 3
push 0x805c
push ecx
call ebp
mov edx, dword [esi + 0x120]
push 3
push 0x805d
push edx
call ebp
push 3
mov eax, dword [esi + 0x120]
push 0x805e
push eax
call ebp
mov ecx, dword [esi + 0x120]
push 3
push 0x805f
push ecx
call ebp
mov edx, dword [esi + 0x120]
push 3
push 0x8060
push edx
call ebp
mov eax, dword [esi + 0x120]
push 3
push 0x8061
push eax
call ebp
mov ecx, dword [esi + 0x120]
push 3
push 0x8062
push ecx
call ebp
mov edx, dword [esi + 0x120]
push 3
push 0x8063
push edx
call ebp
mov eax, dword [esi + 0xec]
cmp ebx, eax
jg 0x41d59e
test eax, eax
jle 0x41d59e
push ebx
lea eax, [esp + 0x14]
push 0x61831c
push eax
call fcn.00588507
mov ecx, dword [esp + 0x1c]
mov edx, dword [esi + 0x120]
add esp, 0xc
push ecx
push 0x8063
push 0
push 0x8063
push edx
call edi
mov eax, dword [esi + 0x120]
push 0
push 0x8063
push eax
call ebp
mov ecx, dword [esi + 0xec]
lea eax, [ebx + ebx]
cmp eax, ecx
jg 0x41d5ec
test ecx, ecx
jle 0x41d5ec
push eax
lea ecx, [esp + 0x14]
push 0x61831c
push ecx
call fcn.00588507
mov edx, dword [esp + 0x1c]
mov eax, dword [esi + 0x120]
add esp, 0xc
push edx
push 0x8062
push 0
push 0x8062
push eax
call edi
mov ecx, dword [esi + 0x120]
push 0
push 0x8062
push ecx
call ebp
mov ecx, dword [esi + 0xec]
lea eax, [ebx + ebx*2]
cmp eax, ecx
jg 0x41d63a
test ecx, ecx
jle 0x41d63a
push eax
lea edx, [esp + 0x14]
push 0x61831c
push edx
call fcn.00588507
mov eax, dword [esp + 0x1c]
mov ecx, dword [esi + 0x120]
add esp, 0xc
push eax
push 0x8061
push 0
push 0x8061
push ecx
call edi
mov edx, dword [esi + 0x120]
push 0
push 0x8061
push edx
call ebp
mov ecx, dword [esi + 0xec]
lea eax, [ebx*4]
cmp eax, ecx
jg 0x41d68c
test ecx, ecx
jle 0x41d68c
push eax
lea eax, [esp + 0x14]
push 0x61831c
push eax
call fcn.00588507
mov ecx, dword [esp + 0x1c]
mov edx, dword [esi + 0x120]
add esp, 0xc
push ecx
push 0x8060
push 0
push 0x8060
push edx
call edi
mov eax, dword [esi + 0x120]
push 0
push 0x8060
push eax
call ebp
mov ecx, dword [esi + 0xec]
lea eax, [ebx + ebx*4]
cmp eax, ecx
jg 0x41d6da
test ecx, ecx
jle 0x41d6da
push eax
lea ecx, [esp + 0x14]
push 0x61831c
push ecx
call fcn.00588507
mov edx, dword [esp + 0x1c]
mov eax, dword [esi + 0x120]
add esp, 0xc
push edx
push 0x805f
push 0
push 0x805f
push eax
call edi
mov ecx, dword [esi + 0x120]
push 0
push 0x805f
push ecx
call ebp
mov ecx, dword [esi + 0xec]
lea eax, [ebx + ebx*2]
shl eax, 1
cmp eax, ecx
jg 0x41d72a
test ecx, ecx
jle 0x41d72a
push eax
lea edx, [esp + 0x14]
push 0x61831c
push edx
call fcn.00588507
mov eax, dword [esp + 0x1c]
mov ecx, dword [esi + 0x120]
add esp, 0xc
push eax
push 0x805e
push 0
push 0x805e
push ecx
call edi
mov edx, dword [esi + 0x120]
push 0
push 0x805e
push edx
call ebp
mov ecx, dword [esi + 0xec]
lea eax, [ebx*8]
sub eax, ebx
cmp eax, ecx
jg 0x41d77e
test ecx, ecx
jle 0x41d77e
push eax
lea eax, [esp + 0x14]
push 0x61831c
push eax
call fcn.00588507
mov ecx, dword [esp + 0x1c]
mov edx, dword [esi + 0x120]
add esp, 0xc
push ecx
push 0x805d
push 0
push 0x805d
push edx
call edi
mov eax, dword [esi + 0x120]
push 0
push 0x805d
push eax
call ebp
mov ecx, dword [esi + 0xec]
lea eax, [ebx*8]
cmp eax, ecx
jg 0x41d7d0
test ecx, ecx
jle 0x41d7d0
push eax
lea ecx, [esp + 0x14]
push 0x61831c
push ecx
call fcn.00588507
mov edx, dword [esp + 0x1c]
mov eax, dword [esi + 0x120]
add esp, 0xc
push edx
push 0x805c
push 0
push 0x805c
push eax
call edi
mov ecx, dword [esi + 0x120]
push 0
push 0x805c
push ecx
call ebp
mov ecx, dword [esi + 0xec]
lea eax, [ebx + ebx*8]
cmp eax, ecx
jg 0x41d81e
test ecx, ecx
jle 0x41d81e
push eax
lea edx, [esp + 0x14]
push 0x61831c
push edx
call fcn.00588507
mov eax, dword [esp + 0x1c]
mov ecx, dword [esi + 0x120]
add esp, 0xc
push eax
push 0x805b
push 0
push 0x805b
push ecx
call edi
mov edx, dword [esi + 0x120]
push 0
push 0x805b
push edx
call ebp
lea ecx, [esp + 0x10]
mov byte [esp + 0x540], 0x17
call fcn.0058df3f
jmp 0x41d852
lea eax, [esp + 0x24]
lea ecx, [esi + 0x6e0]
push eax
call fcn.0058f654
mov ecx, dword [esp + 0x24]
push ecx
call fcn.00568b8c
add esp, 4
mov dword [esp + 0x2c], eax
mov eax, dword [esi + 0x6fc]
lea edx, [esp + 0xe8]
push edx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
lea ecx, [esp + 0xe8]
push ecx
mov ecx, esi
call fcn.0059688d
mov eax, dword [esi + 0x1c]
lea edx, [esp + 0xe8]
push 1
push edx
push eax
call dword [sym.imp.USER32.dll_InvalidateRect]
mov eax, dword [esi + 0xec]
test eax, eax
je 0x41e366
mov edi, dword [esp + 0x2c]
test edi, edi
je 0x41e366
cmp eax, edi
jl 0x41e376
mov ecx, dword [esp + 0x548]
lea edx, [esp + 0x14]
push ecx
push str.select_DLYNDX.DATE_as_DATE1_DLYNDX.VCHCODE_as_VCHCODE1_DLY.PRICE_as_PRICE1_DLY.DRECNO_P_as_DRECNO_P1_DLY.QTY_as_QTY1_PASSWORD.DNAME_E_as_DNAME_E1_from_DLYNDX_DLY_PASSWORD_where_DLYNDX.COMMENT_like____s___and_DLYNDX.VCHCODEDLY.VCHCODE_and_DLYNDX.INPUTNOPASSWORD.DRECNO_E_and_DLY.QTY__0.0_order_by_DLYNDX.DATE_DESC
push edx
call fcn.00588507
mov eax, dword [esp + 0x20]
add esp, 0xc
lea ecx, [esp + 0x208]
push 0
push eax
push 0
call fcn.00557dcf
dec edi
push 6
imul edi, dword [0x645014]
push edi
lea ecx, [esp + 0x210]
call fcn.00558292
mov eax, dword [esp + 0x2d0]
test eax, eax
jne 0x41db93
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
lea ebp, [esi + 0xff0]
lea ecx, [esp + 0x50]
push ecx
push str.DATE1
lea ecx, [esp + 0x210]
call fcn.0055891c
lea edx, [esp + 0xb8]
push 0
push edx
push str.VCHCODE1
lea ecx, [esp + 0x214]
call fcn.005587de
mov eax, dword [esp + 0xc4]
mov ecx, dword [esp + 0xc0]
push eax
push ecx
lea edx, [esp + 0x60]
push str._.0f
push edx
call fcn.00588507
add esp, 0x10
lea eax, [esp + 0x70]
lea ecx, [esp + 0x208]
push 0
push eax
push str.PRICE1
call fcn.005587de
lea ecx, [esp + 0xa8]
push 0
push ecx
push str.DRECNO_P1
lea ecx, [esp + 0x214]
call fcn.005587de
lea edx, [esp + 0x60]
push 0
push edx
push str.QTY1
lea ecx, [esp + 0x214]
call fcn.005587de
lea eax, [esp + 0x48]
lea ecx, [esp + 0x208]
push eax
push str.DNAME_E1
call fcn.0055891c
mov ecx, dword [esp + 0xb4]
mov edx, dword [esp + 0xb0]
push ecx
push edx
lea eax, [esp + 0x5c]
push str._.0f
push eax
call fcn.00588507
mov ecx, dword [esp + 0x8c]
mov edx, dword [esp + 0x88]
push ecx
push edx
lea eax, [esp + 0x64]
push str._.2f
push eax
call fcn.00588507
fld qword [esp + 0x88]
fcomp qword [0x5d4070]
add esp, 0x20
fnstsw ax
test ah, 1
je 0x41da58
fld qword [esp + 0x68]
fmul qword [0x5d4068]
sub esp, 8
lea ecx, [esp + 0x48]
fstp qword [esp]
push str._.2f
push ecx
call fcn.00588507
fld qword [esp + 0x78]
fmul qword [esp + 0x88]
add esp, 8
lea edx, [esp + 0x44]
fmul qword [0x5d4068]
fstp qword [esp]
push str._.2f
push edx
jmp 0x41da8c
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x68]
push eax
push ecx
lea edx, [esp + 0x48]
push str._.2f
push edx
call fcn.00588507
fld qword [esp + 0x78]
fmul qword [esp + 0x88]
add esp, 8
lea eax, [esp + 0x44]
fstp qword [esp]
push str._.2f
push eax
call fcn.00588507
mov ecx, dword [esi + 0x100c]
add esp, 0x10
push 0
push 0
push 0x1004
push ecx
call ebx
push 0
push 0
push 0
push 0
push 0x645010
push eax
push 1
mov ecx, ebp
call fcn.00589d9e
mov edx, dword [esp + 0x50]
mov edi, eax
push edx
push 1
push edi
mov ecx, ebp
call fcn.00589e99
mov eax, dword [esp + 0x54]
mov ecx, ebp
push eax
push 2
push edi
call fcn.00589e99
mov ecx, dword [esp + 0x40]
push ecx
push 4
push edi
mov ecx, ebp
call fcn.00589e99
mov edx, dword [esp + 0x4c]
mov ecx, ebp
push edx
push 5
push edi
call fcn.00589e99
mov eax, dword [esp + 0x3c]
mov ecx, ebp
push eax
push 6
push edi
call fcn.00589e99
fld qword [esp + 0x68]
fcomp qword [0x5d4070]
fnstsw ax
test ah, 1
je 0x41db22
push 0x61a6e4
jmp 0x41db27
push 0x61a6dc
push 7
push edi
mov ecx, ebp
call fcn.00589e99
mov ecx, dword [esp + 0x48]
push ecx
push 8
push edi
mov ecx, ebp
call fcn.00589e99
mov ecx, dword [esp + 0x20]
mov eax, ecx
inc ecx
push eax
push 0
push 0
push 0
push 0
push 4
mov dword [esp + 0x38], ecx
push 0
push edi
mov ecx, ebp
call fcn.00589e20
mov edx, dword [esp + 0x20]
mov eax, dword [0x645014]
cmp edx, eax
je 0x41db99
mov eax, dword [esp + 0x208]
push 1
push 1
lea ecx, [esp + 0x210]
call dword [eax + 0x14]
mov eax, dword [esp + 0x2d0]
test eax, eax
je 0x41d90d
jmp 0x41db99
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
lea ecx, [esp + 0x208]
call fcn.00557ea3
mov ecx, dword [0x651cc0]
push ecx
lea ecx, [esp + 0xfc]
call fcn.00557aba
mov eax, dword [0x63b4a0]
xor edi, edi
mov dword [esp + 0x20], edi
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x38], eax
lea ecx, [esp + 0x80]
mov byte [esp + 0x540], 0x1d
call fcn.0055b385
mov edx, dword [0x64a740]
lea ecx, [esp + 0x428]
push edx
mov byte [esp + 0x544], 0x1e
call fcn.00557aba
push 0x649cf8
mov byte [esp + 0x544], 0x1f
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esi + 0x100c]
push 0
push 0
push 0x1004
push eax
call ebx
cmp edi, eax
jge 0x41dc9b
lea ebp, [esi + 0xff0]
push 2
lea ecx, [esp + 0x30]
push edi
push ecx
mov ecx, ebp
call fcn.00589ec4
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x544], 0x20
call fcn.0058e078
lea ecx, [esp + 0x2c]
mov byte [esp + 0x540], 0x1f
call fcn.0058df3f
push ecx
lea edx, [esp + 0x20]
mov ecx, esp
mov dword [esp + 0x24], esp
push edx
call fcn.0058dcb4
call fcn.0041cd10
add esp, 4
test al, al
jne 0x41dc97
mov eax, dword [esi + 0x100c]
push 0
push 0
push 0x1004
push eax
inc edi
call ebx
cmp edi, eax
jl 0x41dc31
mov dword [esp + 0x20], edi
mov ecx, dword [esi + 0x100c]
push 0
push 0
push 0x1004
push ecx
call ebx
cmp edi, eax
jge 0x41e1e6
mov edx, dword [esp + 0x1c]
lea eax, [esp + 0x14]
push edx
push str.select__from_Grasp71_where_BM_s
push eax
call fcn.00588507
mov ecx, dword [esp + 0x20]
add esp, 0xc
push 0
push ecx
push 0
lea ecx, [esp + 0x434]
call fcn.00557dcf
mov eax, dword [esp + 0x4f0]
test eax, eax
jne 0x41dd1d
lea edx, [esp + 0x18]
lea ecx, [esp + 0x428]
push edx
push 0x61a6b4
call fcn.0055891c
lea eax, [esp + 0x28]
lea ecx, [esp + 0x428]
push eax
push 0x61a6b0
call fcn.0055891c
jmp 0x41e140
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0x14]
push ecx
push str.select_PARINDEX_from_Ptype_where_NEXT_s
push edx
call fcn.00588507
mov eax, dword [esp + 0x20]
add esp, 0xc
lea ecx, [esp + 0xf8]
push 0
push eax
push 0
call fcn.00557dcf
mov eax, dword [esp + 0x1c0]
test eax, eax
jne 0x41df1f
lea ecx, [esp + 0x80]
push 0
push ecx
push str.PARINDEX
lea ecx, [esp + 0x104]
call fcn.005587de
mov edx, dword [esp + 0x8c]
mov eax, dword [esp + 0x88]
push edx
push eax
lea ecx, [esp + 0x40]
push str._.0f
push ecx
call fcn.00588507
add esp, 0x10
lea ecx, [esp + 0xf8]
call fcn.00557ea3
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x38]
push eax
push eax
push edx
lea eax, [esp + 0x20]
push str.select_top_1__from_Ptype_where_PARINDEX_s_and_LAST__s_and_NEXT__s_and_SONNUM_is_null_and_LAST_0_order_by__NEXT___LAST__ASC
push eax
call fcn.00588507
mov ecx, dword [esp + 0x28]
add esp, 0x14
push 0
push ecx
push 0
lea ecx, [esp + 0x104]
call fcn.00557dcf
mov eax, dword [esp + 0x1c0]
test eax, eax
jne 0x41de1b
lea edx, [esp + 0x18]
lea ecx, [esp + 0xf8]
push edx
push str.FULLNAME
call fcn.0055891c
lea eax, [esp + 0x28]
lea ecx, [esp + 0xf8]
push eax
push str.M_UNIT
call fcn.0055891c
lea ecx, [esp + 0xf8]
call fcn.00557ea3
jmp 0x41e10f
lea ecx, [esp + 0xf8]
call fcn.00557ea3
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x38]
push ecx
push edx
lea eax, [esp + 0x1c]
push str.select_top_1__from_Ptype_where_PARINDEX_s_and___NEXT0__or__NEXT_is_null___and_SONNUM_is_null_and_LAST_0_and_LAST__s_order_by_LAST_DESC
push eax
call fcn.00588507
mov ecx, dword [esp + 0x24]
add esp, 0x10
push 0
push ecx
push 0
lea ecx, [esp + 0x104]
call fcn.00557dcf
mov eax, dword [esp + 0x1c0]
test eax, eax
jne 0x41dea0
lea edx, [esp + 0x18]
lea ecx, [esp + 0xf8]
push edx
push str.FULLNAME
call fcn.0055891c
lea eax, [esp + 0x28]
lea ecx, [esp + 0xf8]
push eax
push str.M_UNIT
call fcn.0055891c
lea ecx, [esp + 0xf8]
call fcn.00557ea3
jmp 0x41e10f
lea ecx, [esp + 0x1c]
lea edx, [esp + 0x30]
push ecx
push 0x61a550
push edx
call fcn.0058e248
push 0x6199cc
push eax
lea eax, [esp + 0x4c]
mov byte [esp + 0x548], 0x21
push eax
call fcn.0058e1d4
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x544], 0x22
call fcn.0058e078
lea ecx, [esp + 0x44]
mov byte [esp + 0x540], 0x21
call fcn.0058df3f
mov byte [esp + 0x540], 0x1f
lea ecx, [esp + 0x30]
call fcn.0058df3f
push 0x645010
lea ecx, [esp + 0x2c]
call fcn.0058e0c8
lea ecx, [esp + 0xf8]
call fcn.00557ea3
jmp 0x41e10f
lea ecx, [esp + 0xf8]
call fcn.00557ea3
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0x14]
push ecx
push str.select_PARINDEX_from_Ptype_where_LAST_s_and_SONNUM_is_null
push edx
call fcn.00588507
mov eax, dword [esp + 0x20]
add esp, 0xc
lea ecx, [esp + 0xf8]
push 0
push eax
push 0
call fcn.00557dcf
mov eax, dword [esp + 0x1c0]
test eax, eax
jne 0x41e089
lea ecx, [esp + 0x80]
push 0
push ecx
push str.PARINDEX
lea ecx, [esp + 0x104]
call fcn.005587de
mov edx, dword [esp + 0x8c]
mov eax, dword [esp + 0x88]
push edx
push eax
lea ecx, [esp + 0x40]
push str._.0f
push ecx
call fcn.00588507
add esp, 0x10
lea ecx, [esp + 0xf8]
call fcn.00557ea3
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x38]
push eax
push eax
push edx
lea eax, [esp + 0x20]
push str.select_top_1__from_Ptype_where_PARINDEX_s_and___LAST0__or__LAST_is_null___and_SONNUM_is_null_order_by_NEXT
push eax
call fcn.00588507
mov ecx, dword [esp + 0x28]
add esp, 0x14
push 0
push ecx
push 0
lea ecx, [esp + 0x104]
call fcn.00557dcf
mov eax, dword [esp + 0x1c0]
test eax, eax
jne 0x41e029
lea edx, [esp + 0x18]
lea ecx, [esp + 0xf8]
push edx
push str.FULLNAME
call fcn.0055891c
lea eax, [esp + 0x28]
lea ecx, [esp + 0xf8]
push eax
push str.M_UNIT
call fcn.0055891c
lea ecx, [esp + 0xf8]
call fcn.00557ea3
jmp 0x41e10f
lea ecx, [esp + 0x1c]
lea edx, [esp + 0x10]
push ecx
push 0x61a49c
push edx
call fcn.0058e248
push 0x6199cc
push eax
lea eax, [esp + 0x3c]
mov byte [esp + 0x548], 0x23
push eax
call fcn.0058e1d4
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x544], 0x24
call fcn.0058e078
lea ecx, [esp + 0x34]
mov byte [esp + 0x540], 0x23
call fcn.0058df3f
mov byte [esp + 0x540], 0x1f
lea ecx, [esp + 0x10]
jmp 0x41defb
lea ecx, [esp + 0xf8]
call fcn.00557ea3
lea ecx, [esp + 0x1c]
lea edx, [esp + 0x94]
push ecx
push 0x61a494
push edx
call fcn.0058e248
push 0x6199cc
push eax
lea eax, [esp + 0x98]
mov byte [esp + 0x548], 0x25
push eax
call fcn.0058e1d4
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x544], 0x26
call fcn.0058e078
lea ecx, [esp + 0x90]
mov byte [esp + 0x540], 0x25
call fcn.0058df3f
lea ecx, [esp + 0x94]
mov byte [esp + 0x540], 0x1f
call fcn.0058df3f
push 0x645010
lea ecx, [esp + 0x2c]
call fcn.0058e0c8
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x18]
push ecx
push edx
push eax
lea ecx, [esp + 0x20]
push str.insert_into_Grasp71_SPM_DW_BM_values__s__s__s_
push ecx
call fcn.00588507
mov edx, dword [esp + 0x28]
mov ecx, dword [0x64a740]
add esp, 0x14
push edx
call fcn.005572e4
lea ecx, [esp + 0x428]
call fcn.00557ea3
mov eax, dword [esi + 0x100c]
push 0
push 0
push 0x1004
push eax
call ebx
cmp edi, eax
jge 0x41e1d6
lea ebp, [esi + 0xff0]
push 2
lea ecx, [esp + 0x60]
push edi
push ecx
mov ecx, ebp
call fcn.00589ec4
mov edx, dword [esp + 0x1c]
mov eax, dword [eax]
push edx
push eax
call fcn.00568a52
add esp, 8
lea ecx, [esp + 0x5c]
test eax, eax
sete bl
call fcn.0058df3f
test bl, bl
je 0x41e1b7
mov eax, dword [esp + 0x18]
mov ecx, ebp
push eax
push 2
push edi
call fcn.00589e99
mov ecx, dword [esp + 0x28]
push ecx
push 3
push edi
mov ecx, ebp
call fcn.00589e99
mov edx, dword [esi + 0x100c]
push 0
push 0
push 0x1004
push edx
inc edi
call dword [sym.imp.USER32.dll_SendMessageA]
cmp edi, eax
jl 0x41e168
mov edi, dword [esp + 0x20]
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
inc edi
mov dword [esp + 0x20], edi
jmp 0x41dc15
push 0x649cf8
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea ecx, [esp + 0x428]
mov byte [esp + 0x540], 0x1e
call fcn.00557cc6
lea ecx, [esp + 0x80]
mov byte [esp + 0x540], 0x1d
call fcn.0055b3f5
lea ecx, [esp + 0x38]
mov byte [esp + 0x540], 0x1c
call fcn.0058df3f
lea ecx, [esp + 0x28]
mov byte [esp + 0x540], 0x1b
call fcn.0058df3f
lea ecx, [esp + 0x18]
mov byte [esp + 0x540], 0x1a
call fcn.0058df3f
lea ecx, [esp + 0x1c]
mov byte [esp + 0x540], 0x19
call fcn.0058df3f
lea ecx, [esp + 0xf8]
mov byte [esp + 0x540], 0x17
call fcn.00557cc6
lea ecx, [esp + 0x208]
mov byte [esp + 0x540], 0x16
call fcn.00557cc6
lea ecx, [esp + 0x98]
mov byte [esp + 0x540], 0x15
call fcn.0055b3f5
lea ecx, [esp + 0x60]
mov byte [esp + 0x540], 0x14
call fcn.0055b3f5
lea ecx, [esp + 0x70]
mov byte [esp + 0x540], 0x13
call fcn.0055b3f5
lea ecx, [esp + 0xa8]
mov byte [esp + 0x540], 0x12
call fcn.0055b3f5
lea ecx, [esp + 0xb8]
mov byte [esp + 0x540], 0x11
call fcn.0055b3f5
lea ecx, [esp + 0x48]
mov byte [esp + 0x540], 0x10
call fcn.0058df3f
lea ecx, [esp + 0x3c]
mov byte [esp + 0x540], 0xf
call fcn.0058df3f
lea ecx, [esp + 0x40]
mov byte [esp + 0x540], 0xe
call fcn.0058df3f
lea ecx, [esp + 0x4c]
mov byte [esp + 0x540], 0xd
call fcn.0058df3f
lea ecx, [esp + 0x54]
mov byte [esp + 0x540], 0xc
call fcn.0058df3f
lea ecx, [esp + 0x58]
mov byte [esp + 0x540], 0xb
call fcn.0058df3f
lea ecx, [esp + 0x50]
mov byte [esp + 0x540], 2
call fcn.0058df3f
mov byte [esi + 0xa5], 1
jmp 0x41e466
push 0x6197c0
lea ecx, [esi + 0x6e0]
call fcn.00592059
lea ecx, [esp + 0x208]
mov byte [esi + 0xa5], 1
mov byte [esp + 0x540], 0x16
call fcn.00557cc6
lea ecx, [esp + 0x98]
mov byte [esp + 0x540], 0x15
call fcn.0055b3f5
lea ecx, [esp + 0x60]
mov byte [esp + 0x540], 0x14
call fcn.0055b3f5
lea ecx, [esp + 0x70]
mov byte [esp + 0x540], 0x13
call fcn.0055b3f5
lea ecx, [esp + 0xa8]
mov byte [esp + 0x540], 0x12
call fcn.0055b3f5
lea ecx, [esp + 0xb8]
mov byte [esp + 0x540], 0x11
call fcn.0055b3f5
lea ecx, [esp + 0x48]
mov byte [esp + 0x540], 0x10
call fcn.0058df3f
lea ecx, [esp + 0x3c]
mov byte [esp + 0x540], 0xf
call fcn.0058df3f
lea ecx, [esp + 0x40]
mov byte [esp + 0x540], 0xe
call fcn.0058df3f
lea ecx, [esp + 0x4c]
mov byte [esp + 0x540], 0xd
call fcn.0058df3f
lea ecx, [esp + 0x54]
mov byte [esp + 0x540], 0xc
call fcn.0058df3f
lea ecx, [esp + 0x58]
mov byte [esp + 0x540], 0xb
call fcn.0058df3f
lea ecx, [esp + 0x50]
mov byte [esp + 0x540], 2
call fcn.0058df3f
lea ecx, [esp + 0x24]
mov byte [esp + 0x540], 1
call fcn.0058df3f
lea ecx, [esp + 0x14]
mov byte [esp + 0x540], 0
call fcn.0058df3f
lea ecx, [esp + 0x548]
mov dword [esp + 0x540], 0xffffffff
call fcn.0058df3f
mov ecx, dword [esp + 0x538]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x534
ret 4