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

Disassembly:
push 0xffffffffffffffff
push 0x48ccf2
mov eax, dword fs:[0]
push eax
sub esp, 0xbc
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5588ec]
xor eax, esp
push eax
lea eax, [esp + 0xd0]
mov dword fs:[0], eax
lea ecx, [esp + 0x14]
call dword [0x4a95a8]
xor ebp, ebp
lea ecx, [esp + 0x20]
mov dword [esp + 0xd8], ebp
call dword [0x4a95a8]
lea ecx, [esp + 0x18]
call dword [0x4a95a8]
lea ecx, [esp + 0x30]
call dword [0x4a95a8]
lea ecx, [esp + 0x1c]
call dword [0x4a95a8]
lea ecx, [esp + 0x24]
call dword [0x4a95a8]
lea ecx, [esp + 0x40]
call dword [0x4a95a8]
lea ecx, [esp + 0x3c]
call dword [0x4a95a8]
lea ecx, [esp + 0x48]
call dword [0x4a95a8]
lea ecx, [esp + 0x2c]
call dword [0x4a95a8]
lea ecx, [esp + 0x38]
call dword [0x4a95a8]
lea ecx, [esp + 0x34]
call dword [0x4a95a8]
lea ecx, [esp + 0x28]
call dword [0x4a95a8]
lea ecx, [esp + 0x44]
call dword [0x4a95a8]
lea ecx, [esp + 0x4c]
mov byte [esp + 0xd8], 0xd
call fcn.004842fe
lea ecx, [esp + 0x60]
mov byte [esp + 0xd8], 0xe
call fcn.00485674
lea ecx, [esp + 0x84]
mov byte [esp + 0xd8], 0xf
call fcn.00485674
fldz
cmp dword [esp + 0xe4], ebp
fst qword [esp + 0xac]
mov ebx, dword [0x4a9540]
fst qword [esp + 0xb8]
fstp qword [esp + 0x9c]
mov byte [esp + 0xd8], 0x10
mov dword [esp + 0xb4], ebp
mov dword [esp + 0xc0], ebp
mov dword [esp + 0xa4], ebp
je 0x43865f
mov eax, dword [esp + 0xe0]
push eax
push str.select_b.currClassId_b.classId_b.className_a.studentId_b.quitRev_a.quitRevStuId_a.stdtName_b.detailId_b.revDate_quitDate_isProlong_from_quitRevStu_a_inner_join_quitRevStuDet_b_on_a.quitRevStuIdb.quitRevStuId_where_b.quitRevStuId_s
lea ecx, [esp + 0x1c]
push ecx
jmp 0x438671
mov edx, dword [esp + 0xe0]
push edx
push str.select_b.currClassId_b.classId_b.className_a.studentId_b.quitRev_a.quitRevStuId_a.stdtName_b.detailId_b.revDate_quitDate_isProlong_from_quitRevStu_a_inner_join_quitRevStuDet_b_on_a.quitRevStuIdb.quitRevStuId_where_b.detailId_in___s_
lea eax, [esp + 0x1c]
push eax
call ebx
add esp, 0xc
push 1
push 1
push 1
push ebp
lea ecx, [esp + 0x24]
call dword [0x4a957c]
push eax
lea ecx, [esp + 0x74]
call fcn.0048566e
test eax, eax
je 0x43913d
lea ecx, [esp + 0x60]
call fcn.00485668
test eax, eax
jne 0x438f96
lea ecx, [esp + 0x60]
call fcn.00485668
test eax, eax
jne 0x438917
jmp 0x4386c0
lea ecx, [esp + 0x20]
push ecx
push ebp
lea ecx, [esp + 0x68]
call fcn.00485662
lea edx, [esp + 0x18]
push edx
push 1
lea ecx, [esp + 0x68]
call fcn.00485662
lea eax, [esp + 0x30]
push eax
push 2
lea ecx, [esp + 0x68]
call fcn.00485662
lea ecx, [esp + 0x1c]
push ecx
push 3
lea ecx, [esp + 0x68]
call fcn.00485662
lea edx, [esp + 0x24]
push edx
push 4
lea ecx, [esp + 0x68]
call fcn.00485662
lea eax, [esp + 0x40]
push eax
push 5
lea ecx, [esp + 0x68]
call fcn.00485662
lea ecx, [esp + 0x3c]
push ecx
push 6
lea ecx, [esp + 0x68]
call fcn.00485662
lea edx, [esp + 0x28]
push edx
push 7
lea ecx, [esp + 0x68]
call fcn.00485662
lea eax, [esp + 0x2c]
push eax
push 8
lea ecx, [esp + 0x68]
call fcn.00485662
lea ecx, [esp + 0x38]
push ecx
push 9
lea ecx, [esp + 0x68]
call fcn.00485662
lea edx, [esp + 0x34]
push edx
push 0xa
lea ecx, [esp + 0x68]
call fcn.00485662
mov ecx, dword [esp + 0x54]
lea eax, [esp + 0x20]
push eax
push ecx
lea ecx, [esp + 0x54]
call fcn.0048432e
mov eax, dword [esp + 0x54]
lea edx, [esp + 0x18]
push edx
push eax
lea ecx, [esp + 0x54]
call fcn.0048432e
mov edx, dword [esp + 0x54]
lea ecx, [esp + 0x30]
push ecx
push edx
lea ecx, [esp + 0x54]
call fcn.0048432e
mov ecx, dword [esp + 0x54]
lea eax, [esp + 0x1c]
push eax
push ecx
lea ecx, [esp + 0x54]
call fcn.0048432e
lea edx, [esp + 0x24]
push edx
mov eax, dword [esp + 0x58]
push eax
lea ecx, [esp + 0x54]
call fcn.0048432e
mov edx, dword [esp + 0x54]
lea ecx, [esp + 0x40]
push ecx
push edx
lea ecx, [esp + 0x54]
call fcn.0048432e
mov ecx, dword [esp + 0x54]
lea eax, [esp + 0x3c]
push eax
push ecx
lea ecx, [esp + 0x54]
call fcn.0048432e
mov eax, dword [esp + 0x54]
lea edx, [esp + 0x28]
push edx
push eax
lea ecx, [esp + 0x54]
call fcn.0048432e
mov edx, dword [esp + 0x54]
lea ecx, [esp + 0x2c]
push ecx
push edx
lea ecx, [esp + 0x54]
call fcn.0048432e
mov ecx, dword [esp + 0x54]
lea eax, [esp + 0x38]
push eax
push ecx
lea ecx, [esp + 0x54]
call fcn.0048432e
mov eax, dword [esp + 0x54]
lea edx, [esp + 0x34]
push edx
push eax
lea ecx, [esp + 0x54]
call fcn.0048432e
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
push ecx
push edx
lea eax, [esp + 0x1c]
push str.select_top_1__from_v_payinDetail1_dq_where__studentId_s_and_tClassId_s__order_by_payInDate_desc
push eax
call ebx
add esp, 0x10
push 1
push 1
push 1
push ebp
lea ecx, [esp + 0x24]
call dword [0x4a957c]
push eax
lea ecx, [esp + 0x98]
call fcn.0048566e
test eax, eax
lea ecx, [esp + 0x84]
je 0x439144
call fcn.00485668
test eax, eax
lea ecx, [esp + 0x28]
jne 0x4388bd
push ecx
push str.detail1Id
lea ecx, [esp + 0x8c]
call fcn.004856c8
lea edx, [esp + 0x44]
push edx
push 0x4b3c7c
lea ecx, [esp + 0x8c]
call fcn.004856c8
jmp 0x4388d7
push 0x4a9e30
call dword [0x4a955c]
push 0x4a9e30
lea ecx, [esp + 0x48]
call dword [0x4a955c]
mov ecx, dword [esp + 0x54]
lea eax, [esp + 0x28]
push eax
push ecx
lea ecx, [esp + 0x54]
call fcn.0048432e
mov eax, dword [esp + 0x54]
lea edx, [esp + 0x44]
push edx
push eax
lea ecx, [esp + 0x54]
call fcn.0048432e
lea ecx, [esp + 0x60]
call fcn.0048565c
lea ecx, [esp + 0x60]
call fcn.00485668
test eax, eax
je 0x4386c0
lea ecx, [esp + 0x60]
call fcn.00485686
mov ecx, dword [esp + 0x54]
cmp ecx, ebp
jle 0x438f96
mov esi, 2
lea edi, [esi + 6]
jmp 0x438938
xor ebp, ebp
lea eax, [esi - 2]
cmp eax, ebp
jl 0x439206
cmp eax, ecx
jge 0x439206
mov ecx, dword [esp + 0x50]
lea eax, [ecx + edi - 8]
push eax
lea ecx, [esp + 0x24]
call dword [0x4a9558]
lea eax, [esi - 1]
cmp eax, ebp
jl 0x439206
cmp eax, dword [esp + 0x54]
jge 0x439206
mov edx, dword [esp + 0x50]
lea eax, [edx + edi - 4]
push eax
lea ecx, [esp + 0x1c]
call dword [0x4a9558]
cmp esi, ebp
jl 0x439206
cmp esi, dword [esp + 0x54]
jge 0x439206
mov eax, dword [esp + 0x50]
add eax, edi
push eax
lea ecx, [esp + 0x34]
call dword [0x4a9558]
lea eax, [esi + 1]
cmp eax, ebp
jl 0x439206
cmp eax, dword [esp + 0x54]
jge 0x439206
mov ecx, dword [esp + 0x50]
lea eax, [ecx + edi + 4]
push eax
lea ecx, [esp + 0x20]
call dword [0x4a9558]
lea eax, [esi + 2]
cmp eax, ebp
jl 0x439206
cmp eax, dword [esp + 0x54]
jge 0x439206
mov edx, dword [esp + 0x50]
lea eax, [edx + edi + 8]
push eax
lea ecx, [esp + 0x28]
call dword [0x4a9558]
lea eax, [esi + 3]
cmp eax, ebp
jl 0x439206
cmp eax, dword [esp + 0x54]
jge 0x439206
mov eax, dword [esp + 0x50]
lea eax, [eax + edi + 0xc]
push eax
lea ecx, [esp + 0x44]
call dword [0x4a9558]
lea eax, [esi + 4]
cmp eax, ebp
jl 0x439206
cmp eax, dword [esp + 0x54]
jge 0x439206
mov ecx, dword [esp + 0x50]
lea eax, [ecx + edi + 0x10]
push eax
lea ecx, [esp + 0x40]
call dword [0x4a9558]
lea eax, [esi + 5]
cmp eax, ebp
jl 0x439206
cmp eax, dword [esp + 0x54]
jge 0x439206
mov edx, dword [esp + 0x50]
lea eax, [edx + edi + 0x14]
push eax
lea ecx, [esp + 0x2c]
call dword [0x4a9558]
lea eax, [esi + 6]
cmp eax, ebp
jl 0x439206
cmp eax, dword [esp + 0x54]
jge 0x439206
mov eax, dword [esp + 0x50]
lea eax, [eax + edi + 0x18]
push eax
lea ecx, [esp + 0x30]
call dword [0x4a9558]
lea eax, [esi + 7]
cmp eax, ebp
jl 0x439206
cmp eax, dword [esp + 0x54]
jge 0x439206
mov ecx, dword [esp + 0x50]
lea eax, [ecx + edi + 0x1c]
push eax
lea ecx, [esp + 0x3c]
call dword [0x4a9558]
lea eax, [esi + 8]
cmp eax, ebp
jl 0x439206
cmp eax, dword [esp + 0x54]
jge 0x439206
mov edx, dword [esp + 0x50]
lea eax, [edx + edi + 0x20]
push eax
lea ecx, [esp + 0x38]
call dword [0x4a9558]
cmp dword [esp + 0xe8], ebp
jne 0x438d4d
cmp dword [esp + 0xec], ebp
je 0x438bd5
lea ecx, [esp + 0x18]
call dword [0x4a92ac]
test al, al
jne 0x438b6d
push 0x4c2354
lea ecx, [esp + 0x28]
call dword [0x4a9568]
test eax, eax
jne 0x438b6d
mov eax, dword [esp + 0xf0]
push eax
push str.quitRevStu
lea ecx, [esp + 0x34]
call dword [0x4a957c]
push eax
lea ecx, [esp + 0x3c]
call dword [0x4a957c]
push eax
lea ecx, [esp + 0x28]
call dword [0x4a957c]
push eax
lea ecx, [esp + 0x30]
call dword [0x4a957c]
push eax
call fcn.004559d0
add esp, 0x18
test eax, eax
je 0x43913d
lea ecx, [esp + 0x20]
call dword [0x4a957c]
push eax
lea ecx, [esp + 0x1c]
call dword [0x4a9568]
test eax, eax
jne 0x438bb7
push 0x4c2354
lea ecx, [esp + 0x28]
call dword [0x4a9568]
test eax, eax
jne 0x438bb7
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
push ecx
push edx
lea eax, [esp + 0x1c]
push 0x4c22a8
push eax
call ebx
add esp, 0x10
jmp 0x438d32
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
push ecx
push edx
lea eax, [esp + 0x1c]
push 0x4c2210
push eax
call ebx
add esp, 0x10
jmp 0x438d32
push 0x4c2354
lea ecx, [esp + 0x28]
call dword [0x4a9568]
test eax, eax
jne 0x438c3e
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
push edx
push eax
lea ecx, [esp + 0x1c]
push str.select_top_1__from_studentDetail_where_studentId_s_and_classId_s_and_state__
push ecx
call ebx
add esp, 0x10
push 1
push 1
push 1
push ebp
lea ecx, [esp + 0x24]
call dword [0x4a957c]
push eax
lea ecx, [esp + 0x74]
call fcn.0048566e
test eax, eax
je 0x43913d
lea ecx, [esp + 0x60]
call fcn.00485668
test eax, eax
je 0x439077
lea ecx, [esp + 0x60]
call fcn.00485686
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
push edx
push eax
lea ecx, [esp + 0x1c]
push str.select_top_1__from_studentDetail_where_studentId_s_and_classId_s_and_insTblNamequitRevStu_and_isPayIn
push ecx
call ebx
add esp, 0x10
push 1
push 1
push 1
push ebp
lea ecx, [esp + 0x24]
call dword [0x4a957c]
push eax
lea ecx, [esp + 0x74]
call fcn.0048566e
test eax, eax
je 0x43913d
lea ecx, [esp + 0x60]
call fcn.00485668
test eax, eax
jne 0x438cd1
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x1c]
push eax
call fcn.0040c8c0
add esp, 8
test al, al
je 0x438cd1
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
push ecx
push edx
lea eax, [esp + 0x1c]
push str.delete_from_studentDetail_where_studentId_s_and_classId_s
push eax
call ebx
add esp, 0x10
push 1
lea ecx, [esp + 0x18]
push ecx
mov ecx, dword [esp + 0xf8]
call fcn.004856f8
test eax, eax
je 0x43913d
lea ecx, [esp + 0x20]
call dword [0x4a957c]
push eax
lea edx, [esp + 0x84]
push edx
call fcn.00455b80
add esp, 8
push eax
lea ecx, [esp + 0x4c]
mov byte [esp + 0xdc], 0x15
call dword [0x4a9558]
lea ecx, [esp + 0x80]
mov byte [esp + 0xd8], 0x10
call dword [0x4a95ac]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x48]
push eax
push ecx
push edx
lea eax, [esp + 0x20]
push str.update_studentDetail_set_state_s_where_studentId_s_and_classId_s
push eax
call ebx
add esp, 0x14
push 1
lea ecx, [esp + 0x18]
push ecx
mov ecx, dword [esp + 0xf8]
call fcn.004856f8
test eax, eax
je 0x43913d
push 0x4c2354
lea ecx, [esp + 0x28]
call dword [0x4a9568]
test eax, eax
jne 0x438f81
lea ecx, [esp + 0x20]
call dword [0x4a957c]
push eax
lea ecx, [esp + 0x1c]
call dword [0x4a9568]
test eax, eax
jne 0x438f81
push 0x4aa428
lea ecx, [esp + 0x38]
call dword [0x4a9568]
test eax, eax
jne 0x438f81
lea ebp, [esi + 0xa]
test ebp, ebp
jl 0x439206
cmp ebp, dword [esp + 0x54]
jge 0x439206
mov edx, dword [esp + 0x50]
lea ecx, [edx + edi + 0x28]
call dword [0x4a92ac]
test al, al
jne 0x438f81
push 0x400
push 2
push ebp
lea ecx, [esp + 0x58]
call fcn.004018e0
mov ecx, eax
call dword [0x4a957c]
push eax
lea ecx, [esp + 0xa8]
call fcn.00403c20
test al, al
je 0x438f81
push 0x400
push 2
lea ecx, [esp + 0x40]
call dword [0x4a957c]
push eax
lea ecx, [esp + 0xb8]
call fcn.00403c20
test al, al
je 0x438f81
push 0x400
push 2
lea ecx, [esp + 0x34]
call dword [0x4a957c]
push eax
lea ecx, [esp + 0xc4]
call fcn.00403c20
test al, al
je 0x438f81
lea eax, [esp + 0xac]
push eax
lea ecx, [esp + 0xbc]
call fcn.00412fe0
test al, al
je 0x438f81
lea ecx, [esp + 0xac]
push ecx
lea edx, [esp + 0xc8]
push edx
lea ecx, [esp + 0xc0]
call fcn.00403b70
mov edx, dword [eax]
sub esp, 0xc
cmp dword [esp + 0xf8], 0
mov ecx, esp
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [ecx + 4], edx
mov dword [ecx + 8], eax
lea ecx, [esp + 0xa8]
je 0x438ea2
call fcn.00432f10
jmp 0x438ea7
call fcn.004384a0
push str._Y__m__d
lea ecx, [esp + 0x7c]
push ecx
lea ecx, [esp + 0xa4]
call fcn.00401bf0
mov ebp, eax
lea edx, [esi + 9]
push edx
lea ecx, [esp + 0x50]
mov byte [esp + 0xdc], 0x16
call fcn.004018e0
mov eax, dword [eax]
mov ecx, dword [ebp]
push eax
push ecx
lea edx, [esp + 0x1c]
push str.update_payinDetail1_set_nextPayinDate_s_where_detail1Id_s
push edx
call ebx
add esp, 0x10
lea ecx, [esp + 0x78]
mov byte [esp + 0xd8], 0x10
call dword [0x4a95ac]
mov ecx, dword [esp + 0xf0]
push 1
lea eax, [esp + 0x18]
push eax
call fcn.004856f8
test eax, eax
je 0x43913d
push str._Y__m__d
lea ecx, [esp + 0x80]
push ecx
lea ecx, [esp + 0xa4]
call fcn.00401bf0
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
push edx
mov edx, dword [eax]
push ecx
push edx
lea eax, [esp + 0x20]
push str.update_studentDetail_set_nextPayinDate_s_where_studentId_s_and_classId_s
push eax
mov byte [esp + 0xec], 0x17
call ebx
add esp, 0x14
lea ecx, [esp + 0x7c]
mov byte [esp + 0xd8], 0x10
call dword [0x4a95ac]
push 1
lea ecx, [esp + 0x18]
push ecx
mov ecx, dword [esp + 0xf8]
call fcn.004856f8
test eax, eax
je 0x43913d
mov ecx, dword [esp + 0x54]
add esi, 0xd
lea edx, [esi - 2]
add edi, 0x34
cmp edx, ecx
jl 0x438936
lea ecx, [esp + 0x84]
mov byte [esp + 0xd8], 0xf
call fcn.00485638
lea ecx, [esp + 0x60]
mov byte [esp + 0xd8], 0xe
call fcn.00485638
lea ecx, [esp + 0x4c]
mov byte [esp + 0xd8], 0xd
call fcn.00483f68
lea ecx, [esp + 0x44]
call dword [0x4a95ac]
lea ecx, [esp + 0x28]
call dword [0x4a95ac]
lea ecx, [esp + 0x34]
call dword [0x4a95ac]
lea ecx, [esp + 0x38]
call dword [0x4a95ac]
lea ecx, [esp + 0x2c]
call dword [0x4a95ac]
lea ecx, [esp + 0x48]
call dword [0x4a95ac]
lea ecx, [esp + 0x3c]
call dword [0x4a95ac]
lea ecx, [esp + 0x40]
call dword [0x4a95ac]
lea ecx, [esp + 0x24]
call dword [0x4a95ac]
lea ecx, [esp + 0x1c]
call dword [0x4a95ac]
lea ecx, [esp + 0x30]
call dword [0x4a95ac]
lea ecx, [esp + 0x18]
call dword [0x4a95ac]
lea ecx, [esp + 0x20]
call dword [0x4a95ac]
lea ecx, [esp + 0x14]
call dword [0x4a95ac]
mov eax, 1
mov ecx, dword [esp + 0xd0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc8
ret
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0xac]
push 0x4c1fd0
push ecx
call fcn.004016b0
push 0x4c1fc8
push eax
lea edx, [esp + 0x94]
push edx
mov byte [esp + 0xf0], 0x11
call fcn.00401620
lea ecx, [esp + 0x48]
push ecx
push eax
lea edx, [esp + 0x98]
push edx
mov byte [esp + 0xfc], 0x12
call fcn.00401580
push 0x4c1fa4
push eax
lea eax, [esp + 0xa8]
push eax
mov byte [esp + 0x108], 0x13
call fcn.00401620
add esp, 0x30
push ebp
push 0x40
mov ecx, eax
mov byte [esp + 0xe0], 0x14
call dword [0x4a957c]
push eax
call fcn.004856e6
add esp, 0xc
lea ecx, [esp + 0x7c]
call dword [0x4a95ac]
lea ecx, [esp + 0x78]
call dword [0x4a95ac]
lea ecx, [esp + 0x80]
call dword [0x4a95ac]
lea ecx, [esp + 0xa8]
mov byte [esp + 0xd8], 0x10
call dword [0x4a95ac]
lea ecx, [esp + 0x60]
call fcn.00485686
lea ecx, [esp + 0x84]
mov byte [esp + 0xd8], 0xf
call fcn.00485638
lea ecx, [esp + 0x60]
mov byte [esp + 0xd8], 0xe
call fcn.00485638
lea ecx, [esp + 0x4c]
mov byte [esp + 0xd8], 0xd
call fcn.00483f68
lea ecx, [esp + 0x44]
call dword [0x4a95ac]
lea ecx, [esp + 0x28]
call dword [0x4a95ac]
lea ecx, [esp + 0x34]
call dword [0x4a95ac]
lea ecx, [esp + 0x38]
call dword [0x4a95ac]
lea ecx, [esp + 0x2c]
call dword [0x4a95ac]
lea ecx, [esp + 0x48]
call dword [0x4a95ac]
lea ecx, [esp + 0x3c]
call dword [0x4a95ac]
lea ecx, [esp + 0x40]
call dword [0x4a95ac]
lea ecx, [esp + 0x24]
call dword [0x4a95ac]
lea ecx, [esp + 0x1c]
call dword [0x4a95ac]
lea ecx, [esp + 0x30]
call dword [0x4a95ac]
lea ecx, [esp + 0x18]
call dword [0x4a95ac]
lea ecx, [esp + 0x20]
call dword [0x4a95ac]
lea ecx, [esp + 0x14]
call dword [0x4a95ac]
xor eax, eax
jmp 0x43905d
jmp fcn.00483fb0