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

Disassembly:
push 0xffffffffffffffff
push 0x489fec
mov eax, dword fs:[0]
push eax
sub esp, 0x58
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5588ec]
xor eax, esp
push eax
lea eax, [esp + 0x6c]
mov dword fs:[0], eax
lea ecx, [esp + 0x14]
call dword [0x4a95a8]
lea ecx, [esp + 0x20]
mov dword [esp + 0x74], 0
call dword [0x4a95a8]
lea ecx, [esp + 0x1c]
call dword [0x4a95a8]
lea ecx, [esp + 0x2c]
call dword [0x4a95a8]
lea ecx, [esp + 0x18]
call dword [0x4a95a8]
lea ecx, [esp + 0x28]
call dword [0x4a95a8]
lea ecx, [esp + 0x34]
call dword [0x4a95a8]
lea ecx, [esp + 0x24]
call dword [0x4a95a8]
lea ecx, [esp + 0x30]
call dword [0x4a95a8]
lea ecx, [esp + 0x3c]
call dword [0x4a95a8]
lea ecx, [esp + 0x38]
call dword [0x4a95a8]
lea ecx, [esp + 0x40]
mov byte [esp + 0x74], 0xa
call fcn.004842fe
lea ecx, [esp + 0x54]
mov byte [esp + 0x74], 0xb
call fcn.00485674
cmp dword [esp + 0x7c], 0
mov ebx, dword [0x4a9540]
mov byte [esp + 0x74], 0xc
je 0x42144f
mov eax, dword [esp + 0x80]
push eax
push str.select_a.currClassId_a.classId_a.className_b.studentId_b.isUp_a.mUpId_a.mUpDate_b.detailId_a.isEnd_from_multiUpgrade_a_inner_join_multiUpgradeDetail_b_on_a.mUpIdb.mUpId_where_b.mUpId_s
lea ecx, [esp + 0x1c]
push ecx
jmp 0x421461
mov edx, dword [esp + 0x80]
push edx
push str.select_a.currClassId_a.classId_a.className_b.studentId_b.isUp_a.mUpId_a.mUpDate_b.detailId_a.isEnd_from_multiUpgrade_a_inner_join_multiUpgradeDetail_b_on_a.mUpIdb.mUpId_where_b.detailId_in___s_
lea eax, [esp + 0x1c]
push eax
call ebx
add esp, 0xc
push 1
push 1
push 1
push 0
lea ecx, [esp + 0x24]
call dword [0x4a957c]
push eax
lea ecx, [esp + 0x68]
call fcn.0048566e
test eax, eax
lea ecx, [esp + 0x54]
jne 0x42152a
mov byte [esp + 0x74], 0xb
call fcn.00485638
lea ecx, [esp + 0x40]
mov byte [esp + 0x74], 0xa
call fcn.00483f68
lea ecx, [esp + 0x38]
call dword [0x4a95ac]
lea ecx, [esp + 0x3c]
call dword [0x4a95ac]
lea ecx, [esp + 0x30]
call dword [0x4a95ac]
lea ecx, [esp + 0x24]
call dword [0x4a95ac]
lea ecx, [esp + 0x34]
call dword [0x4a95ac]
lea ecx, [esp + 0x28]
call dword [0x4a95ac]
lea ecx, [esp + 0x18]
call dword [0x4a95ac]
lea ecx, [esp + 0x2c]
call dword [0x4a95ac]
lea ecx, [esp + 0x1c]
call dword [0x4a95ac]
lea ecx, [esp + 0x20]
call dword [0x4a95ac]
lea ecx, [esp + 0x14]
call dword [0x4a95ac]
xor eax, eax
mov ecx, dword [esp + 0x6c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x64
ret
call fcn.00485668
test eax, eax
lea ecx, [esp + 0x54]
jne 0x421989
call fcn.00485668
test eax, eax
jne 0x42168a
lea ecx, [esp + 0x20]
push ecx
push 0
lea ecx, [esp + 0x5c]
call fcn.00485662
lea edx, [esp + 0x1c]
push edx
push 1
lea ecx, [esp + 0x5c]
call fcn.00485662
lea eax, [esp + 0x2c]
push eax
push 2
lea ecx, [esp + 0x5c]
call fcn.00485662
lea ecx, [esp + 0x18]
push ecx
push 3
lea ecx, [esp + 0x5c]
call fcn.00485662
lea edx, [esp + 0x28]
push edx
push 4
lea ecx, [esp + 0x5c]
call fcn.00485662
lea eax, [esp + 0x34]
push eax
push 5
lea ecx, [esp + 0x5c]
call fcn.00485662
lea ecx, [esp + 0x24]
push ecx
push 6
lea ecx, [esp + 0x5c]
call fcn.00485662
lea edx, [esp + 0x30]
push edx
push 7
lea ecx, [esp + 0x5c]
call fcn.00485662
lea eax, [esp + 0x38]
push eax
push 8
lea ecx, [esp + 0x5c]
call fcn.00485662
mov edx, dword [esp + 0x48]
lea ecx, [esp + 0x20]
push ecx
push edx
lea ecx, [esp + 0x48]
call fcn.0048432e
mov ecx, dword [esp + 0x48]
lea eax, [esp + 0x1c]
push eax
push ecx
lea ecx, [esp + 0x48]
call fcn.0048432e
mov eax, dword [esp + 0x48]
lea edx, [esp + 0x2c]
push edx
push eax
lea ecx, [esp + 0x48]
call fcn.0048432e
mov edx, dword [esp + 0x48]
lea ecx, [esp + 0x18]
push ecx
push edx
lea ecx, [esp + 0x48]
call fcn.0048432e
mov ecx, dword [esp + 0x48]
lea eax, [esp + 0x28]
push eax
push ecx
lea ecx, [esp + 0x48]
call fcn.0048432e
mov eax, dword [esp + 0x48]
lea edx, [esp + 0x34]
push edx
push eax
lea ecx, [esp + 0x48]
call fcn.0048432e
mov edx, dword [esp + 0x48]
lea ecx, [esp + 0x24]
push ecx
push edx
lea ecx, [esp + 0x48]
call fcn.0048432e
mov ecx, dword [esp + 0x48]
lea eax, [esp + 0x30]
push eax
push ecx
lea ecx, [esp + 0x48]
call fcn.0048432e
lea ecx, [esp + 0x54]
call fcn.0048565c
lea ecx, [esp + 0x54]
call fcn.00485668
test eax, eax
je 0x421548
lea ecx, [esp + 0x54]
call fcn.00485686
mov ecx, dword [esp + 0x48]
test ecx, ecx
jle 0x421985
mov ebp, dword [esp + 0x88]
mov esi, 2
lea edi, [esi + 6]
mov edi, edi
lea eax, [esi - 2]
test eax, eax
jl 0x421a31
cmp eax, ecx
jge 0x421a31
mov edx, dword [esp + 0x44]
lea eax, [edi + edx - 8]
push eax
lea ecx, [esp + 0x24]
call dword [0x4a9558]
lea eax, [esi - 1]
test eax, eax
jl 0x421a31
cmp eax, dword [esp + 0x48]
jge 0x421a31
mov eax, dword [esp + 0x44]
lea eax, [edi + eax - 4]
push eax
lea ecx, [esp + 0x20]
call dword [0x4a9558]
test esi, esi
jl 0x421a31
cmp esi, dword [esp + 0x48]
jge 0x421a31
mov ecx, dword [esp + 0x44]
lea eax, [edi + ecx]
push eax
lea ecx, [esp + 0x30]
call dword [0x4a9558]
lea eax, [esi + 1]
test eax, eax
jl 0x421a31
cmp eax, dword [esp + 0x48]
jge 0x421a31
mov edx, dword [esp + 0x44]
lea eax, [edi + edx + 4]
push eax
lea ecx, [esp + 0x1c]
call dword [0x4a9558]
lea eax, [esi + 2]
test eax, eax
jl 0x421a31
cmp eax, dword [esp + 0x48]
jge 0x421a31
mov eax, dword [esp + 0x44]
lea eax, [edi + eax + 8]
push eax
lea ecx, [esp + 0x2c]
call dword [0x4a9558]
lea eax, [esi + 3]
test eax, eax
jl 0x421a31
cmp eax, dword [esp + 0x48]
jge 0x421a31
mov ecx, dword [esp + 0x44]
lea eax, [edi + ecx + 0xc]
push eax
lea ecx, [esp + 0x38]
call dword [0x4a9558]
lea eax, [esi + 4]
test eax, eax
jl 0x421a31
cmp eax, dword [esp + 0x48]
jge 0x421a31
mov edx, dword [esp + 0x44]
lea eax, [edi + edx + 0x10]
push eax
lea ecx, [esp + 0x28]
call dword [0x4a9558]
lea eax, [esi + 5]
test eax, eax
jl 0x421a31
cmp eax, dword [esp + 0x48]
jge 0x421a31
mov eax, dword [esp + 0x44]
lea eax, [edi + eax + 0x14]
push eax
lea ecx, [esp + 0x34]
call dword [0x4a9558]
push 0x4ab550
lea ecx, [esp + 0x2c]
call dword [0x4a9568]
test eax, eax
je 0x421970
cmp dword [esp + 0x84], 0
je 0x421889
push ebp
push str.multiUpgrade
lea ecx, [esp + 0x2c]
call dword [0x4a957c]
push eax
lea ecx, [esp + 0x38]
call dword [0x4a957c]
push eax
lea ecx, [esp + 0x2c]
call dword [0x4a957c]
push eax
lea ecx, [esp + 0x2c]
call dword [0x4a957c]
push eax
call fcn.004559d0
add esp, 0x18
test eax, eax
je 0x421a28
push 0x4aa428
lea ecx, [esp + 0x3c]
call dword [0x4a9568]
test eax, eax
jne 0x421970
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x18]
push ecx
push edx
lea eax, [esp + 0x1c]
push 0x4b95c8
push eax
call ebx
add esp, 0x10
push 1
lea ecx, [esp + 0x18]
push ecx
jmp 0x421961
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
push edx
push eax
lea ecx, [esp + 0x1c]
push str.select_top_1__from_studentDetail_where_studentId_s_and_classId_s_and_insTblNamemultiUpgrade_and_isPayIn
push ecx
call ebx
add esp, 0x10
push 1
push 1
push 1
push 0
lea ecx, [esp + 0x24]
call dword [0x4a957c]
push eax
lea ecx, [esp + 0x68]
call fcn.0048566e
test eax, eax
lea ecx, [esp + 0x54]
je 0x42148e
call fcn.00485668
test eax, eax
jne 0x421902
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
push edx
push eax
lea ecx, [esp + 0x1c]
push str.delete_from_studentDetail_where_studentId_s_and_classId_s
push ecx
call ebx
add esp, 0x10
push 1
lea edx, [esp + 0x18]
push edx
mov ecx, ebp
call fcn.004856f8
test eax, eax
je 0x421a28
lea ecx, [esp + 0x20]
call dword [0x4a957c]
push eax
lea eax, [esp + 0x80]
push eax
call fcn.00455b80
add esp, 8
push eax
lea ecx, [esp + 0x40]
mov byte [esp + 0x78], 0xd
call dword [0x4a9558]
lea ecx, [esp + 0x7c]
mov byte [esp + 0x74], 0xc
call dword [0x4a95ac]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x3c]
push ecx
push edx
push eax
lea ecx, [esp + 0x20]
push str.update_studentDetail_set_state_s_where_studentId_s_and_classId_s
push ecx
call ebx
add esp, 0x14
push 1
lea edx, [esp + 0x18]
push edx
mov ecx, ebp
call fcn.004856f8
test eax, eax
je 0x421a28
mov ecx, dword [esp + 0x48]
add esi, 8
lea eax, [esi - 2]
add edi, 0x20
cmp eax, ecx
jl 0x4216b0
lea ecx, [esp + 0x54]
mov byte [esp + 0x74], 0xb
call fcn.00485638
lea ecx, [esp + 0x40]
mov byte [esp + 0x74], 0xa
call fcn.00483f68
lea ecx, [esp + 0x38]
call dword [0x4a95ac]
lea ecx, [esp + 0x3c]
call dword [0x4a95ac]
lea ecx, [esp + 0x30]
call dword [0x4a95ac]
lea ecx, [esp + 0x24]
call dword [0x4a95ac]
lea ecx, [esp + 0x34]
call dword [0x4a95ac]
lea ecx, [esp + 0x28]
call dword [0x4a95ac]
lea ecx, [esp + 0x18]
call dword [0x4a95ac]
lea ecx, [esp + 0x2c]
call dword [0x4a95ac]
lea ecx, [esp + 0x1c]
call dword [0x4a95ac]
lea ecx, [esp + 0x20]
call dword [0x4a95ac]
lea ecx, [esp + 0x14]
call dword [0x4a95ac]
mov eax, 1
mov ecx, dword [esp + 0x6c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x64
ret
lea ecx, [esp + 0x54]
jmp 0x42148e
jmp fcn.00483fb0