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

Disassembly:
push 0xffffffffffffffff
push 0x4614d4
mov eax, dword fs:[0]
push eax
sub esp, 0x2e4
push ebx
push ebp
push esi
push edi
mov eax, dword [0x481e98]
xor eax, esp
push eax
lea eax, [esp + 0x2f8]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0x20], edi
lea eax, [esp + 0xe4]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
call fcn.0043239f
xor ecx, ecx
xor ebx, ebx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x40e75d
push 0x80004005
call fcn.00401050
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x1c], eax
movzx ecx, word [esp + 0xe4]
push ecx
lea edx, [esp + 0x20]
push 0x4691e0
push edx
mov dword [esp + 0x30c], ebx
call fcn.00401ce0
mov eax, dword [edi + 0x114]
add esp, 0xc
push ebx
push ebx
push 0x1004
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
test eax, eax
jle 0x40f19c
jmp 0x40e7b4
mov edi, dword [esp + 0x20]
call fcn.0043239f
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x40e753
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0xc0], eax
push 1
push ebx
lea ecx, [esp + 0xd8]
lea ebp, [edi + 0xf4]
push ecx
mov ecx, ebp
mov byte [esp + 0x30c], 1
call fcn.004338d7
mov esi, eax
mov eax, dword [esi]
sub eax, 0x10
mov ecx, 1
sub ecx, dword [eax + 0xc]
mov eax, dword [eax + 8]
or eax, ecx
mov byte [esp + 0x300], 2
jge 0x40e81e
push 0
mov ecx, esi
call fcn.00401440
mov esi, dword [esi]
push esi
lea edx, [esp + 0xf8]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov eax, dword [edi + 0x84]
cmp dword [edi + 0x80], eax
lea esi, [edi + 0x7c]
mov dword [esp + 0x2f4], 1
mov dword [esp + 0x14], eax
jbe 0x40e854
call fcn.004499f0
mov edi, dword [esi + 4]
cmp edi, dword [esi + 8]
mov dword [esp + 0x18], edi
jbe 0x40e865
call fcn.004499f0
mov eax, dword [esp + 0x14]
sub esp, 0x204
mov dword [esp + 0x22c], edi
mov edi, esp
mov ecx, 0x81
lea esi, [esp + 0x2f8]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x21c]
push eax
push ecx
call fcn.0040dab0
mov esi, eax
mov eax, dword [esp + 0x2dc]
add eax, 0xfffffff0
add esp, 0x20c
mov byte [esp + 0x300], 1
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40e8c7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edi, dword [esp + 0x20]
mov eax, dword [edi + 0x84]
add edi, 0x7c
cmp dword [edi + 4], eax
mov dword [esp + 0x18], eax
jbe 0x40e8e2
call fcn.004499f0
test edi, edi
mov dword [esp + 0x24], edi
je 0x40e8ee
cmp edi, edi
je 0x40e8f3
call fcn.004499f0
cmp esi, dword [esp + 0x18]
je 0x40f14c
call fcn.0043239f
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x40e753
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
push 0x16
push ebx
lea ecx, [esp + 0xc0]
push ecx
mov ecx, ebp
mov byte [esp + 0x30c], 3
call fcn.004338d7
mov dword [esp + 0x18], eax
push 0x15
push ebx
lea edx, [esp + 0xb8]
push edx
mov ecx, ebp
mov byte [esp + 0x30c], 4
call fcn.004338d7
mov dword [esp + 0xc8], eax
push 0x14
push ebx
lea eax, [esp + 0xb0]
push eax
mov ecx, ebp
mov byte [esp + 0x30c], 5
call fcn.004338d7
mov dword [esp + 0x34], eax
push 0x13
push ebx
lea ecx, [esp + 0xa8]
push ecx
mov ecx, ebp
mov byte [esp + 0x30c], 6
call fcn.004338d7
mov dword [esp + 0x8c], eax
push 0x12
push ebx
lea edx, [esp + 0xa0]
push edx
mov ecx, ebp
mov byte [esp + 0x30c], 7
call fcn.004338d7
mov dword [esp + 0x3c], eax
push 0x11
push ebx
lea eax, [esp + 0x98]
push eax
mov ecx, ebp
mov byte [esp + 0x30c], 8
call fcn.004338d7
mov dword [esp + 0xcc], eax
push 0x10
push ebx
lea ecx, [esp + 0x90]
push ecx
mov ecx, ebp
mov byte [esp + 0x30c], 9
call fcn.004338d7
mov dword [esp + 0x44], eax
push 0xf
push ebx
lea edx, [esp + 0x88]
push edx
mov ecx, ebp
mov byte [esp + 0x30c], 0xa
call fcn.004338d7
mov edi, eax
mov byte [esp + 0x300], 0xb
push 0x469f90
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x80]
push ecx
call fcn.00403d00
push edi
push eax
lea edx, [esp + 0x84]
push edx
mov byte [esp + 0x318], 0xc
call fcn.00409840
add esp, 0x18
mov edi, eax
push 0xd
push ebx
lea eax, [esp + 0x70]
push eax
mov ecx, ebp
mov byte [esp + 0x30c], 0xd
call fcn.004338d7
mov dword [esp + 0x94], eax
push 0xc
push ebx
lea ecx, [esp + 0x68]
push ecx
mov ecx, ebp
mov byte [esp + 0x30c], 0xe
call fcn.004338d7
mov dword [esp + 0x4c], eax
push 0xb
push ebx
lea edx, [esp + 0x60]
push edx
mov ecx, ebp
mov byte [esp + 0x30c], 0xf
call fcn.004338d7
mov dword [esp + 0xbc], eax
push 0xa
push ebx
lea eax, [esp + 0x58]
push eax
mov ecx, ebp
mov byte [esp + 0x30c], 0x10
call fcn.004338d7
mov dword [esp + 0x54], eax
push 9
push ebx
lea ecx, [esp + 0x50]
push ecx
mov ecx, ebp
mov byte [esp + 0x30c], 0x11
call fcn.004338d7
mov dword [esp + 0x9c], eax
push 8
push ebx
lea edx, [esp + 0x48]
push edx
mov ecx, ebp
mov byte [esp + 0x30c], 0x12
call fcn.004338d7
mov dword [esp + 0x5c], eax
push 7
push ebx
lea eax, [esp + 0x40]
push eax
mov ecx, ebp
mov byte [esp + 0x30c], 0x13
call fcn.004338d7
mov dword [esp + 0xd4], eax
push 6
mov byte [esp + 0x304], 0x14
push ebx
lea ecx, [esp + 0x38]
push ecx
mov ecx, ebp
call fcn.004338d7
mov dword [esp + 0x64], eax
push 5
push ebx
lea edx, [esp + 0xbc]
push edx
mov ecx, ebp
mov byte [esp + 0x30c], 0x15
call fcn.004338d7
mov dword [esp + 0xa4], eax
push 4
push ebx
lea eax, [esp + 0x8c]
push eax
mov ecx, ebp
mov byte [esp + 0x30c], 0x16
call fcn.004338d7
mov dword [esp + 0x6c], eax
push 3
push ebx
lea ecx, [esp + 0x34]
push ecx
mov ecx, ebp
mov byte [esp + 0x30c], 0x17
call fcn.004338d7
mov dword [esp + 0xc4], eax
push 2
push ebx
lea edx, [esp + 0x84]
push edx
mov ecx, ebp
mov byte [esp + 0x30c], 0x18
call fcn.004338d7
mov dword [esp + 0x74], eax
push 1
push ebx
lea eax, [esp + 0xb4]
push eax
mov ecx, ebp
mov byte [esp + 0x30c], 0x19
call fcn.004338d7
mov ebp, eax
cmp dword [esp + 0x24], 0
mov byte [esp + 0x300], 0x1a
jne 0x40ebe2
call fcn.004499f0
mov ecx, dword [esp + 0x24]
cmp esi, dword [ecx + 8]
jb 0x40ebf0
call fcn.004499f0
mov edx, dword [esp + 0x24]
cmp esi, dword [edx + 8]
jb 0x40ebfe
call fcn.004499f0
mov eax, dword [esp + 0x24]
cmp esi, dword [eax + 8]
jb 0x40ec0c
call fcn.004499f0
mov ecx, dword [esp + 0x24]
cmp esi, dword [ecx + 8]
jb 0x40ec1a
call fcn.004499f0
mov edx, dword [esp + 0x24]
cmp esi, dword [edx + 8]
jb 0x40ec28
call fcn.004499f0
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
push ecx
lea edx, [esi + 0x2800]
push edx
lea eax, [esi + 0x2600]
push eax
mov eax, dword [esp + 0xd4]
lea ecx, [esi + 0x2400]
push ecx
mov ecx, dword [eax]
lea edx, [esi + 0x2200]
push edx
mov edx, dword [esp + 0x48]
mov eax, dword [edx]
add esi, 0x2000
push esi
push ecx
mov ecx, dword [esp + 0xa8]
mov edx, dword [ecx]
push eax
mov eax, dword [esp + 0x5c]
mov ecx, dword [eax]
push edx
mov edx, dword [esp + 0xf0]
mov eax, dword [edx]
push ecx
mov ecx, dword [esp + 0x6c]
mov edx, dword [ecx]
mov ecx, dword [esp + 0xbc]
push eax
mov eax, dword [edi]
push edx
mov edx, dword [ecx]
push eax
mov eax, dword [esp + 0x80]
mov ecx, dword [eax]
push edx
mov edx, dword [esp + 0xf4]
mov eax, dword [edx]
push ecx
mov ecx, dword [esp + 0x90]
mov edx, dword [ecx]
push eax
mov eax, dword [esp + 0xdc]
mov ecx, dword [eax]
push edx
mov edx, dword [esp + 0xa0]
mov eax, dword [edx]
push ecx
mov ecx, dword [esp + 0x11c]
mov edx, dword [ecx]
push eax
mov eax, dword [esp + 0xb0]
mov ecx, dword [eax]
push edx
mov edx, dword [esp + 0xf4]
mov eax, dword [edx]
push ecx
mov ecx, dword [esp + 0xc0]
mov edx, dword [ecx]
push eax
mov eax, dword [esp + 0x11c]
mov ecx, dword [eax]
push edx
mov edx, dword [esp + 0xd0]
mov eax, dword [edx]
push ecx
mov ecx, dword [ebp]
push eax
push ecx
lea edx, [esp + 0x7c]
push str.insert_into_planhistory_planname_keyword_source_goodname_goodww_pagenum_pagerank_totalrank_price_sell_goodnum_endtime_endweekday_querytime_queryweekday_bb1rank_bb2rank_bb3rank_bb4rank_bb5rank_bb1url_bb2url_bb3url_bb4url_bb5url_goodurl_values__s__s__s__s__s__s__s__s__s__s__s__s__s__s__s__s__s__s__s__s__s__s__s__s__s__s_
push edx
call fcn.00401ce0
mov eax, dword [esp + 0x11c]
add eax, 0xfffffff0
add esp, 0x70
mov byte [esp + 0x300], 0x19
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40ed41
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x7c]
add eax, 0xfffffff0
mov byte [esp + 0x300], 0x18
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40ed69
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
mov byte [esp + 0x300], 0x17
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40ed91
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x84]
add eax, 0xfffffff0
mov byte [esp + 0x300], 0x16
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40edbc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0xb4]
add eax, 0xfffffff0
mov byte [esp + 0x300], 0x15
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40ede7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
mov byte [esp + 0x300], 0x14
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40ee0f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x38]
add eax, 0xfffffff0
mov byte [esp + 0x300], 0x13
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40ee37
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x40]
add eax, 0xfffffff0
mov byte [esp + 0x300], 0x12
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40ee5f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x48]
add eax, 0xfffffff0
mov byte [esp + 0x300], 0x11
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40ee87
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x50]
add eax, 0xfffffff0
mov byte [esp + 0x300], 0x10
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40eeaf
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x58]
add eax, 0xfffffff0
mov byte [esp + 0x300], 0xf
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40eed7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x60]
add eax, 0xfffffff0
mov byte [esp + 0x300], 0xe
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40eeff
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x68]
add eax, 0xfffffff0
mov byte [esp + 0x300], 0xd
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40ef27
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x70]
add eax, 0xfffffff0
mov byte [esp + 0x300], 0xc
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40ef4f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x78]
add eax, 0xfffffff0
mov byte [esp + 0x300], 0xb
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40ef77
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x80]
add eax, 0xfffffff0
mov byte [esp + 0x300], 0xa
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40efa2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x88]
add eax, 0xfffffff0
mov byte [esp + 0x300], 9
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40efcd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x90]
add eax, 0xfffffff0
mov byte [esp + 0x300], 8
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40eff8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x98]
add eax, 0xfffffff0
mov byte [esp + 0x300], 7
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40f023
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0xa0]
add eax, 0xfffffff0
mov byte [esp + 0x300], 6
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40f04e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0xa8]
add eax, 0xfffffff0
mov byte [esp + 0x300], 5
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40f079
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0xb0]
add eax, 0xfffffff0
mov byte [esp + 0x300], 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40f0a4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0xb8]
add eax, 0xfffffff0
mov byte [esp + 0x300], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40f0cf
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0
lea ecx, [esp + 0xdc]
call fcn.00401d00
mov esi, dword [esp + 0x14]
mov ecx, dword [esi - 8]
mov eax, 1
sub eax, dword [esi - 4]
mov byte [esp + 0x300], 0x1b
or ecx, eax
jge 0x40f107
push 0
lea ecx, [esp + 0x18]
call fcn.00401440
mov esi, dword [esp + 0x14]
push esi
lea ecx, [esp + 0xdc]
call fcn.00401ed0
lea ecx, [esp + 0xd8]
mov byte [esp + 0x300], 3
call fcn.00401490
lea eax, [esi - 0x10]
mov byte [esp + 0x300], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40f14c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0xc0]
add eax, 0xfffffff0
mov byte [esp + 0x300], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40f177
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x20]
mov edx, dword [ecx + 0x114]
push 0
push 0
push 0x1004
push edx
add ebx, 1
call dword [sym.imp.USER32.dll_SendMessageA]
cmp ebx, eax
jl 0x40e7b0
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov dword [esp + 0x300], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40f1c7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0x2f8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2f0
ret 4